Lines Matching refs:instr_ptr

98 void DisassemblerArm::DumpBranchTarget(std::ostream& os, const uint8_t* instr_ptr, int32_t imm32) {  in DumpBranchTarget()  argument
99 os << StringPrintf("%+d (", imm32) << FormatInstructionPointer(instr_ptr + imm32) << ")"; in DumpBranchTarget()
248 void DisassemblerArm::DumpArm(std::ostream& os, const uint8_t* instr_ptr) { in DumpArm() argument
249 uint32_t instruction = ReadU32(instr_ptr); in DumpArm()
353 DumpBranchTarget(args, instr_ptr + 8, imm32); in DumpArm()
363 os << FormatInstructionPointer(instr_ptr) in DumpArm()
421 void DumpThumb2Literal(std::ostream& args, const uint8_t* instr_ptr, uint32_t U, uint32_t imm32, in DumpThumb2Literal() argument
431 uintptr_t pc = RoundDown(reinterpret_cast<intptr_t>(instr_ptr) + 4, 4); in DumpThumb2Literal()
471 size_t DisassemblerArm::DumpThumb32(std::ostream& os, const uint8_t* instr_ptr) { in DumpThumb32() argument
472 uint32_t instr = (ReadU16(instr_ptr) << 16) | ReadU16(instr_ptr + 2); in DumpThumb32()
482 return DumpThumb16(os, instr_ptr); in DumpThumb32()
827 DumpThumb2Literal(args, instr_ptr, U, imm8 << 2, kT2LitHexLong); in DumpThumb32()
1139 DumpBranchTarget(args, instr_ptr + 4, (op3 == 0) ? imm12 : -imm12); in DumpThumb32()
1210 DumpBranchTarget(args, instr_ptr + 4, imm32); in DumpThumb32()
1260 DumpBranchTarget(args, instr_ptr + 4, imm32); in DumpThumb32()
1287 DumpBranchTarget(args, instr_ptr + 4, imm32); in DumpThumb32()
1402 DumpThumb2Literal(args, instr_ptr, U, imm12, lit_type[op2 >> 1]); in DumpThumb32()
1549 os << FormatInstructionPointer(instr_ptr) in DumpThumb32()
1555 size_t DisassemblerArm::DumpThumb16(std::ostream& os, const uint8_t* instr_ptr) { in DumpThumb16() argument
1556 uint16_t instr = ReadU16(instr_ptr); in DumpThumb16()
1559 return DumpThumb32(os, instr_ptr); in DumpThumb16()
1746 DumpBranchTarget(args, instr_ptr + 4, (imm8 << 1)); in DumpThumb16()
1781 DumpBranchTarget(args, instr_ptr + 4, imm32); in DumpThumb16()
1887 DumpBranchTarget(args, instr_ptr + 4, imm32); in DumpThumb16()
1896 os << FormatInstructionPointer(instr_ptr) in DumpThumb16()