Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/ARM/
DMLxExpansionPass.cpp95 MachineInstr *DefMI = MRI->getVRegDef(Reg); in getAccDefMI()
102 DefMI = MRI->getVRegDef(Reg); in getAccDefMI()
108 DefMI = MRI->getVRegDef(Reg); in getAccDefMI()
149 MachineInstr *DefMI = MRI->getVRegDef(Reg); in hasLoopHazard()
160 DefMI = MRI->getVRegDef(SrcReg); in hasLoopHazard()
168 DefMI = MRI->getVRegDef(Reg); in hasLoopHazard()
174 DefMI = MRI->getVRegDef(Reg); in hasLoopHazard()
DA15SDOptimizer.cpp163 MachineInstr *MI = MRI->getVRegDef(SReg); in getPrefSPRLane()
262 MachineInstr *DPRMI = MRI->getVRegDef(MI->getOperand(1).getReg()); in optimizeSDPattern()
263 MachineInstr *SPRMI = MRI->getVRegDef(MI->getOperand(2).getReg()); in optimizeSDPattern()
314 MachineInstr *Def = MRI->getVRegDef(OpReg); in optimizeSDPattern()
357 MachineInstr *Def = MRI->getVRegDef(MI->getOperand(1).getReg()); in elideCopies()
386 MachineInstr *NewMI = MRI->getVRegDef(Reg); in elideCopiesAndPHIs()
394 MachineInstr *NewMI = MRI->getVRegDef(MI->getOperand(1).getReg()); in elideCopiesAndPHIs()
631 MachineInstr *Def = MRI->getVRegDef(*I); in runOnInstruction()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp417 MachineInstr *DI = MRI->getVRegDef(PhiOpReg); in findInductionRegister()
427 if (MRI->getVRegDef(IndReg) == Phi && checkForImmediate(Opnd2, V)) { in findInductionRegister()
445 MachineInstr *PredI = MRI->getVRegDef(PredR); in findInductionRegister()
481 IVOp = MRI->getVRegDef(F->first); in findInductionRegister()
570 MachineInstr *IV_Phi = MRI->getVRegDef(IVReg); in getLoopTripCount()
616 MachineInstr *CondI = MRI->getVRegDef(PredReg); in getLoopTripCount()
664 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount()
667 OldInsts.push_back(MRI->getVRegDef(R)); in getLoopTripCount()
671 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount()
674 OldInsts.push_back(MRI->getVRegDef(R)); in getLoopTripCount()
[all …]
DHexagonGenPredicate.cpp213 MachineInstr *DefI = MRI->getVRegDef(Reg.R); in processPredicateGPR()
236 MachineInstr *DefI = MRI->getVRegDef(Reg.R); in getPredRegFor()
311 const MachineInstr *DefI = MRI->getVRegDef(PR.R); in isScalarPred()
DHexagonGenInsert.cpp987 const MachineInstr *DefI = MRI->getVRegDef(R); in findRemovableRegisters()
1042 MachineInstr *DefVR = MRI->getVRegDef(VR); in pruneCoveredSets()
1124 const MachineInstr *DefV = MRI->getVRegDef(VR); in pruneUsesTooFar()
1128 const MachineInstr *DefS = MRI->getVRegDef(SR); in pruneUsesTooFar()
1129 const MachineInstr *DefI = MRI->getVRegDef(IR); in pruneUsesTooFar()
1316 const MachineInstr *DefI = MRI->getVRegDef(I->first); in selectCandidates()
1381 MachineInstr *MI = MRI->getVRegDef(I->first); in generateInserts()
1415 MachineInstr *DefI = MRI->getVRegDef(I->first); in generateInserts()
DHexagonSplitDouble.cpp226 MachineInstr *DefI = MRI->getVRegDef(R); in partitionRegisters()
394 MachineInstr *DefI = MRI->getVRegDef(DR); in isProfitable()
475 const MachineInstr *CmpI = MRI->getVRegDef(PR); in collectIndRegsForLoop()
477 CmpI = MRI->getVRegDef(CmpI->getOperand(1).getReg()); in collectIndRegsForLoop()
1114 MachineInstr *DefI = MRI->getVRegDef(DR); in splitPartition()
DHexagonEarlyIfConv.cpp386 const MachineInstr *DefI = MRI->getVRegDef(R); in usesUndefVReg()
446 MachineInstr *Def1 = MRI->getVRegDef(RO1.getReg()); in computePhiCost()
447 MachineInstr *Def3 = MRI->getVRegDef(RO3.getReg()); in computePhiCost()
DHexagonNewValueJump.cpp247 MachineInstr *def = MRI.getVRegDef(cmpOp2); in canCompareBeNewValueJump()
/external/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp124 MachineInstr *DefMI = MRI->getVRegDef(TrueReg1); in simplifyCode()
201 MachineInstr *MI = MRI->getVRegDef(SrcReg); in lookThruCopyLike()
DPPCVSXSwapRemoval.cpp554 MachineInstr *MI = MRI->getVRegDef(SrcReg); in lookThruCopyLike()
614 MachineInstr* DefMI = MRI->getVRegDef(Reg); in formWebs()
694 MachineInstr *DefMI = MRI->getVRegDef(UseReg); in recordUnoptimizableWebs()
750 MachineInstr *DefMI = MRI->getVRegDef(UseReg); in markSwapsForRemoval()
/external/llvm/lib/CodeGen/
DOptimizePHIs.cpp107 MachineInstr *SrcMI = MRI->getVRegDef(SrcReg); in IsSingleValuePHICycle()
114 SrcMI = MRI->getVRegDef(SrcMI->getOperand(1).getReg()); in IsSingleValuePHICycle()
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()
595 MarkVirtRegAliveInBlock(getVarInfo(*I),MRI->getVRegDef(*I)->getParent(), in runOnBlock()
659 if (VirtRegInfo[Reg].Kills[j] == MRI->getVRegDef(Reg)) in runOnMachineFunction()
731 const MachineInstr *Def = MRI.getVRegDef(Reg); in isLiveIn()
DMachineSink.cpp174 MachineInstr *DefMI = MRI->getVRegDef(SrcReg); in INITIALIZE_PASS_DEPENDENCY()
393 MachineInstr *DefMI = MRI->getVRegDef(Reg); in isWorthBreakingCriticalEdge()
DMachineSSAUpdater.cpp324 return InstrIsPHI(Updater->MRI->getVRegDef(Val)); in ValueIsPHI()
DMachineTraceMetrics.cpp761 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg); in computeCrossBlockCriticalPath()
1004 unsigned &Height = Heights[MTM.MRI->getVRegDef(LI.Reg)]; in computeInstrHeights()
1108 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg); in computeInstrHeights()
DMachineRegisterInfo.cpp305 MachineInstr *MachineRegisterInfo::getVRegDef(unsigned Reg) const { in getVRegDef() function in MachineRegisterInfo
DMachineLICM.cpp924 assert(MRI->getVRegDef(Reg) && in IsLoopInvariantInst()
929 if (CurLoop->contains(MRI->getVRegDef(Reg))) in IsLoopInvariantInst()
DPHIElimination.cpp395 if (MachineInstr *DefMI = MRI->getVRegDef(SrcReg)) in LowerPHINode()
DPeepholeOptimizer.cpp357 Def = MRI.getVRegDef(Reg); in ValueTracker()
1940 Def = MRI.getVRegDef(Reg); in getNextSource()
DMachineCSE.cpp133 MachineInstr *DefMI = MRI->getVRegDef(Reg); in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegStackify.cpp95 MachineInstr *Def = MRI.getVRegDef(Reg); in ImposeStackOrdering()
169 MachineInstr *Def = MRI.getVRegDef(Reg); in runOnMachineFunction()
DWebAssemblyLowerBrUnless.cpp75 MachineInstr *Def = MRI.getVRegDef(Cond); in runOnMachineFunction()
/external/llvm/lib/Target/NVPTX/
DNVPTXReplaceImageHandles.cpp140 MachineInstr &TexHandleDef = *MRI.getVRegDef(Op.getReg()); in findIndexForHandle()
/external/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp261 MachineInstr *DefMI = MRI.getVRegDef(Reg); in isCallViaRegister()
/external/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp543 MachineBasicBlock::iterator DefMI = MRI->getVRegDef(Reg); in canFoldIntoRegPush()

12