Home
last modified time | relevance | path

Searched refs:getRegNum (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInstX8664.cpp250 assert(RegX8664::getEncodedGPR(Eax->getRegNum()) == Encoded_rAX); in InstX86Cmpxchg()
260 assert(Edx->getRegNum() == RegisterSet::Reg_edx); in InstX86Cmpxchg8b()
261 assert(Eax->getRegNum() == RegisterSet::Reg_eax); in InstX86Cmpxchg8b()
262 assert(Ecx->getRegNum() == RegisterSet::Reg_ecx); in InstX86Cmpxchg8b()
263 assert(Ebx->getRegNum() == RegisterSet::Reg_ebx); in InstX86Cmpxchg8b()
533 Asm->jmp(RegX8664::getEncodedGPR(Var->getRegNum())); in emitIAS()
592 Asm->call(RegX8664::getEncodedGPR(Var->getRegNum())); in emitIAS()
648 GPRRegister VarReg = RegX8664::getEncodedGPR(Var->getRegNum()); in emitIASOpTyGPR()
669 GPRRegister VarReg = VarCanBeByte ? RegX8664::getEncodedGPR(Var->getRegNum()) in emitIASRegOpTyGPR()
670 : RegX8664::getEncodedGPR(Var->getRegNum()); in emitIASRegOpTyGPR()
[all …]
DIceInstX8632.cpp262 assert(RegX8632::getEncodedGPR(Eax->getRegNum()) == Encoded_rAX); in InstX86Cmpxchg()
272 assert(Edx->getRegNum() == RegisterSet::Reg_edx); in InstX86Cmpxchg8b()
273 assert(Eax->getRegNum() == RegisterSet::Reg_eax); in InstX86Cmpxchg8b()
274 assert(Ecx->getRegNum() == RegisterSet::Reg_ecx); in InstX86Cmpxchg8b()
275 assert(Ebx->getRegNum() == RegisterSet::Reg_ebx); in InstX86Cmpxchg8b()
546 Asm->jmp(RegX8632::getEncodedGPR(Var->getRegNum())); in emitIAS()
605 Asm->call(RegX8632::getEncodedGPR(Var->getRegNum())); in emitIAS()
661 GPRRegister VarReg = RegX8632::getEncodedGPR(Var->getRegNum()); in emitIASOpTyGPR()
682 GPRRegister VarReg = VarCanBeByte ? RegX8632::getEncodedGPR(Var->getRegNum()) in emitIASRegOpTyGPR()
683 : RegX8632::getEncodedGPR(Var->getRegNum()); in emitIASRegOpTyGPR()
[all …]
DIceCfgNode.cpp379 const auto RegNum1 = Var1->getRegNum(); in sameVarOrReg()
380 const auto RegNum2 = Var2->getRegNum(); in sameVarOrReg()
975 const auto RegNum = Var->getRegNum(); in emitRegisterUsage()
986 return unsigned(V1->getRegNum()) < unsigned(V2->getRegNum()); in emitRegisterUsage()
1013 ++LiveRegCount[Dest->getRegNum()]; in emitLiveRangesEnded()
1018 SizeT NewCount = --LiveRegCount[Var->getRegNum()]; in emitLiveRangesEnded()
1110 ++LiveRegCount[Dest->getRegNum()]; in emit()
1112 --LiveRegCount[llvm::cast<Variable>(I.getSrc(0))->getRegNum()]; in emit()
1183 << Func->getTarget()->getRegName(Var->getRegNum(), in dump()
1209 << Func->getTarget()->getRegName(Var->getRegNum(), in dump()
DIceRegAlloc.cpp134 Var->setRegNumTmp(Var->getRegNum()); in initForGlobal()
261 Var->setRegNumTmp(Var->getRegNum()); in initForInfOnly()
313 Var->setRegNumTmp(Var->getRegNum()); in initForSecondChance()
604 *RegAliases[Item->getRegNum()]; // Note: not getRegNumTmp() in filterFreeWithPrecoloredRanges()
621 const auto RegNum = Cur->getRegNum(); in allocatePrecoloredRegister()
796 Str << (AssignedRegNum == Item->getRegNum() ? "Reassigning " in assignFinalRegisters()
DIceTargetLoweringMIPS32.cpp1126 Str << '$' << getRegName(Var->getRegNum(), Var->getType()); in emitVariable()
1630 if (RegMIPS32::isFPRReg(Var->getRegNum())) in addProlog()
1634 auto *PhysicalRegister = makeReg(RegType, Var->getRegNum()); in addProlog()
1754 if (RegMIPS32::isFPRReg((*RIter)->getRegNum())) in addEpilog()
1758 auto *PhysicalRegister = makeReg(RegType, (*RIter)->getRegNum()); in addEpilog()
1815 IceType_f32, RegMIPS32::get64PairFirstRegNum(SrcV->getRegNum())); in legalizeMovFp()
1818 IceType_f32, RegMIPS32::get64PairSecondRegNum(SrcV->getRegNum())); in legalizeMovFp()
1848 const bool IsDstGPR = RegMIPS32::isGPRReg(Dest->getRegNum()); in legalizeMov()
1849 const bool IsSrcGPR = RegMIPS32::isGPRReg(SrcR->getRegNum()); in legalizeMov()
1850 const RegNumT SRegNum = SrcR->getRegNum(); in legalizeMov()
[all …]
DIceInstARM32.cpp1363 const auto Base = BaseReg->getRegNum(); in emitSRegsAsText()
1391 return RegNumT::fixme(Before->getRegNum() + 1) == After->getRegNum(); in isAssignedConsecutiveRegisters()
1411 RegARM32::getEncodedGPR(Var->getRegNum()); in emitUsingForm()
1562 const auto SrcReg = Src->getRegNum(); in getDRegister()
1619 const auto SrcReg = Src->getRegNum(); in getSRegister()
1750 Asm->vmovqir(Dest->asType(Func, DestTy, Dest->getRegNum()), in emitIAS()
1752 Src->asType(Func, SrcTy, Src->getRegNum()), getPredicate()); in emitIAS()
2640 assert(LR->getRegNum() == RegARM32::Reg_lr); in emit()
DIceTargetLoweringARM32.cpp397 RegNumT::fixme(RegARM32::getI64PairFirstGPRNum(Var->getRegNum())); in copyRegAllocFromInfWeightVariable64On32()
1077 Str << getRegName(Var->getRegNum(), Var->getType()); in emitVariable()
1602 Base->getRegNum() == Target->getFrameOrStackReg(); in newBaseRegister()
1659 assert(TempBaseReg->getRegNum() == Target->getReservedTmpReg()); in resetTempBaseIfClobberedBy()
1664 Dest->getRegNum() == TempBaseReg->getRegNum()) { in resetTempBaseIfClobberedBy()
1708 const int32_t ExtraOffset = (Var->getRegNum() == Target->getFrameReg()) in legalizeMov()
1713 Variable *Base = Target->getPhysicalRegister(Var->getRegNum()); in legalizeMov()
1714 Variable *T = newBaseRegister(Base, Offset, Dest->getRegNum()); in legalizeMov()
1782 const int32_t ExtraOffset = (Base->getRegNum() == Target->getFrameReg()) in legalizeMemOperand()
1786 Base = Target->getPhysicalRegister(Base->getRegNum()); in legalizeMemOperand()
[all …]
DIceCfg.cpp1036 Src0Var->getRegNum(), Src0Var->getStackOffset() + Src1Imm->getValue()); in rematerializeArithmetic()
1052 Instr->getDest()->setRematerializable(Src0Var->getRegNum(), in rematerializeAssign()
1073 Dest->setRematerializable(Src0Var->getRegNum(), Src0Var->getStackOffset()); in rematerializeCast()
DIceInst.cpp1029 if (Dest->hasReg() && Dest->getRegNum() == SrcVar->getRegNum()) { in checkForRedundantAssign()
DIceOperand.h741 bool hasReg() const { return getRegNum().hasValue(); } in hasReg()
742 RegNumT getRegNum() const { return RegNum; } in getRegNum() function
DIceInstMIPS32.cpp334 assert(RA->getRegNum() == RegMIPS32::Reg_RA); in emit()
519 assert(RA->getRegNum() == RegMIPS32::Reg_RA); in emitIAS()
DIceOperand.cpp228 const auto RegNum = getRegNum(); in getRematerializableOffset()
DIceAssemblerMIPS32.cpp127 const auto Reg = Var->getRegNum(); in getEncodedGPRegNum()
133 const auto Reg = Var->getRegNum(); in getEncodedFPRegNum()
DIceAssemblerX8632.cpp97 SetBaseIndex(RegX8632::getEncodedGPR(Mem->getBase()->getRegNum()), in AsmAddress()
98 RegX8632::getEncodedGPR(Mem->getIndex()->getRegNum()), in AsmAddress()
101 SetBase(RegX8632::getEncodedGPR(Mem->getBase()->getRegNum()), Disp, Fixup); in AsmAddress()
103 SetIndex(RegX8632::getEncodedGPR(Mem->getIndex()->getRegNum()), in AsmAddress()
DIceAssemblerX8664.cpp88 SetBaseIndex(RegX8664::getEncodedGPR(Mem->getBase()->getRegNum()), in AsmAddress()
89 RegX8664::getEncodedGPR(Mem->getIndex()->getRegNum()), in AsmAddress()
92 SetBase(RegX8664::getEncodedGPR(Mem->getBase()->getRegNum()), Disp, Fixup); in AsmAddress()
94 SetIndex(RegX8664::getEncodedGPR(Mem->getIndex()->getRegNum()), in AsmAddress()
DIceAssemblerARM32.cpp180 const auto Reg = Var->getRegNum(); in getEncodedGPRegNum()
187 return RegARM32::getEncodedSReg(Var->getRegNum()); in getEncodedSRegNum()
191 return RegARM32::getEncodedDReg(Var->getRegNum()); in getEncodedDRegNum()
195 return RegARM32::getEncodedQReg(Var->getRegNum()); in getEncodedQRegNum()
DIceTargetLowering.cpp777 RegsUsed[Var->getRegNum()] = true; in getVarStackSlotParams()
DIceTargetLoweringX8632.cpp799 Str << "%" << getRegName(Var->getRegNum(), Var->getType()); in emitVariable()
5563 if (Var->getRegNum() == getStackReg()) in doMockBoundsCheck()
6298 SrcLegal = legalize(Src, Legal_Reg, Dest->getRegNum()); in lowerMove()
7235 assert(Slot->getRegNum().hasNoValue()); in getMemoryOperandForStackSlot()
7451 (RegNum.hasValue() && RegNum != Var->getRegNum())) { in legalize()
7881 _push_reg(ECX->getRegNum()); in emitStackProbe()
7891 _pop_reg(ECX->getRegNum()); in emitStackProbe()
DIceTargetLoweringX8664.cpp809 Str << "%" << getRegName(Var->getRegNum(), Var->getType()); in emitVariable()
4973 if (Var->getRegNum() == getStackReg()) in doMockBoundsCheck()
5686 SrcLegal = legalize(Src, Legal_Reg, Dest->getRegNum()); in lowerMove()
6497 assert(Slot->getRegNum().hasNoValue()); in getMemoryOperandForStackSlot()
6723 (RegNum.hasValue() && RegNum != Var->getRegNum())) { in legalize()
DIceTargetLoweringARM32.h1019 TempBaseReg->getRegNum() == Target->getReservedTmpReg()); in assertNoTempOrAssignedToIP()
DIceInstX8632.h1136 const auto SrcReg = SrcVar->getRegNum(); in isRedundantAssign()
1137 const auto DestReg = this->Dest->getRegNum(); in isRedundantAssign()
DIceInstX8664.h1075 const auto SrcReg = SrcVar->getRegNum(); in isRedundantAssign()
1076 const auto DestReg = this->Dest->getRegNum(); in isRedundantAssign()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp2069 static bool getRegNum(StringRef Str, unsigned& Num) { in getRegNum() function
2094 if (getRegNum(RegSuffix, Num)) in isRegister()
2200 if (!getRegNum(RegSuffix, RegNum)) in ParseRegularReg()