Home
last modified time | relevance | path

Searched refs:load (Results 1 – 25 of 25) sorted by relevance

/art/disassembler/
Ddisassembler_x86.cc204 bool load = false; // loads from memory (ie rm is on the right) in DumpInstruction() local
221 case r8_rm8: opcode << #opname; load = true; has_modrm = true; byte_operand = true; break; \ in DumpInstruction()
222 case r32_rm32: opcode << #opname; load = true; has_modrm = true; break; \ in DumpInstruction()
274 load = true; in DumpInstruction()
282 case 0x69: opcode << "imul"; load = true; has_modrm = true; immediate_bytes = 4; break; in DumpInstruction()
284 case 0x6B: opcode << "imul"; load = true; has_modrm = true; immediate_bytes = 1; break; in DumpInstruction()
302 case 0x8A: opcode << "mov"; load = true; has_modrm = true; byte_operand = true; break; in DumpInstruction()
303 case 0x8B: opcode << "mov"; load = true; has_modrm = true; break; in DumpInstruction()
323 load = *instr == 0x10; in DumpInstruction()
324 store = !load; in DumpInstruction()
[all …]
/art/compiler/optimizing/
Dssa_builder.cc132 void SsaBuilder::VisitLoadLocal(HLoadLocal* load) { in VisitLoadLocal() argument
133 load->ReplaceWith(current_locals_->Get(load->GetLocal()->GetRegNumber())); in VisitLoadLocal()
134 load->GetBlock()->RemoveInstruction(load); in VisitLoadLocal()
Dssa_builder.h51 void VisitLoadLocal(HLoadLocal* load);
Dcode_generator.cc185 HLoadLocal* load = input->AsLoadLocal(); in AllocateRegistersLocally() local
186 if (load != nullptr) { in AllocateRegistersLocally()
187 loc = GetStackLocation(load); in AllocateRegistersLocally()
Dcode_generator_arm.cc301 Location CodeGeneratorARM::GetStackLocation(HLoadLocal* load) const { in GetStackLocation()
302 switch (load->GetType()) { in GetStackLocation()
304 return Location::DoubleStackSlot(GetStackSlot(load->GetLocal())); in GetStackLocation()
309 return Location::StackSlot(GetStackSlot(load->GetLocal())); in GetStackLocation()
313 LOG(FATAL) << "Unimplemented type " << load->GetType(); in GetStackLocation()
320 LOG(FATAL) << "Unexpected type " << load->GetType(); in GetStackLocation()
689 void LocationsBuilderARM::VisitLoadLocal(HLoadLocal* load) { in VisitLoadLocal() argument
690 load->SetLocations(nullptr); in VisitLoadLocal()
693 void InstructionCodeGeneratorARM::VisitLoadLocal(HLoadLocal* load) { in VisitLoadLocal() argument
Dcode_generator_x86_64.h155 virtual Location GetStackLocation(HLoadLocal* load) const OVERRIDE;
Dcode_generator.h164 virtual Location GetStackLocation(HLoadLocal* load) const = 0;
Dcode_generator_arm.h157 virtual Location GetStackLocation(HLoadLocal* load) const OVERRIDE;
Dcode_generator_x86.h159 virtual Location GetStackLocation(HLoadLocal* load) const OVERRIDE;
Dcode_generator_x86_64.cc248 Location CodeGeneratorX86_64::GetStackLocation(HLoadLocal* load) const { in GetStackLocation()
249 switch (load->GetType()) { in GetStackLocation()
251 return Location::DoubleStackSlot(GetStackSlot(load->GetLocal())); in GetStackLocation()
256 return Location::StackSlot(GetStackSlot(load->GetLocal())); in GetStackLocation()
260 LOG(FATAL) << "Unimplemented type " << load->GetType(); in GetStackLocation()
267 LOG(FATAL) << "Unexpected type " << load->GetType(); in GetStackLocation()
441 void InstructionCodeGeneratorX86_64::VisitLoadLocal(HLoadLocal* load) { in VisitLoadLocal() argument
Dcode_generator_x86.cc276 Location CodeGeneratorX86::GetStackLocation(HLoadLocal* load) const { in GetStackLocation()
277 switch (load->GetType()) { in GetStackLocation()
279 return Location::DoubleStackSlot(GetStackSlot(load->GetLocal())); in GetStackLocation()
284 return Location::StackSlot(GetStackSlot(load->GetLocal())); in GetStackLocation()
288 LOG(FATAL) << "Unimplemented type " << load->GetType(); in GetStackLocation()
295 LOG(FATAL) << "Unexpected type " << load->GetType(); in GetStackLocation()
562 void InstructionCodeGeneratorX86::VisitLoadLocal(HLoadLocal* load) { in VisitLoadLocal() argument
/art/compiler/dex/quick/arm/
Dutility_arm.cc695 LIR* load; in LoadBaseIndexed() local
727 load = NewLIR3(opcode, r_dest.GetReg(), reg_ptr.GetReg(), 0); in LoadBaseIndexed()
729 return load; in LoadBaseIndexed()
751 load = NewLIR3(opcode, r_dest.GetReg(), r_base.GetReg(), r_index.GetReg()); in LoadBaseIndexed()
753 load = NewLIR4(opcode, r_dest.GetReg(), r_base.GetReg(), r_index.GetReg(), scale); in LoadBaseIndexed()
755 return load; in LoadBaseIndexed()
856 LIR* load = NULL; in LoadBaseDispBody() local
869 load = LoadStoreUsingInsnWithOffsetImm8Shl2(kThumb2Vldrd, r_base, displacement, r_dest); in LoadBaseDispBody()
873 load = LoadStoreUsingInsnWithOffsetImm8Shl2(kThumb2LdrdI8, r_base, displacement, r_dest, in LoadBaseDispBody()
885 load = LoadStoreUsingInsnWithOffsetImm8Shl2(kThumb2Vldrs, r_base, displacement, r_dest); in LoadBaseDispBody()
[all …]
/art/compiler/dex/quick/mips/
Dutility_mips.cc466 LIR *load = NULL; in LoadBaseDispBody() local
519 load = res = NewLIR3(opcode, r_dest.GetReg(), displacement, r_base.GetReg()); in LoadBaseDispBody()
521load = res = NewLIR3(opcode, r_dest.GetLowReg(), displacement + LOWORD_OFFSET, r_base.GetReg()); in LoadBaseDispBody()
528 load = NewLIR3(opcode, r_dest.GetLowReg(), LOWORD_OFFSET, r_tmp.GetReg()); in LoadBaseDispBody()
534 load = NewLIR3(opcode, r_dest.GetReg(), 0, r_tmp.GetReg()); in LoadBaseDispBody()
542 AnnotateDalvikRegAccess(load, (displacement + (pair ? LOWORD_OFFSET : 0)) >> 2, in LoadBaseDispBody()
549 return load; in LoadBaseDispBody()
563 LIR* load; in LoadBaseDisp() local
564 load = LoadBaseDispBody(r_base, displacement, r_dest, size); in LoadBaseDisp()
570 return load; in LoadBaseDisp()
/art/runtime/
Datomic.h196 return this->load(std::memory_order_relaxed); in PACKED()
204 return this->load(std::memory_order_relaxed); in PACKED()
210 return this->load(std::memory_order_seq_cst); in PACKED()
/art/compiler/dex/quick/x86/
Dutility_x86.cc636 LIR *load = NULL; in LoadBaseIndexedDisp() local
692 load = NewLIR3(opcode, r_dest.GetReg(), r_base.GetReg(), displacement + LOWORD_OFFSET); in LoadBaseIndexedDisp()
696 load = NewLIR3(opcode, r_dest.GetHighReg(), r_base.GetReg(), in LoadBaseIndexedDisp()
700 load = NewLIR3(opcode, r_dest.GetLowReg(), r_base.GetReg(), displacement + LOWORD_OFFSET); in LoadBaseIndexedDisp()
707 AnnotateDalvikRegAccess(load, (displacement + (pair ? LOWORD_OFFSET : 0)) >> 2, in LoadBaseIndexedDisp()
716 load = NewLIR5(opcode, r_dest.GetReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
724 load = NewLIR5(opcode, temp.GetReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
731 load = NewLIR5(opcode, r_dest.GetHighReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
740 load = NewLIR5(opcode, temp.GetReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
747 load = NewLIR5(opcode, r_dest.GetLowReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
[all …]
Dtarget_x86.cc1822 LIR *load = NewLIR2(opcode, reg, rl_method.reg.GetReg()); in AppendOpcodeWithConst() local
1823 load->flags.fixup = kFixupLoad; in AppendOpcodeWithConst()
1824 load->target = data_target; in AppendOpcodeWithConst()
/art/compiler/dex/quick/arm64/
Dutility_arm64.cc1026 LIR* load; in LoadBaseIndexed() local
1097 load = NewLIR3(opcode, r_dest.GetReg(), r_base.GetReg(), r_index.GetReg()); in LoadBaseIndexed()
1100 load = NewLIR4(opcode, r_dest.GetReg(), r_base.GetReg(), r_index.GetReg(), in LoadBaseIndexed()
1104 return load; in LoadBaseIndexed()
1199 LIR* load = NULL; in LoadBaseDispBody() local
1253 load = NewLIR3(opcode, r_dest.GetReg(), r_base.GetReg(), scaled_disp); in LoadBaseDispBody()
1256 load = NewLIR3(alt_opcode, r_dest.GetReg(), r_base.GetReg(), displacement); in LoadBaseDispBody()
1262 load = LoadBaseIndexed(r_base, r_scratch, r_dest, 0, size); in LoadBaseDispBody()
1269 AnnotateDalvikRegAccess(load, displacement >> 2, true /* is_load */, r_dest.Is64Bit()); in LoadBaseDispBody()
1271 return load; in LoadBaseDispBody()
[all …]
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S328 ldr ip, [sp, #24] @ load the result pointer
344 vldm r1, {s0-s31} @ load all fprs from argument fprs_
348 ldm r0, {r3-r13} @ load remaining gprs from argument gprs_
613 ldr r1, [r9, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
631 ldr r2, [r9, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
649 ldr r1, [r9, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
669 ldr r1, [r9, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
692 ldr r2, [r9, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
715 ldr r1, [r9, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
952 ldr r2, [r9, #THREAD_EXCEPTION_OFFSET] @ load Thread::Current()->exception_
[all …]
Dportable_entrypoints_arm.S59 ldr ip, [sp, #24] @ load the result pointer
124 ldr r0, [sp, #0] @ load resolved method in r0
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S234 lw $t0, THREAD_EXCEPTION_OFFSET(rSELF) # load Thread::Current()->exception_
1003 lw $a0, 0($sp) # load caller Method*
1004 lw $a0, METHOD_DEX_CACHE_METHODS_OFFSET($a0) # load dex_cache_resolved_methods
1007 lw $a0, OBJECT_ARRAY_DATA_OFFSET($a0) # load the target method
1020 lw $a0, 0($sp) # load resolved method to $a0
1039 lw $t0, THREAD_EXCEPTION_OFFSET(rSELF) # load Thread::Current()->exception_
/art/compiler/utils/arm/
Dassembler_thumb2.cc1245 bool load, in EmitLoadStore() argument
1295 (load ? B20 : 0) | in EmitLoadStore()
1319 (load ? B11 : 0); in EmitLoadStore()
1356 if (must_be_32bit || offset < 0 || offset >= (1 << 10) || !load) { in EmitLoadStore()
1363 int32_t encoding = 0x1f << 27 | 0xf << 16 | B22 | (load ? B20 : 0) | in EmitLoadStore()
1371 int32_t encoding = B14 | (load ? B11 : 0) | static_cast<uint32_t>(rd) << 8 | offset >> 2; in EmitLoadStore()
1383 int32_t encoding = 0x1f << 27 | (load ? B20 : 0) | static_cast<uint32_t>(rd) << 12 | in EmitLoadStore()
1393 int32_t encoding = B14 | B12 | (load ? B11 : 0) | static_cast<uint32_t>(rd) | in EmitLoadStore()
1409 bool load, in EmitMultiMemOp() argument
1443 if (load) { in EmitMultiMemOp()
[all …]
Dassembler_arm32.h297 bool load,
309 bool load,
Dassembler_arm32.cc544 bool load, in EmitMemOp() argument
564 (load ? L : 0) | in EmitMemOp()
573 (load ? L : 0) | in EmitMemOp()
600 bool load, in EmitMultiMemOp() argument
608 (load ? L : 0) | in EmitMultiMemOp()
Dassembler_thumb2.h365 bool load,
379 bool load,
/art/compiler/dex/quick/
Dgen_common.cc208 LIR* load = Load32Disp(reg, 0, tmp); in ForceImplicitNullCheck() local
210 MarkSafepointPC(load); in ForceImplicitNullCheck()
1268 SlowPath(Mir2Lir* m2l, LIR* fromfast, LIR* cont, bool load): in GenCheckCast() argument
1269 LIRSlowPath(m2l, m2l->GetCurrentDexPc(), fromfast, cont), load_(load) { in GenCheckCast()