Home
last modified time | relevance | path

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

123

/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.cpp160 MachineInstr *MI = MRI->getVRegDef(SReg); in getPrefSPRLane()
259 MachineInstr *DPRMI = MRI->getVRegDef(MI->getOperand(1).getReg()); in optimizeSDPattern()
260 MachineInstr *SPRMI = MRI->getVRegDef(MI->getOperand(2).getReg()); in optimizeSDPattern()
311 MachineInstr *Def = MRI->getVRegDef(OpReg); in optimizeSDPattern()
354 MachineInstr *Def = MRI->getVRegDef(MI->getOperand(1).getReg()); in elideCopies()
383 MachineInstr *NewMI = MRI->getVRegDef(Reg); in elideCopiesAndPHIs()
391 MachineInstr *NewMI = MRI->getVRegDef(MI->getOperand(1).getReg()); in elideCopiesAndPHIs()
620 MachineInstr *Def = MRI->getVRegDef(*I); in runOnInstruction()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp419 MachineInstr *DI = MRI->getVRegDef(PhiOpReg); in findInductionRegister()
429 if (MRI->getVRegDef(IndReg) == Phi && checkForImmediate(Opnd2, V)) { in findInductionRegister()
447 MachineInstr *PredI = MRI->getVRegDef(PredR); in findInductionRegister()
483 IVOp = MRI->getVRegDef(F->first); in findInductionRegister()
572 MachineInstr *IV_Phi = MRI->getVRegDef(IVReg); in getLoopTripCount()
618 MachineInstr *CondI = MRI->getVRegDef(PredReg); in getLoopTripCount()
666 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount()
669 OldInsts.push_back(MRI->getVRegDef(R)); in getLoopTripCount()
673 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount()
676 OldInsts.push_back(MRI->getVRegDef(R)); in getLoopTripCount()
[all …]
DHexagonGenPredicate.cpp211 MachineInstr *DefI = MRI->getVRegDef(Reg.R); in processPredicateGPR()
234 MachineInstr *DefI = MRI->getVRegDef(Reg.R); in getPredRegFor()
309 const MachineInstr *DefI = MRI->getVRegDef(PR.R); in isScalarPred()
DHexagonGenInsert.cpp985 const MachineInstr *DefI = MRI->getVRegDef(R); in findRemovableRegisters()
1040 MachineInstr *DefVR = MRI->getVRegDef(VR); in pruneCoveredSets()
1122 const MachineInstr *DefV = MRI->getVRegDef(VR); in pruneUsesTooFar()
1126 const MachineInstr *DefS = MRI->getVRegDef(SR); in pruneUsesTooFar()
1127 const MachineInstr *DefI = MRI->getVRegDef(IR); in pruneUsesTooFar()
1314 const MachineInstr *DefI = MRI->getVRegDef(I->first); in selectCandidates()
1379 MachineInstr *MI = MRI->getVRegDef(I->first); in generateInserts()
1413 MachineInstr *DefI = MRI->getVRegDef(I->first); in generateInserts()
DHexagonSplitDouble.cpp213 MachineInstr *DefI = MRI->getVRegDef(R); in partitionRegisters()
381 MachineInstr *DefI = MRI->getVRegDef(DR); in isProfitable()
462 const MachineInstr *CmpI = MRI->getVRegDef(PR); in collectIndRegsForLoop()
464 CmpI = MRI->getVRegDef(CmpI->getOperand(1).getReg()); in collectIndRegsForLoop()
1101 MachineInstr *DefI = MRI->getVRegDef(DR); in splitPartition()
DHexagonEarlyIfConv.cpp384 const MachineInstr *DefI = MRI->getVRegDef(R); in usesUndefVReg()
444 MachineInstr *Def1 = MRI->getVRegDef(RO1.getReg()); in computePhiCost()
445 MachineInstr *Def3 = MRI->getVRegDef(RO3.getReg()); in computePhiCost()
/external/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp126 MachineInstr *DefMI = MRI->getVRegDef(TrueReg1); in simplifyCode()
203 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()
770 MachineInstr *DefMI = MRI->getVRegDef(UseReg); in markSwapsForRemoval()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DOptimizePHIs.cpp103 MachineInstr *SrcMI = MRI->getVRegDef(SrcReg); in IsSingleValuePHICycle()
110 SrcMI = MRI->getVRegDef(SrcMI->getOperand(1).getReg()); in IsSingleValuePHICycle()
DLiveVariables.cpp128 assert(MRI->getVRegDef(reg) && "Register use before def!"); in HandleVirtRegUse()
164 if (MBB == MRI->getVRegDef(reg)->getParent()) return; in HandleVirtRegUse()
175 MarkVirtRegAliveInBlock(VRInfo, MRI->getVRegDef(reg)->getParent(), *PI); in HandleVirtRegUse()
583 MarkVirtRegAliveInBlock(getVarInfo(*I),MRI->getVRegDef(*I)->getParent(), in runOnMachineFunction()
625 if (VirtRegInfo[Reg].Kills[j] == MRI->getVRegDef(Reg)) in runOnMachineFunction()
695 const MachineInstr *Def = MRI.getVRegDef(Reg); in isLiveIn()
DPHIElimination.cpp176 const MachineInstr *DefMI = MRI->getVRegDef(SrcReg); in isSourceDefinedByImplicitDef()
297 MachineInstr *DefMI = MRI->getVRegDef(SrcReg); in LowerAtomicPHINode()
DTwoAddressInstructionPass.cpp1176 MachineInstr *DefMI = MRI->getVRegDef(regB); in runOnMachineFunction()
1277 MachineInstr *DefMI = MRI->getVRegDef(VReg); in runOnMachineFunction()
1320 MachineInstr *SrcDefMI = MRI->getVRegDef(SrcReg); in CoalesceExtSubRegs()
1321 MachineInstr *DstDefMI = MRI->getVRegDef(DstReg); in CoalesceExtSubRegs()
1462 MachineInstr *DefMI = MRI->getVRegDef(SrcReg); in EliminateRegSequences()
DStrongPHIElimination.cpp254 MachineInstr *DefMI = MRI->getVRegDef(SrcReg); in runOnMachineFunction()
567 while (NewParent && (!DT->dominates(MRI->getVRegDef(NewParent), *BBI) in SplitInterferencesForBasicBlock()
623 && (!DT->dominates(MRI->getVRegDef(NewParent)->getParent(), &MBB) in SplitInterferencesForBasicBlock()
DMachineRegisterInfo.cpp151 MachineInstr *MachineRegisterInfo::getVRegDef(unsigned Reg) const { in getVRegDef() function in MachineRegisterInfo
/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()
596 MarkVirtRegAliveInBlock(getVarInfo(*I),MRI->getVRegDef(*I)->getParent(), in runOnBlock()
660 if (VirtRegInfo[Reg].Kills[j] == MRI->getVRegDef(Reg)) in runOnMachineFunction()
732 const MachineInstr *Def = MRI.getVRegDef(Reg); in isLiveIn()
DMachinePipeliner.cpp2508 Schedule.stageScheduled(getSUnit(MRI.getVRegDef(LoopVal))); in generateExistingPhis()
2563 MachineInstr *InstOp1 = MRI.getVRegDef(PhiOp1); in generateExistingPhis()
2571 InstOp1 = MRI.getVRegDef(PhiOp1); in generateExistingPhis()
2585 if (MachineInstr *InstOp1 = MRI.getVRegDef(PhiOp1)) in generateExistingPhis()
2589 MachineInstr *PhiInst = MRI.getVRegDef(LoopVal); in generateExistingPhis()
2753 if (MachineInstr *InstOp2 = MRI.getVRegDef(PhiOp2)) in generatePhis()
2764 if (MachineInstr *InstOp1 = MRI.getVRegDef(PhiOp1)) { in generatePhis()
2905 MachineInstr *MI = MRI.getVRegDef(LCDef); in splitLifetimes()
3029 MachineInstr *BaseDef = MRI.getVRegDef(BaseReg); in computeDelta()
3032 BaseDef = MRI.getVRegDef(BaseReg); in computeDelta()
[all …]
DMachineSink.cpp175 MachineInstr *DefMI = MRI->getVRegDef(SrcReg); in INITIALIZE_PASS_DEPENDENCY()
396 MachineInstr *DefMI = MRI->getVRegDef(Reg); in isWorthBreakingCriticalEdge()
DMachineSSAUpdater.cpp323 return InstrIsPHI(Updater->MRI->getVRegDef(Val)); in ValueIsPHI()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DMLxExpansionPass.cpp92 MachineInstr *DefMI = MRI->getVRegDef(Reg); in getAccDefMI()
99 DefMI = MRI->getVRegDef(Reg); in getAccDefMI()
105 DefMI = MRI->getVRegDef(Reg); in getAccDefMI()
/external/llvm/lib/Target/NVPTX/
DNVPTXReplaceImageHandles.cpp140 MachineInstr &TexHandleDef = *MRI.getVRegDef(Op.getReg()); in findIndexForHandle()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerBrUnless.cpp75 MachineInstr *Def = MRI.getVRegDef(Cond); in runOnMachineFunction()
/external/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp261 MachineInstr *DefMI = MRI.getVRegDef(Reg); in isCallViaRegister()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineRegisterInfo.h193 MachineInstr *getVRegDef(unsigned Reg) const;

123