Searched refs:index_opr (Results 1 - 3 of 3) sorted by relevance

/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dc1_LIRGenerator_sparc.cpp192 LIR_Address* LIRGenerator::emit_array_address(LIR_Opr array_opr, LIR_Opr index_opr, argument
200 if (index_opr->is_constant()) {
201 int i = index_opr->as_constant_ptr()->as_jint();
217 if (index_opr->type() == T_INT) {
219 __ convert(Bytecodes::_i2l, index_opr, tmp);
220 index_opr = tmp;
225 assert (index_opr->is_register(), "Must be register");
227 __ shift_left(index_opr, shift, base_opr);
230 __ add(index_opr, array_opr, base_opr);
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dc1_LIRGenerator_x86.cpp162 LIR_Address* LIRGenerator::emit_array_address(LIR_Opr array_opr, LIR_Opr index_opr, argument
167 if (index_opr->is_constant()) {
170 offset_in_bytes + index_opr->as_jint() * elem_size, type);
173 if (index_opr->type() == T_INT) {
175 __ convert(Bytecodes::_i2l, index_opr, tmp);
176 index_opr = tmp;
180 index_opr,
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_LIRGenerator.hpp347 LIR_Address* emit_array_address(LIR_Opr array_opr, LIR_Opr index_opr, BasicType type, bool needs_card_mark);

Completed in 65 milliseconds