Home
last modified time | relevance | path

Searched refs:getVRegDef (Results 1 – 25 of 73) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFMIPeephole.cpp100 MachineInstr *DefInsn = MRI->getVRegDef(Reg); in isCopyFrom32Def()
115 MachineInstr *PhiDef = MRI->getVRegDef(opnd.getReg()); in isPhiFrom32Def()
154 MachineInstr *DefInsn = MRI->getVRegDef(MovMI->getOperand(1).getReg()); in isMovFrom32Def()
189 MachineInstr *SllMI = MRI->getVRegDef(ShfReg); in eliminateZExtSeq()
203 MachineInstr *MovMI = MRI->getVRegDef(SllMI->getOperand(1).getReg()); in eliminateZExtSeq()
429 MI2 = MRI->getVRegDef(SrcReg); in eliminateTruncSeq()
439 DefMI = MRI->getVRegDef(SrcReg); in eliminateTruncSeq()
446 DefMI = MRI->getVRegDef(SrcReg); in eliminateTruncSeq()
472 MachineInstr *PhiDef = MRI->getVRegDef(opnd.getReg()); in eliminateTruncSeq()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp157 return MRI->getVRegDef(Reg); in getVRegDefOrNull()
353 MachineInstr *DefMI = MRI->getVRegDef(TrueReg1); in simplifyCode()
370 MachineInstr *LoadMI = MRI->getVRegDef(FeedReg1); in simplifyCode()
463 MachineInstr *DefMI = MRI->getVRegDef(TrueReg); in simplifyCode()
473 MachineInstr *Splt = MRI->getVRegDef(ConvReg); in simplifyCode()
526 MachineInstr *DefMI = MRI->getVRegDef(TrueReg); in simplifyCode()
538 MachineInstr *P1 = MRI->getVRegDef(DefsReg1); in simplifyCode()
539 MachineInstr *P2 = MRI->getVRegDef(DefsReg2); in simplifyCode()
587 MachineInstr *SrcMI = MRI->getVRegDef(NarrowReg); in simplifyCode()
631 MachineInstr *SrcMI = MRI->getVRegDef(NarrowReg); in simplifyCode()
[all …]
DPPCBranchCoalescing.cpp362 MachineInstr *Op1Def = MRI->getVRegDef(Op1.getReg()); in identicalOperands()
363 MachineInstr *Op2Def = MRI->getVRegDef(Op2.getReg()); in identicalOperands()
462 MachineInstr *DefInst = MRI->getVRegDef(Use.getReg()); in canMoveToEnd()
DPPCVSXSwapRemoval.cpp557 MachineInstr *MI = MRI->getVRegDef(SrcReg); in lookThruCopyLike()
617 MachineInstr* DefMI = MRI->getVRegDef(Reg); in formWebs()
699 MachineInstr *DefMI = MRI->getVRegDef(UseReg); in recordUnoptimizableWebs()
776 MachineInstr *DefMI = MRI->getVRegDef(UseReg); in markSwapsForRemoval()
DPPCReduceCRLogicals.cpp68 MachineInstr *DefMI = MRI->getVRegDef(MI.getOperand(i - 1).getReg()); in updatePHIs()
541 MachineInstr *Copy = MRI->getVRegDef(Reg); in lookThroughCRCopy()
565 return MRI->getVRegDef(CopySrc); in lookThroughCRCopy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMLxExpansionPass.cpp94 MachineInstr *DefMI = MRI->getVRegDef(Reg); in getAccDefMI()
101 DefMI = MRI->getVRegDef(Reg); in getAccDefMI()
107 DefMI = MRI->getVRegDef(Reg); in getAccDefMI()
146 MachineInstr *DefMI = MRI->getVRegDef(Reg); in hasLoopHazard()
157 DefMI = MRI->getVRegDef(SrcReg); in hasLoopHazard()
165 DefMI = MRI->getVRegDef(Reg); in hasLoopHazard()
171 DefMI = MRI->getVRegDef(Reg); in hasLoopHazard()
DA15SDOptimizer.cpp157 MachineInstr *MI = MRI->getVRegDef(SReg); in getPrefSPRLane()
251 MachineInstr *DPRMI = MRI->getVRegDef(MI->getOperand(1).getReg()); in optimizeSDPattern()
252 MachineInstr *SPRMI = MRI->getVRegDef(MI->getOperand(2).getReg()); in optimizeSDPattern()
303 MachineInstr *Def = MRI->getVRegDef(OpReg); in optimizeSDPattern()
346 MachineInstr *Def = MRI->getVRegDef(MI->getOperand(1).getReg()); in elideCopies()
375 MachineInstr *NewMI = MRI->getVRegDef(Reg); in elideCopiesAndPHIs()
383 MachineInstr *NewMI = MRI->getVRegDef(MI->getOperand(1).getReg()); in elideCopiesAndPHIs()
606 MachineInstr *Def = MRI->getVRegDef(*I); in runOnInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp440 MachineInstr *DI = MRI->getVRegDef(PhiOpReg); in findInductionRegister()
448 if (MRI->getVRegDef(IndReg) == Phi && checkForImmediate(Opnd2, V)) { in findInductionRegister()
466 MachineInstr *PredI = MRI->getVRegDef(PredR); in findInductionRegister()
502 IVOp = MRI->getVRegDef(F->first); in findInductionRegister()
605 MachineInstr *IV_Phi = MRI->getVRegDef(IVReg); in getLoopTripCount()
651 MachineInstr *CondI = MRI->getVRegDef(PredReg); in getLoopTripCount()
699 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount()
705 OldInsts.push_back(MRI->getVRegDef(R)); in getLoopTripCount()
709 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount()
715 OldInsts.push_back(MRI->getVRegDef(R)); in getLoopTripCount()
[all …]
DHexagonVExtract.cpp78 MachineInstr *DI = MRI.getVRegDef(ExtIdxR); in genElemLoad()
149 MachineInstr *DefI = MRI.getVRegDef(VecR); in runOnMachineFunction()
183 MachineInstr *AlignaI = MRI.getVRegDef(AR); in runOnMachineFunction()
DHexagonGenPredicate.cpp233 MachineInstr *DefI = MRI->getVRegDef(Reg.R); in processPredicateGPR()
255 MachineInstr *DefI = MRI->getVRegDef(Reg.R); in getPredRegFor()
329 const MachineInstr *DefI = MRI->getVRegDef(PR.R); in isScalarPred()
DHexagonGenInsert.cpp1025 const MachineInstr *DefI = MRI->getVRegDef(R); in findRemovableRegisters()
1077 MachineInstr *DefVR = MRI->getVRegDef(VR); in pruneCoveredSets()
1158 const MachineInstr *DefV = MRI->getVRegDef(VR); in pruneUsesTooFar()
1162 const MachineInstr *DefS = MRI->getVRegDef(SR); in pruneUsesTooFar()
1163 const MachineInstr *DefI = MRI->getVRegDef(IR); in pruneUsesTooFar()
1351 const MachineInstr *DefI = MRI->getVRegDef(I->first); in selectCandidates()
1415 MachineInstr *MI = MRI->getVRegDef(I->first); in generateInserts()
1449 MachineInstr *DefI = MRI->getVRegDef(I->first); in generateInserts()
DHexagonSplitDouble.cpp235 MachineInstr *DefI = MRI->getVRegDef(R); in partitionRegisters()
405 const MachineInstr *DefI = MRI->getVRegDef(Reg); in profit()
427 MachineInstr *DefI = MRI->getVRegDef(DR); in isProfitable()
508 const MachineInstr *CmpI = MRI->getVRegDef(PR); in collectIndRegsForLoop()
510 CmpI = MRI->getVRegDef(CmpI->getOperand(1).getReg()); in collectIndRegsForLoop()
1139 MachineInstr *DefI = MRI->getVRegDef(DR); in splitPartition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizationArtifactCombiner.h63 markInstAndDefDead(MI, *MRI.getVRegDef(SrcReg), DeadInsts); in tryCombineAnyExt()
82 auto *SrcMI = MRI.getVRegDef(SrcReg); in tryCombineAnyExt()
120 markInstAndDefDead(MI, *MRI.getVRegDef(SrcReg), DeadInsts); in tryCombineZExt()
126 auto *SrcMI = MRI.getVRegDef(SrcReg); in tryCombineZExt()
162 markInstAndDefDead(MI, *MRI.getVRegDef(SrcReg), DeadInsts); in tryCombineSExt()
179 auto *SrcMI = MRI.getVRegDef(SrcReg); in tryCombineTrunc()
438 MachineInstr *MergeI = MRI.getVRegDef(SrcReg); in tryCombineExtract()
592 MachineInstr *TmpDef = MRI.getVRegDef(PrevRegSrc); in markInstAndDefDead()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DModuloSchedule.cpp400 int LoopValStage = Schedule.getStage(MRI.getVRegDef(LoopVal)); in generateExistingPhis()
451 MachineInstr *InstOp1 = MRI.getVRegDef(PhiOp1); in generateExistingPhis()
459 InstOp1 = MRI.getVRegDef(PhiOp1); in generateExistingPhis()
473 if (MachineInstr *InstOp1 = MRI.getVRegDef(PhiOp1)) in generateExistingPhis()
477 MachineInstr *PhiInst = MRI.getVRegDef(LoopVal); in generateExistingPhis()
644 if (MachineInstr *InstOp2 = MRI.getVRegDef(PhiOp2)) in generatePhis()
655 if (MachineInstr *InstOp1 = MRI.getVRegDef(PhiOp1)) { in generatePhis()
801 MachineInstr *MI = MRI.getVRegDef(LCDef); in splitLifetimes()
926 MachineInstr *BaseDef = MRI.getVRegDef(BaseReg); in computeDelta()
929 BaseDef = MRI.getVRegDef(BaseReg); in computeDelta()
[all …]
DLiveVariables.cpp133 assert(MRI->getVRegDef(reg) && "Register use before def!"); in HandleVirtRegUse()
168 if (MBB == MRI->getVRegDef(reg)->getParent()) return; in HandleVirtRegUse()
179 MarkVirtRegAliveInBlock(VRInfo, MRI->getVRegDef(reg)->getParent(), *PI); in HandleVirtRegUse()
594 MarkVirtRegAliveInBlock(getVarInfo(*I),MRI->getVRegDef(*I)->getParent(), in runOnBlock()
658 if (VirtRegInfo[Reg].Kills[j] == MRI->getVRegDef(Reg)) in runOnMachineFunction()
730 const MachineInstr *Def = MRI.getVRegDef(Reg); in isLiveIn()
DOptimizePHIs.cpp116 MachineInstr *SrcMI = MRI->getVRegDef(SrcReg); in IsSingleValuePHICycle()
123 SrcMI = MRI->getVRegDef(SrcReg); in IsSingleValuePHICycle()
DMIRVRegNamerUtils.cpp65 return MRI.getVRegDef(MO.getReg())->getOpcode(); in getInstructionOpcodeHash()
125 std::string Name = getInstructionOpcodeHash(*MRI.getVRegDef(VReg)); in createVirtualRegister()
DMachinePipeliner.cpp2071 MachineInstr *BaseDef = MRI.getVRegDef(BaseReg); in computeDelta()
2074 BaseDef = MRI.getVRegDef(BaseReg); in computeDelta()
2109 MachineInstr *Phi = MRI.getVRegDef(BaseReg); in canUseLastOffsetValue()
2118 MachineInstr *PrevDef = MRI.getVRegDef(PrevReg); in canUseLastOffsetValue()
2189 MachineInstr *Def = MRI.getVRegDef(Reg); in findDefInLoop()
2195 Def = MRI.getVRegDef(Def->getOperand(i).getReg()); in findDefInLoop()
2249 MachineInstr *Def = MRI.getVRegDef(BaseOpS->getReg()); in isLoopCarriedDep()
2255 MachineInstr *LoopDef = MRI.getVRegDef(LoopVal); in isLoopCarriedDep()
2600 SUnit *UseSU = SSD->getSUnit(MRI.getVRegDef(LoopVal)); in isLoopCarried()
2623 MachineInstr *Phi = MRI.getVRegDef(MO.getReg()); in isLoopCarriedDefOfUse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DInstructionSelector.cpp62 MachineInstr *RootI = MRI.getVRegDef(Root.getReg()); in isBaseWithConstantOffset()
67 MachineInstr *RHSI = MRI.getVRegDef(RHS.getReg()); in isBaseWithConstantOffset()
DUtils.cpp244 while ((MI = MRI.getVRegDef(VReg)) && !IsConstantOpcode(MI->getOpcode()) && in getConstantVRegValWithLookThrough()
297 MachineInstr *MI = MRI.getVRegDef(VReg); in getConstantFPVRegVal()
305 auto *DefMI = MRI.getVRegDef(Reg); in getDefIgnoringCopies()
314 DefMI = MRI.getVRegDef(SrcReg); in getDefIgnoringCopies()
391 const MachineInstr *DefMI = MRI.getVRegDef(Val); in isKnownNeverNaN()
DGISelKnownBits.cpp54 const MachineInstr &MI = *MRI.getVRegDef(R); in computeKnownBitsForFrameIndex()
93 MachineInstr &MI = *MRI.getVRegDef(R); in computeKnownBitsImpl()
316 MachineInstr *RHSMI = MRI.getVRegDef(MI.getOperand(2).getReg()); in computeKnownBitsImpl()
379 MachineInstr &MI = *MRI.getVRegDef(R); in computeNumSignBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVMergeBaseOffset.cpp146 MachineInstr &OffsetTail = *MRI->getVRegDef(Reg); in matchLargeOffset()
155 *MRI->getVRegDef(OffsetTail.getOperand(1).getReg()); in matchLargeOffset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp985 MachineInstr *CCMI = MRI.getVRegDef(CondReg); in selectCompareBranch()
987 CCMI = MRI.getVRegDef(CCMI->getOperand(1).getReg()); in selectCompareBranch()
1042 MachineInstr *OpMI = MRI.getVRegDef(Reg); in getVectorShiftImm()
1274 auto *AmtMI = MRI.getVRegDef(ShiftReg); in preISelLower()
1861 auto *PtrMI = MRI.getVRegDef(PtrReg); in select()
1872 PtrMI = MRI.getVRegDef(Ptr2Reg); in select()
3497 MachineInstr *CondDef = MRI.getVRegDef(I.getOperand(1).getReg()); in tryOptSelect()
3514 CondDef = MRI.getVRegDef(CondDef->getOperand(1).getReg()); in tryOptSelect()
4298 MachineInstr *OffsetInst = MRI.getVRegDef(Offset.getReg()); in selectExtendedSHL()
4365 MachineIRBuilder MIB(*MRI.getVRegDef(Root.getReg())); in selectExtendedSHL()
[all …]
DAArch64RegisterBankInfo.cpp700 MachineInstr *DefMI = MRI.getVRegDef(VReg); in getInstrMapping()
750 MachineInstr *DefMI = MRI.getVRegDef(VReg); in getInstrMapping()
824 MachineInstr *DefMI = MRI.getVRegDef(VReg); in getInstrMapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp642 MachineInstr *DefMI = MRI->getVRegDef(SrcReg); in runOnMachineFunction()
720 MachineInstr *DefMI = MRI->getVRegDef(MO->getReg()); in runOnMachineFunction()
813 MachineInstr *Def = MRI->getVRegDef(InputReg); in processPHINode()

123