equal
deleted
inserted
replaced
262 |
262 |
263 virtual bool array_copy_requires_gc_barriers(bool tightly_coupled_alloc, BasicType type, bool is_clone, ArrayCopyPhase phase) const { return false; } |
263 virtual bool array_copy_requires_gc_barriers(bool tightly_coupled_alloc, BasicType type, bool is_clone, ArrayCopyPhase phase) const { return false; } |
264 virtual void clone_at_expansion(PhaseMacroExpand* phase, ArrayCopyNode* ac) const; |
264 virtual void clone_at_expansion(PhaseMacroExpand* phase, ArrayCopyNode* ac) const; |
265 |
265 |
266 // Support for GC barriers emitted during parsing |
266 // Support for GC barriers emitted during parsing |
267 virtual bool has_load_barriers() const { return false; } |
267 virtual bool has_load_barrier_nodes() const { return false; } |
268 virtual bool is_gc_barrier_node(Node* node) const { return false; } |
268 virtual bool is_gc_barrier_node(Node* node) const { return false; } |
269 virtual Node* step_over_gc_barrier(Node* c) const { return c; } |
269 virtual Node* step_over_gc_barrier(Node* c) const { return c; } |
270 virtual Node* step_over_gc_barrier_ctrl(Node* c) const { return c; } |
270 virtual Node* step_over_gc_barrier_ctrl(Node* c) const { return c; } |
271 |
271 |
272 // Support for macro expanded GC barriers |
272 // Support for macro expanded GC barriers |
285 virtual bool optimize_loops(PhaseIdealLoop* phase, LoopOptsMode mode, VectorSet& visited, Node_Stack& nstack, Node_List& worklist) const { return false; } |
285 virtual bool optimize_loops(PhaseIdealLoop* phase, LoopOptsMode mode, VectorSet& visited, Node_Stack& nstack, Node_List& worklist) const { return false; } |
286 virtual bool strip_mined_loops_expanded(LoopOptsMode mode) const { return false; } |
286 virtual bool strip_mined_loops_expanded(LoopOptsMode mode) const { return false; } |
287 virtual bool is_gc_specific_loop_opts_pass(LoopOptsMode mode) const { return false; } |
287 virtual bool is_gc_specific_loop_opts_pass(LoopOptsMode mode) const { return false; } |
288 |
288 |
289 virtual bool has_special_unique_user(const Node* node) const { return false; } |
289 virtual bool has_special_unique_user(const Node* node) const { return false; } |
290 virtual bool needs_anti_dependence_check(const Node* node) const { return true; } |
|
291 |
|
292 virtual void barrier_insertion_phase(Compile* C, PhaseIterGVN &igvn) const { } |
|
293 |
290 |
294 enum CompilePhase { |
291 enum CompilePhase { |
295 BeforeOptimize, |
292 BeforeOptimize, |
296 BeforeLateInsertion, |
|
297 BeforeMacroExpand, |
293 BeforeMacroExpand, |
298 BeforeCodeGen |
294 BeforeCodeGen |
299 }; |
295 }; |
300 |
296 |
301 virtual bool flatten_gc_alias_type(const TypePtr*& adr_type) const { return false; } |
297 virtual bool flatten_gc_alias_type(const TypePtr*& adr_type) const { return false; } |
318 virtual void ccp_analyze(PhaseCCP* ccp, Unique_Node_List& worklist, Node* use) const { } |
314 virtual void ccp_analyze(PhaseCCP* ccp, Unique_Node_List& worklist, Node* use) const { } |
319 |
315 |
320 virtual Node* split_if_pre(PhaseIdealLoop* phase, Node* n) const { return NULL; } |
316 virtual Node* split_if_pre(PhaseIdealLoop* phase, Node* n) const { return NULL; } |
321 virtual bool build_loop_late_post(PhaseIdealLoop* phase, Node* n) const { return false; } |
317 virtual bool build_loop_late_post(PhaseIdealLoop* phase, Node* n) const { return false; } |
322 virtual bool sink_node(PhaseIdealLoop* phase, Node* n, Node* x, Node* x_ctrl, Node* n_ctrl) const { return false; } |
318 virtual bool sink_node(PhaseIdealLoop* phase, Node* n, Node* x, Node* x_ctrl, Node* n_ctrl) const { return false; } |
|
319 |
|
320 virtual void late_barrier_analysis() const { } |
|
321 virtual int estimate_stub_size() const { return 0; } |
|
322 virtual void emit_stubs(CodeBuffer& cb) const { } |
323 }; |
323 }; |
324 |
324 |
325 #endif // SHARE_GC_SHARED_C2_BARRIERSETC2_HPP |
325 #endif // SHARE_GC_SHARED_C2_BARRIERSETC2_HPP |