Home
last modified time | relevance | path

Searched refs:instr (Results 1 – 16 of 16) sorted by relevance

/art/disassembler/
Ddisassembler_arm.cc200 explicit FpRegister(uint32_t instr, uint16_t at_bit, uint16_t extra_at_bit) { in FpRegister()
201 size = (instr >> 8) & 1; in FpRegister()
202 uint32_t Vn = (instr >> at_bit) & 0xF; in FpRegister()
203 uint32_t N = (instr >> extra_at_bit) & 1; in FpRegister()
206 explicit FpRegister(uint32_t instr, uint16_t at_bit, uint16_t extra_at_bit, in FpRegister()
209 uint32_t Vn = (instr >> at_bit) & 0xF; in FpRegister()
210 uint32_t N = (instr >> extra_at_bit) & 1; in FpRegister()
224 explicit FpRegisterRange(uint32_t instr) in FpRegisterRange()
225 : first(instr, 12, 22), imm8(instr & 0xFF) {} in FpRegisterRange()
440 uint32_t instr = (ReadU16(instr_ptr) << 16) | ReadU16(instr_ptr + 2); in DumpThumb32() local
[all …]
Ddisassembler_x86.cc156 size_t DisassemblerX86::DumpInstruction(std::ostream& os, const uint8_t* instr) { in DumpInstruction() argument
157 const uint8_t* begin_instr = instr; in DumpInstruction()
162 switch (*instr) { in DumpInstruction()
167 prefix[0] = *instr; in DumpInstruction()
176 prefix[1] = *instr; in DumpInstruction()
180 prefix[2] = *instr; in DumpInstruction()
184 prefix[3] = *instr; in DumpInstruction()
191 instr++; in DumpInstruction()
194 uint8_t rex = (supports_rex_ && (*instr >= 0x40) && (*instr <= 0x4F)) ? *instr : 0; in DumpInstruction()
196 instr++; in DumpInstruction()
[all …]
Ddisassembler_arm.h35 void DumpArm(std::ostream& os, const uint8_t* instr);
38 size_t DumpThumb16(std::ostream& os, const uint8_t* instr);
Ddisassembler_x86.h34 size_t DumpInstruction(std::ostream& os, const uint8_t* instr);
/art/compiler/sea_ir/code_gen/
Dcode_gen.cc119 std::string instr = instruction->GetInstruction()->DumpString(NULL); in Visit() local
124 std::string instr = instruction->GetInstruction()->DumpString(NULL); in Visit() local
125 std::cout << "1.Instruction: " << instr << std::endl; in Visit()
131 std::string instr = instruction->GetInstruction()->DumpString(NULL); in Visit() local
132 std::cout << "1.Instruction: " << instr << std::endl; in Visit()
137 std::string instr = instruction->GetInstruction()->DumpString(NULL); in Visit() local
138 std::cout << "2.Instruction: " << instr << std::endl; in Visit()
144 std::string instr = instruction->GetInstruction()->DumpString(NULL); in Visit() local
145 std::cout << "3.Instruction: " << instr << std::endl; in Visit()
177 std::string instr = instruction->GetInstruction()->DumpString(NULL); in Visit() local
[all …]
/art/runtime/
Dcommon_throws.cc370 const Instruction* instr = Instruction::At(&code->insns_[throw_dex_pc]); in ThrowNullPointerExceptionFromDexPC() local
371 switch (instr->Opcode()) { in ThrowNullPointerExceptionFromDexPC()
373 ThrowNullPointerExceptionForMethodAccess(throw_location, instr->VRegB_35c(), kDirect); in ThrowNullPointerExceptionFromDexPC()
376 ThrowNullPointerExceptionForMethodAccess(throw_location, instr->VRegB_3rc(), kDirect); in ThrowNullPointerExceptionFromDexPC()
379 ThrowNullPointerExceptionForMethodAccess(throw_location, instr->VRegB_35c(), kVirtual); in ThrowNullPointerExceptionFromDexPC()
382 ThrowNullPointerExceptionForMethodAccess(throw_location, instr->VRegB_3rc(), kVirtual); in ThrowNullPointerExceptionFromDexPC()
385 ThrowNullPointerExceptionForMethodAccess(throw_location, instr->VRegB_35c(), kInterface); in ThrowNullPointerExceptionFromDexPC()
388 ThrowNullPointerExceptionForMethodAccess(throw_location, instr->VRegB_3rc(), kInterface); in ThrowNullPointerExceptionFromDexPC()
415 Runtime::Current()->GetClassLinker()->ResolveField(instr->VRegC_22c(), in ThrowNullPointerExceptionFromDexPC()
446 Runtime::Current()->GetClassLinker()->ResolveField(instr->VRegC_22c(), in ThrowNullPointerExceptionFromDexPC()
[all …]
/art/compiler/optimizing/
Dgraph_test.cc31 HInstruction* instr = new (allocator) HIntConstant(4); in createIfBlock() local
32 if_block->AddInstruction(instr); in createIfBlock()
33 HInstruction* equal = new (allocator) HEqual(instr, instr); in createIfBlock()
35 instr = new (allocator) HIf(equal); in createIfBlock()
36 if_block->AddInstruction(instr); in createIfBlock()
Dcode_generator_x86_64.h88 virtual void Visit##name(H##name* instr);
106 virtual void Visit##name(H##name* instr);
Dcode_generator_x86.h91 virtual void Visit##name(H##name* instr);
109 virtual void Visit##name(H##name* instr);
Dcode_generator_arm.h90 virtual void Visit##name(H##name* instr);
108 virtual void Visit##name(H##name* instr);
Dnodes.h1565 virtual void Visit##name(H##name* instr) { VisitInstruction(instr); }
/art/runtime/arch/arm/
Dfault_handler_arm.cc44 uint16_t instr = pc[0] | pc[1] << 8; in GetInstructionSize() local
45 bool is_32bit = ((instr & 0xF000) == 0xF000) || ((instr & 0xF800) == 0xE800); in GetInstructionSize()
/art/runtime/entrypoints/portable/
Dportable_trampoline_entrypoints.cc332 const Instruction* instr = Instruction::At(&code->insns_[dex_pc]); in artPortableResolutionTrampoline() local
333 Instruction::Code instr_code = instr->Opcode(); in artPortableResolutionTrampoline()
376 LOG(FATAL) << "Unexpected call into trampoline: " << instr->DumpString(NULL); in artPortableResolutionTrampoline()
381 uint32_t dex_method_idx = (is_range) ? instr->VRegB_3rc() : instr->VRegB_35c(); in artPortableResolutionTrampoline()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc723 const Instruction* instr = Instruction::At(&code->insns_[dex_pc]); in artQuickResolutionTrampoline() local
724 Instruction::Code instr_code = instr->Opcode(); in artQuickResolutionTrampoline()
768 LOG(FATAL) << "Unexpected call into trampoline: " << instr->DumpString(NULL); in artQuickResolutionTrampoline()
773 dex_method_idx = (is_range) ? instr->VRegB_3rc() : instr->VRegB_35c(); in artQuickResolutionTrampoline()
1910 const Instruction* instr = Instruction::At(&code->insns_[dex_pc]); in artInvokeInterfaceTrampoline() local
1911 Instruction::Code instr_code = instr->Opcode(); in artInvokeInterfaceTrampoline()
1914 << "Unexpected call into interface trampoline: " << instr->DumpString(NULL); in artInvokeInterfaceTrampoline()
1917 dex_method_idx = instr->VRegB_35c(); in artInvokeInterfaceTrampoline()
1920 dex_method_idx = instr->VRegB_3rc(); in artInvokeInterfaceTrampoline()
/art/compiler/utils/arm/
Dassembler_thumb2.cc2262 int Thumb2Assembler::DecodeBranchOffset(int32_t instr) { in DecodeBranchOffset() argument
2264 if ((instr & B12) == B12) { in DecodeBranchOffset()
2265 uint32_t S = (instr >> 26) & 1; in DecodeBranchOffset()
2266 uint32_t J2 = (instr >> 11) & 1; in DecodeBranchOffset()
2267 uint32_t J1 = (instr >> 13) & 1; in DecodeBranchOffset()
2268 uint32_t imm10 = (instr >> 16) & 0x3FF; in DecodeBranchOffset()
2269 uint32_t imm11 = instr & 0x7FF; in DecodeBranchOffset()
2276 uint32_t S = (instr >> 26) & 1; in DecodeBranchOffset()
2277 uint32_t J2 = (instr >> 11) & 1; in DecodeBranchOffset()
2278 uint32_t J1 = (instr >> 13) & 1; in DecodeBranchOffset()
[all …]
/art/runtime/interpreter/
Dinterpreter.cc513 const Instruction* instr = Instruction::At(&code_item->insns_[dex_pc]); in EnterInterpreterFromDeoptimize() local
514 new_dex_pc = dex_pc + instr->SizeInCodeUnits(); // the dex pc of the next instruction. in EnterInterpreterFromDeoptimize()