Lines Matching refs:regalloc
33 #include "opto/regalloc.hpp"
107 void compute_reach( PhaseRegAlloc *regalloc, int max_reg, Dict *safehash );
119 OopMap *build_oop_map( Node *n, int max_reg, PhaseRegAlloc *regalloc, int* live );
124 void OopFlow::compute_reach( PhaseRegAlloc *regalloc, int max_reg, Dict *safehash ) {
135 n->as_MachSafePoint()->set_oop_map( build_oop_map(n,max_reg,regalloc, live) );
142 OptoReg::Name first = regalloc->get_reg_first(n);
143 OptoReg::Name second = regalloc->get_reg_second(n);
150 OptoReg::Name old_first = regalloc->get_reg_first(n->in(idx));
151 OptoReg::Name old_second = regalloc->get_reg_second(n->in(idx));
159 assert( _callees[first] == _callees[regalloc->get_reg_first(n->in(1))], "" );
160 assert( _callees[second] == _callees[regalloc->get_reg_second(n->in(1))], "" );
161 assert( _callees[first] == _callees[regalloc->get_reg_first(n->in(n->req()-1))], "" );
162 assert( _callees[second] == _callees[regalloc->get_reg_second(n->in(n->req()-1))], "" );
170 regalloc->_matcher.is_save_on_entry(first) )
173 regalloc->_matcher.is_save_on_entry(second) )
228 OopMap *OopFlow::build_oop_map( Node *n, int max_reg, PhaseRegAlloc *regalloc, int* live ) {
229 int framesize = regalloc->_framesize;
230 int max_inarg_slot = OptoReg::reg2stack(regalloc->_matcher._new_SP);
276 regalloc->C->record_method_not_compilable("illegal oopMap register name");
320 int breg = regalloc->get_reg_first(base);
347 regalloc->C->record_method_not_compilable("illegal oopMap register name");
417 static void do_liveness( PhaseRegAlloc *regalloc, PhaseCFG *cfg, Block_List *worklist, int max_reg_ints, Arena *A, Dict *safehash ) {
421 // On CISC platforms, get the node representing the stack pointer that regalloc
459 int first = regalloc->get_reg_first(n);
460 int second = regalloc->get_reg_second(n);
478 int first = regalloc->get_reg_first(def);
479 int second = regalloc->get_reg_second(def);
504 int stack_reg = regalloc->offset2reg(offset);