Lines Matching defs:CallGenerator

34 //---------------------------CallGenerator-------------------------------------
38 class CallGenerator : public ResourceObj {
48 CallGenerator(ciMethod* method) : _method(method) {}
107 // If the result is NULL, it means that this CallGenerator was unable
108 // to handle the given call, and another CallGenerator should be consulted.
112 static CallGenerator* for_inline(ciMethod* m, float expected_uses = -1);
114 static CallGenerator* for_osr(ciMethod* m, int osr_bci);
117 static CallGenerator* for_direct_call(ciMethod* m, bool separate_io_projs = false); // static, special
118 static CallGenerator* for_virtual_call(ciMethod* m, int vtable_index); // virtual, interface
119 static CallGenerator* for_dynamic_call(ciMethod* m); // invokedynamic
121 static CallGenerator* for_method_handle_call( JVMState* jvms, ciMethod* caller, ciMethod* callee, bool delayed_forbidden);
122 static CallGenerator* for_method_handle_inline(JVMState* jvms, ciMethod* caller, ciMethod* callee, bool& input_not_const);
125 static CallGenerator* for_late_inline(ciMethod* m, CallGenerator* inline_cg);
126 static CallGenerator* for_mh_late_inline(ciMethod* caller, ciMethod* callee, bool input_not_const);
127 static CallGenerator* for_string_late_inline(ciMethod* m, CallGenerator* inline_cg);
130 static CallGenerator* for_warm_call(WarmCallInfo* ci,
131 CallGenerator* if_cold,
132 CallGenerator* if_hot);
135 static CallGenerator* for_predicted_call(ciKlass* predicted_receiver,
136 CallGenerator* if_missed,
137 CallGenerator* if_hit,
141 static CallGenerator* for_predicted_dynamic_call(ciMethodHandle* predicted_method_handle,
142 CallGenerator* if_missed,
143 CallGenerator* if_hit,
147 static CallGenerator* for_uncommon_trap(ciMethod* m,
152 static CallGenerator* for_intrinsic(ciMethod* m);
153 static void register_intrinsic(ciMethod* m, CallGenerator* cg);
154 static CallGenerator* for_predicted_intrinsic(CallGenerator* intrinsic,
155 CallGenerator* cg);
168 class InlineCallGenerator : public CallGenerator {
170 InlineCallGenerator(ciMethod* method) : CallGenerator(method) {}
185 CallGenerator* _hot_cg;// CG for expanding the call node
298 void set_hot_cg(CallGenerator* cg) { _hot_cg = cg; }