Lines Matching refs:Instr
144 Instr* pc = reinterpret_cast<Instr*>(pc_); in PatchCode()
145 Instr* instr = reinterpret_cast<Instr*>(instructions); in PatchCode()
239 const Instr kPopInstruction =
244 const Instr kPushRegPattern =
248 const Instr kPopRegPattern =
251 const Instr kMovLrPc = al | MOV | kRegister_pc_Code | kRegister_lr_Code * B12;
253 const Instr kLdrPCMask = kCondMask | 15 * B24 | 7 * B20 | 15 * B16;
254 const Instr kLdrPCPattern = al | 5 * B24 | L | kRegister_pc_Code * B16;
256 const Instr kBlxRegMask =
258 const Instr kBlxRegPattern =
260 const Instr kBlxIp = al | kBlxRegPattern | ip.code();
261 const Instr kMovMvnMask = 0x6d * B21 | 0xf * B16;
262 const Instr kMovMvnPattern = 0xd * B21;
263 const Instr kMovMvnFlip = B22;
264 const Instr kMovLeaveCCMask = 0xdff * B16;
265 const Instr kMovLeaveCCPattern = 0x1a0 * B16;
266 const Instr kMovwMask = 0xff * B20;
267 const Instr kMovwPattern = 0x30 * B20;
268 const Instr kMovwLeaveCCFlip = 0x5 * B21;
269 const Instr kCmpCmnMask = 0xdd * B20 | 0xf * B12;
270 const Instr kCmpCmnPattern = 0x15 * B20;
271 const Instr kCmpCmnFlip = B21;
272 const Instr kAddSubFlip = 0x6 * B21;
273 const Instr kAndBicFlip = 0xe * B21;
276 const Instr kLdrRegFpOffsetPattern =
278 const Instr kStrRegFpOffsetPattern =
280 const Instr kLdrRegFpNegOffsetPattern =
282 const Instr kStrRegFpNegOffsetPattern =
284 const Instr kLdrStrInstrTypeMask = 0xffff0000;
285 const Instr kLdrStrInstrArgumentMask = 0x0000ffff;
286 const Instr kLdrStrOffsetMask = 0x00000fff;
377 Condition Assembler::GetCondition(Instr instr) { in GetCondition()
382 bool Assembler::IsBranch(Instr instr) { in IsBranch()
387 int Assembler::GetBranchOffset(Instr instr) { in GetBranchOffset()
395 bool Assembler::IsLdrRegisterImmediate(Instr instr) { in IsLdrRegisterImmediate()
400 int Assembler::GetLdrRegisterImmediateOffset(Instr instr) { in GetLdrRegisterImmediateOffset()
408 Instr Assembler::SetLdrRegisterImmediateOffset(Instr instr, int offset) { in SetLdrRegisterImmediateOffset()
420 bool Assembler::IsStrRegisterImmediate(Instr instr) { in IsStrRegisterImmediate()
425 Instr Assembler::SetStrRegisterImmediateOffset(Instr instr, int offset) { in SetStrRegisterImmediateOffset()
437 bool Assembler::IsAddRegisterImmediate(Instr instr) { in IsAddRegisterImmediate()
442 Instr Assembler::SetAddRegisterImmediateOffset(Instr instr, int offset) { in SetAddRegisterImmediateOffset()
451 Register Assembler::GetRd(Instr instr) { in GetRd()
458 Register Assembler::GetRn(Instr instr) { in GetRn()
465 Register Assembler::GetRm(Instr instr) { in GetRm()
472 bool Assembler::IsPush(Instr instr) { in IsPush()
477 bool Assembler::IsPop(Instr instr) { in IsPop()
482 bool Assembler::IsStrRegFpOffset(Instr instr) { in IsStrRegFpOffset()
487 bool Assembler::IsLdrRegFpOffset(Instr instr) { in IsLdrRegFpOffset()
492 bool Assembler::IsStrRegFpNegOffset(Instr instr) { in IsStrRegFpNegOffset()
497 bool Assembler::IsLdrRegFpNegOffset(Instr instr) { in IsLdrRegFpNegOffset()
502 bool Assembler::IsLdrPcImmediateOffset(Instr instr) { in IsLdrPcImmediateOffset()
509 bool Assembler::IsTstImmediate(Instr instr) { in IsTstImmediate()
515 bool Assembler::IsCmpRegister(Instr instr) { in IsCmpRegister()
521 bool Assembler::IsCmpImmediate(Instr instr) { in IsCmpImmediate()
527 Register Assembler::GetCmpImmediateRegister(Instr instr) { in GetCmpImmediateRegister()
533 int Assembler::GetCmpImmediateRawImmediate(Instr instr) { in GetCmpImmediateRawImmediate()
554 Instr instr = instr_at(pos); in target_at()
571 Instr instr = instr_at(pos); in target_at_put()
605 Instr instr = instr_at(l.pos()); in print()
708 static Instr EncodeMovwImmediate(uint32_t immediate) { in EncodeMovwImmediate()
721 Instr* instr) { in fits_shifter()
754 Instr alu_insn = (*instr & kALUMask); in fits_shifter()
793 bool Operand::is_single_instruction(Instr instr) const { in is_single_instruction()
826 void Assembler::addrmod1(Instr instr, in addrmod1()
885 void Assembler::addrmod2(Instr instr, Register rd, const MemOperand& x) { in addrmod2()
917 void Assembler::addrmod3(Instr instr, Register rd, const MemOperand& x) { in addrmod3()
956 void Assembler::addrmod4(Instr instr, Register rn, RegList rl) { in addrmod4()
964 void Assembler::addrmod5(Instr instr, CRegister crd, const MemOperand& x) { in addrmod5()
1377 Instr instr; in msr()
1509 emit(reinterpret_cast<Instr>(msg)); in stop()
2151 static Instr EncodeVCVT(const VFPType dst_type, in EncodeVCVT()
2401 bool Assembler::IsNop(Instr instr, int type) { in IsNop()
2632 Instr instr = instr_at(rinfo.pc()); in CheckConstPool()