Home
last modified time | relevance | path

Searched refs:DefMBB (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIOptimizeVGPRLiveRange.cpp245 const MachineBasicBlock *DefMBB = MRI->getVRegDef(MOReg)->getParent(); in collectCandidateRegisters() local
249 if ((VI.AliveBlocks.test(If->getNumber()) || DefMBB == If) && in collectCandidateRegisters()
250 Loops->getLoopFor(DefMBB) == Loops->getLoopFor(If)) { in collectCandidateRegisters()
293 const MachineBasicBlock *DefMBB = MRI->getVRegDef(Reg)->getParent(); in collectCandidateRegisters() local
294 if ((VI.AliveBlocks.test(If->getNumber()) || DefMBB == If) && in collectCandidateRegisters()
295 Loops->getLoopFor(DefMBB) == Loops->getLoopFor(If)) in collectCandidateRegisters()
370 MachineBasicBlock *DefMBB = MRI->getVRegDef(MOReg)->getParent(); in collectWaterfallCandidateRegisters() local
372 if (!Blocks.contains(DefMBB) && !CandidateRegs.contains(MOReg)) { in collectWaterfallCandidateRegisters()
H A DSIFoldOperands.cpp2146 MachineBasicBlock *DefMBB = Def->getParent(); in tryOptimizeAGPRPhis() local
2154 BuildMI(*DefMBB, ++Def->getIterator(), Def->getDebugLoc(), in tryOptimizeAGPRPhis()
2160 BuildMI(*DefMBB, ++VGPRCopy->getIterator(), Def->getDebugLoc(), in tryOptimizeAGPRPhis()
H A DAMDGPUMachineCFGStructurizer.cpp1577 MachineBasicBlock *DefMBB = getDefInstr(Reg)->getParent(); in replaceLiveOutRegs() local
1579 if (MO.getParent()->getParent() != DefMBB) in replaceLiveOutRegs()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PreTileConfig.cpp225 MachineBasicBlock *DefMBB = DefMI->getParent(); in INITIALIZE_PASS_DEPENDENCY() local
230 if (isLoopBackEdge(DefMBB, DefMI->getOperand(I + 1).getMBB())) in INITIALIZE_PASS_DEPENDENCY()
231 RecordShape(DefMI, DefMBB); // In this case, PHI is also a shape def. in INITIALIZE_PASS_DEPENDENCY()
235 RecordShape(DefMI, DefMBB); in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSplitKit.cpp905 MachineBasicBlock *DefMBB) { in findShallowDominator() argument
906 if (MBB == DefMBB) in findShallowDominator()
908 assert(MDT.dominates(DefMBB, MBB) && "MBB must be dominated by the def."); in findShallowDominator()
911 const MachineLoop *DefLoop = Loops.getLoopFor(DefMBB); in findShallowDominator()
912 MachineDomTreeNode *DefDomNode = MDT[DefMBB]; in findShallowDominator()
924 LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB) in findShallowDominator()
932 LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB) in findShallowDominator()
943 LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB) in findShallowDominator()
1094 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(ParentVNI->def); in hoistCopies() local
1096 Dom.first = findShallowDominator(Dom.first, DefMBB); in hoistCopies()
H A DSplitKit.h393 /// also dominated by DefMBB. Busy is measured by loop depth.
395 MachineBasicBlock *DefMBB);
H A DPHIElimination.cpp231 MachineBasicBlock *DefMBB = DefMI->getParent(); in run() local
233 (!VI.Kills.empty() && VI.Kills.front()->getParent() != DefMBB)) in run()
H A DMachineSink.cpp249 MachineBasicBlock *DefMBB, bool &BreakPHIEdge,
601 MachineBasicBlock *DefMBB, in AllUsesDominatedByBlock() argument
629 UseInst->getOperand(OpNo + 1).getMBB() == DefMBB; in AllUsesDominatedByBlock()
644 } else if (UseBlock == DefMBB) { in AllUsesDominatedByBlock()
H A DMachineTraceMetrics.cpp993 const MachineBasicBlock *DefMBB = DefMI->getParent(); in addLiveIns() local
997 if (MBB == DefMBB) in addLiveIns()
H A DInlineSpiller.cpp445 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(SrcVNI->def); in hoistSpillInsideBB() local
446 if (DefMBB != CopyMI.getParent() || !SrcQ.isKill()) in hoistSpillInsideBB()