< prev index next >

src/share/vm/c1/c1_GraphBuilder.hpp

Print this page




 355 
 356   // helpers
 357   void inline_bailout(const char* msg);
 358   BlockBegin* header_block(BlockBegin* entry, BlockBegin::Flag f, ValueStack* state);
 359   BlockBegin* setup_start_block(int osr_bci, BlockBegin* std_entry, BlockBegin* osr_entry, ValueStack* init_state);
 360   void setup_osr_entry_block();
 361   void clear_inline_bailout();
 362   ValueStack* state_at_entry();
 363   void push_root_scope(IRScope* scope, BlockList* bci2block, BlockBegin* start);
 364   void push_scope(ciMethod* callee, BlockBegin* continuation);
 365   void push_scope_for_jsr(BlockBegin* jsr_continuation, int jsr_dest_bci);
 366   void pop_scope();
 367   void pop_scope_for_jsr();
 368 
 369   void append_unsafe_get_obj(ciMethod* callee, BasicType t, bool is_volatile);
 370   void append_unsafe_put_obj(ciMethod* callee, BasicType t, bool is_volatile);
 371   void append_unsafe_get_raw(ciMethod* callee, BasicType t);
 372   void append_unsafe_put_raw(ciMethod* callee, BasicType t);
 373   void append_unsafe_CAS(ciMethod* callee);
 374   void append_unsafe_get_and_set_obj(ciMethod* callee, bool is_add);

 375 
 376   void print_inlining(ciMethod* callee, const char* msg = NULL, bool success = true);
 377 
 378   void profile_call(ciMethod* callee, Value recv, ciKlass* predicted_holder, Values* obj_args, bool inlined);
 379   void profile_return_type(Value ret, ciMethod* callee, ciMethod* m = NULL, int bci = -1);
 380   void profile_invocation(ciMethod* inlinee, ValueStack* state);
 381 
 382   // Shortcuts to profiling control.
 383   bool is_profiling()          { return _compilation->is_profiling();          }
 384   bool count_invocations()     { return _compilation->count_invocations();     }
 385   bool count_backedges()       { return _compilation->count_backedges();       }
 386   bool profile_branches()      { return _compilation->profile_branches();      }
 387   bool profile_calls()         { return _compilation->profile_calls();         }
 388   bool profile_inlined_calls() { return _compilation->profile_inlined_calls(); }
 389   bool profile_checkcasts()    { return _compilation->profile_checkcasts();    }
 390   bool profile_parameters()    { return _compilation->profile_parameters();    }
 391   bool profile_arguments()     { return _compilation->profile_arguments();     }
 392   bool profile_return()        { return _compilation->profile_return();        }
 393 
 394   Values* args_list_for_profiling(ciMethod* target, int& start, bool may_have_receiver);




 355 
 356   // helpers
 357   void inline_bailout(const char* msg);
 358   BlockBegin* header_block(BlockBegin* entry, BlockBegin::Flag f, ValueStack* state);
 359   BlockBegin* setup_start_block(int osr_bci, BlockBegin* std_entry, BlockBegin* osr_entry, ValueStack* init_state);
 360   void setup_osr_entry_block();
 361   void clear_inline_bailout();
 362   ValueStack* state_at_entry();
 363   void push_root_scope(IRScope* scope, BlockList* bci2block, BlockBegin* start);
 364   void push_scope(ciMethod* callee, BlockBegin* continuation);
 365   void push_scope_for_jsr(BlockBegin* jsr_continuation, int jsr_dest_bci);
 366   void pop_scope();
 367   void pop_scope_for_jsr();
 368 
 369   void append_unsafe_get_obj(ciMethod* callee, BasicType t, bool is_volatile);
 370   void append_unsafe_put_obj(ciMethod* callee, BasicType t, bool is_volatile);
 371   void append_unsafe_get_raw(ciMethod* callee, BasicType t);
 372   void append_unsafe_put_raw(ciMethod* callee, BasicType t);
 373   void append_unsafe_CAS(ciMethod* callee);
 374   void append_unsafe_get_and_set_obj(ciMethod* callee, bool is_add);
 375   void append_char_access(ciMethod* callee, bool is_store);
 376 
 377   void print_inlining(ciMethod* callee, const char* msg = NULL, bool success = true);
 378 
 379   void profile_call(ciMethod* callee, Value recv, ciKlass* predicted_holder, Values* obj_args, bool inlined);
 380   void profile_return_type(Value ret, ciMethod* callee, ciMethod* m = NULL, int bci = -1);
 381   void profile_invocation(ciMethod* inlinee, ValueStack* state);
 382 
 383   // Shortcuts to profiling control.
 384   bool is_profiling()          { return _compilation->is_profiling();          }
 385   bool count_invocations()     { return _compilation->count_invocations();     }
 386   bool count_backedges()       { return _compilation->count_backedges();       }
 387   bool profile_branches()      { return _compilation->profile_branches();      }
 388   bool profile_calls()         { return _compilation->profile_calls();         }
 389   bool profile_inlined_calls() { return _compilation->profile_inlined_calls(); }
 390   bool profile_checkcasts()    { return _compilation->profile_checkcasts();    }
 391   bool profile_parameters()    { return _compilation->profile_parameters();    }
 392   bool profile_arguments()     { return _compilation->profile_arguments();     }
 393   bool profile_return()        { return _compilation->profile_return();        }
 394 
 395   Values* args_list_for_profiling(ciMethod* target, int& start, bool may_have_receiver);


< prev index next >