Home
last modified time | relevance | path

Searched refs:GetRegNum (Results 1 – 11 of 11) sorted by relevance

/art/compiler/dex/quick/arm/
Dtarget_arm.cc145 ? ResourceMask::TwoBits(reg.GetRegNum() * 2 + kArmFPReg0) in GetRegMaskArm()
146 : ResourceMask::Bit(reg.IsSingle() ? reg.GetRegNum() + kArmFPReg0 : reg.GetRegNum()); in GetRegMaskArm()
305 reg_id = rs_rARM_LR.GetRegNum(); in DecodeRegList()
307 reg_id = rs_rARM_PC.GetRegNum(); in DecodeRegList()
580 int sp_reg_num = info->GetReg().GetRegNum(); in CompilerInitializeRegAlloc()
618 core_spill_mask_ |= (1 << rs_rARM_LR.GetRegNum()); in AdjustSpillMask()
629 DCHECK_GE(reg.GetRegNum(), ARM_FP_CALLEE_SAVE_BASE); in MarkPreservedSingle()
630 int adjusted_reg_num = reg.GetRegNum() - ARM_FP_CALLEE_SAVE_BASE; in MarkPreservedSingle()
645 int reg_num = reg.GetRegNum() << 1; in MarkPreservedDouble()
779 res = RegStorage::FloatSolo64(p->GetReg().GetRegNum() >> 1); in AllocPreservedDouble()
Dcall_arm.cc80 NewLIR2(kThumb2LdmiaWB, r_base.GetReg(), (1 << r_key.GetRegNum()) | (1 << r_disp.GetRegNum())); in GenLargeSparseSwitch()
486 if (core_spill_mask_ & (1 << rs_rARM_LR.GetRegNum())) { in GenExitSequence()
488 core_spill_mask_ &= ~(1 << rs_rARM_LR.GetRegNum()); in GenExitSequence()
489 core_spill_mask_ |= (1 << rs_rARM_PC.GetRegNum()); in GenExitSequence()
492 if (!(core_spill_mask_ & (1 << rs_rARM_PC.GetRegNum()))) { in GenExitSequence()
/art/compiler/dex/quick/mips/
Dtarget_mips.cc81 int reg_num = (reg.GetRegNum() & ~1) | RegStorage::kFloatingPoint; in Solo64ToPair64()
134 ? ResourceMask::TwoBits((reg.GetRegNum() & ~1) + kMipsFPReg0) in GetRegMaskCommon()
136 ? ResourceMask::TwoBits(reg.GetRegNum() * 2 + kMipsFPReg0) in GetRegMaskCommon()
138 : ResourceMask::Bit(reg.IsSingle() ? reg.GetRegNum() + kMipsFPReg0 : reg.GetRegNum()); in GetRegMaskCommon()
339 core_spill_mask_ |= (1 << rs_rRA.GetRegNum()); in AdjustSpillMask()
443 int sp_reg_num = info->GetReg().GetRegNum(); in CompilerInitializeRegAlloc()
/art/compiler/dex/
Dreg_storage.h256 constexpr int GetRegNum() const { in GetRegNum() function
262 return GetRegNum() < 8; in Low8()
267 return GetRegNum() < 4; in Low4()
/art/compiler/dex/quick/x86/
Dassemble_x86.cc657 if (has_sib || LowRegisterBits(raw_base) == rs_rX86_SP.GetRegNum() in ComputeSize()
663 if (displacement != 0 || LowRegisterBits(raw_base) == rs_rBP.GetRegNum()) { in ComputeSize()
723 return size - (RegStorage::RegNum(lir->operands[0]) == rs_rAX.GetRegNum() ? 1 : 0); in GetInsnSize()
761 DCHECK_EQ(rs_rCX.GetRegNum(), RegStorage::RegNum(lir->operands[1])); in GetInsnSize()
765 DCHECK_EQ(rs_rCX.GetRegNum(), RegStorage::RegNum(lir->operands[2])); in GetInsnSize()
768 DCHECK_EQ(rs_rCX.GetRegNum(), RegStorage::RegNum(lir->operands[4])); in GetInsnSize()
838 (RegStorage::RegNum(lir->operands[0]) == rs_rAX.GetRegNum() ? 1 : 0); in GetInsnSize()
848 if (disp == 0 && RegStorage::RegNum(base) != rs_rBP.GetRegNum()) { in ModrmForDisp()
971 if (disp == 0 && RegStorage::RegNum(base) != rs_rBP.GetRegNum()) { in EmitDisp()
986 uint8_t modrm = (0 << 6) | (reg_or_opcode << 3) | rs_rX86_SP.GetRegNum(); in EmitModrmThread()
[all …]
Dtarget_x86.cc246 ((reg.IsFloat() || reg.StorageSize() > 8) ? kX86FPReg0 : 0) + reg.GetRegNum()); in GetRegMaskCommon()
441 core_spill_mask_ |= (1 << rs_rRET.GetRegNum()); in AdjustSpillMask()
448 DCHECK_LT(reg.GetRegNum(), rs_rX86_SP.GetRegNum()); in AllocateByteRegister()
458 return cu_->target64 || reg.GetRegNum() < rs_rX86_SP.GetRegNum(); in IsByteRegister()
643 int sp_reg_num = info->GetReg().GetRegNum(); in CompilerInitializeRegAlloc()
664 int x_reg_num = info->GetReg().GetRegNum(); in CompilerInitializeRegAlloc()
696 uint32_t mask = core_spill_mask_ & ~(1 << rs_rRET.GetRegNum()); in SpillCoreRegs()
713 uint32_t mask = core_spill_mask_ & ~(1 << rs_rRET.GetRegNum()); in UnSpillCoreRegs()
1622 uint32_t mask = core_spill_mask_ & ~(1 << rs_rRET.GetRegNum()); in ReturnCallFrameInformation()
Dutility_x86.cc231 if (r_src2.GetRegNum() >= rs_rX86_SP.GetRegNum()) { in OpRegReg()
Dint_x86.cc317 (rl_src.location == kLocPhysReg && rl_src.reg.GetRegNum() == rl_result.reg.GetRegNum()); in GenSelect()
2633 if (result_reg.GetRegNum() == object_32reg.GetRegNum() || !IsByteRegister(result_reg)) { in GenInstanceofFinal()
/art/compiler/dex/quick/
Dralloc_util.cc148 info->GetReg().GetReg(), info->GetReg().GetRegNum(), info->GetReg().IsFloat() ? 'f' : 'c', in DumpRegPool()
275 int reg_num = reg.GetRegNum(); in RecordCorePromotion()
309 int reg_num = reg.GetRegNum(); in RecordFpPromotion()
367 DCHECK_EQ(info->GetReg().GetRegNum(), partner->Partner().GetRegNum()); in AllocTempBody()
393 DCHECK_EQ(info->GetReg().GetRegNum(), partner->Partner().GetRegNum()); in AllocTempBody()
/art/compiler/dex/quick/arm64/
Dtarget_arm64.cc155 (reg.IsFloat() ? kArm64FPReg0 : 0) + reg.GetRegNum()); in GetRegMaskCommon()
606 int fp_reg_num = info->GetReg().GetRegNum(); in CompilerInitializeRegAlloc()
620 int x_reg_num = info->GetReg().GetRegNum(); in CompilerInitializeRegAlloc()
645 core_spill_mask_ |= (1 << rs_xLR.GetRegNum()); in AdjustSpillMask()
Darm64_lir.h104 #define A64_REGSTORAGE_IS_SP_OR_ZR(rs) (((rs).GetRegNum() & 0x1f) == 0x1f)