Lines Matching defs:regnum
582 static LocationValue *new_loc_value( PhaseRegAlloc *ra, OptoReg::Name regnum, Location::Type l_type ) {
584 assert(OptoReg::is_valid(regnum), "location must be valid");
585 return (OptoReg::is_reg(regnum))
586 ? new LocationValue(Location::new_reg_loc(l_type, OptoReg::as_VMReg(regnum)) )
587 : new LocationValue(Location::new_stk_loc(l_type, ra->reg2offset(regnum)));
654 OptoReg::Name regnum = _regalloc->get_reg_first(local);
655 if( OptoReg::is_valid(regnum) ) {// Got a register/stack?
675 array->append(new_loc_value( _regalloc, regnum, Location::dbl ));
678 array->append(new_loc_value( _regalloc, regnum, Location::lng ));
682 array->append(new_loc_value( _regalloc, regnum, Location::lng ));
686 if (t->base() == Type::Long && OptoReg::is_reg(regnum)) {
689 array->append(new_loc_value( _regalloc, regnum , Location::normal ));
690 array->append(new_loc_value( _regalloc, OptoReg::add(regnum,1), Location::normal ));
701 array->append(new_loc_value( _regalloc, OptoReg::add(regnum,1), Location::normal ));
702 array->append(new_loc_value( _regalloc, regnum , Location::normal ));
706 OptoReg::is_reg(regnum) ) {
707 array->append(new_loc_value( _regalloc, regnum, Matcher::float_in_double()
709 } else if( t->base() == Type::Int && OptoReg::is_reg(regnum) ) {
710 array->append(new_loc_value( _regalloc, regnum, Matcher::int_in_long
713 array->append(new_loc_value( _regalloc, regnum, Location::narrowoop ));
715 array->append(new_loc_value( _regalloc, regnum, _regalloc->is_oop(local) ? Location::oop : Location::normal ));