Home
last modified time | relevance | path

Searched refs:instr_ptr (Results 1 – 7 of 7) sorted by relevance

/external/vixl/src/aarch32/
Dlocation-aarch32.cc63 uint16_t* instr_ptr = in EncodeLocationFor() local
65 if (Is16BitEncoding(instr_ptr[0])) { in EncodeLocationFor()
68 uint32_t instr = static_cast<uint32_t>(instr_ptr[0]); in EncodeLocationFor()
72 instr_ptr[0] = static_cast<uint16_t>(instr); in EncodeLocationFor()
75 instr_ptr[1] | (static_cast<uint32_t>(instr_ptr[0]) << 16); in EncodeLocationFor()
77 instr_ptr[0] = static_cast<uint16_t>(instr >> 16); in EncodeLocationFor()
78 instr_ptr[1] = static_cast<uint16_t>(instr); in EncodeLocationFor()
81 uint32_t* instr_ptr = in EncodeLocationFor() local
83 instr_ptr[0] = encoder->Encode(instr_ptr[0], from, this); in EncodeLocationFor()
/external/v8/src/arm/
Dassembler-arm-inl.h379 uint32_t* instr_ptr = reinterpret_cast<uint32_t*>(pc); in set_target_address_at() local
381 instr_ptr[0] = PatchMovwImmediate(instr_ptr[0], immediate & 0xFFFF); in set_target_address_at()
382 instr_ptr[1] = PatchMovwImmediate(instr_ptr[1], immediate >> 16); in set_target_address_at()
395 uint32_t* instr_ptr = reinterpret_cast<uint32_t*>(pc); in set_target_address_at() local
397 instr_ptr[0] = PatchShiftImm(instr_ptr[0], immediate & kImm8Mask); in set_target_address_at()
398 instr_ptr[1] = PatchShiftImm(instr_ptr[1], immediate & (kImm8Mask << 8)); in set_target_address_at()
399 instr_ptr[2] = PatchShiftImm(instr_ptr[2], immediate & (kImm8Mask << 16)); in set_target_address_at()
400 instr_ptr[3] = PatchShiftImm(instr_ptr[3], immediate & (kImm8Mask << 24)); in set_target_address_at()
Ddisasm-arm.cc66 static bool IsConstantPoolAt(byte* instr_ptr);
67 static int ConstantPoolSizeAt(byte* instr_ptr);
2586 bool Decoder::IsConstantPoolAt(byte* instr_ptr) { in IsConstantPoolAt() argument
2587 int instruction_bits = *(reinterpret_cast<int*>(instr_ptr)); in IsConstantPoolAt()
2592 int Decoder::ConstantPoolSizeAt(byte* instr_ptr) { in ConstantPoolSizeAt() argument
2593 if (IsConstantPoolAt(instr_ptr)) { in ConstantPoolSizeAt()
2594 int instruction_bits = *(reinterpret_cast<int*>(instr_ptr)); in ConstantPoolSizeAt()
2603 int Decoder::InstructionDecode(byte* instr_ptr) { in InstructionDecode() argument
2604 Instruction* instr = Instruction::At(reinterpret_cast<Address>(instr_ptr)); in InstructionDecode()
2613 int instruction_bits = *(reinterpret_cast<int*>(instr_ptr)); in InstructionDecode()
/external/v8/src/ppc/
Ddisasm-ppc.cc1150 int Decoder::InstructionDecode(byte* instr_ptr) { in InstructionDecode() argument
1151 Instruction* instr = Instruction::At(instr_ptr); in InstructionDecode()
/external/v8/src/s390/
Ddisasm-s390.cc900 int Decoder::InstructionDecode(byte* instr_ptr) { in InstructionDecode() argument
901 Instruction* instr = Instruction::At(instr_ptr); in InstructionDecode()
/external/v8/src/mips/
Ddisasm-mips.cc2683 int Decoder::InstructionDecode(byte* instr_ptr) { in InstructionDecode() argument
2684 Instruction* instr = Instruction::At(instr_ptr); in InstructionDecode()
/external/v8/src/mips64/
Ddisasm-mips64.cc3001 int Decoder::InstructionDecode(byte* instr_ptr) { in InstructionDecode() argument
3002 Instruction* instr = Instruction::At(instr_ptr); in InstructionDecode()