Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIOptimizeVGPRLiveRange.cpp252 const MachineBasicBlock *DefMBB = MRI->getVRegDef(MOReg)->getParent(); in collectCandidateRegisters() local
256 if ((VI.AliveBlocks.test(If->getNumber()) || DefMBB == If) && in collectCandidateRegisters()
257 Loops->getLoopFor(DefMBB) == Loops->getLoopFor(If)) { in collectCandidateRegisters()
300 const MachineBasicBlock *DefMBB = MRI->getVRegDef(Reg)->getParent(); in collectCandidateRegisters() local
301 if ((VI.AliveBlocks.test(If->getNumber()) || DefMBB == If) && in collectCandidateRegisters()
302 Loops->getLoopFor(DefMBB) == Loops->getLoopFor(If)) in collectCandidateRegisters()
377 MachineBasicBlock *DefMBB = MRI->getVRegDef(MOReg)->getParent(); in collectWaterfallCandidateRegisters() local
379 if (!Blocks.contains(DefMBB) && !CandidateRegs.contains(MOReg)) { in collectWaterfallCandidateRegisters()
H A DAMDGPURegBankSelect.cpp178 MachineBasicBlock *DefMBB = DefMI->getParent(); in constrainRegBankUse() local
179 B.setInsertPt(*DefMBB, DefMBB->SkipPHIsAndLabels(std::next(DefMI))); in constrainRegBankUse()
H A DAMDGPURegBankLegalizeHelper.cpp998 MachineBasicBlock *DefMBB = DefMI->getParent(); in applyMappingPHI() local
1000 B.setInsertPt(*DefMBB, DefMBB->SkipPHIsAndLabels(std::next(DefMI))); in applyMappingPHI()
H A DSIFoldOperands.cpp2691 MachineBasicBlock *DefMBB = Def->getParent(); in tryOptimizeAGPRPhis() local
2699 BuildMI(*DefMBB, ++Def->getIterator(), Def->getDebugLoc(), in tryOptimizeAGPRPhis()
2705 BuildMI(*DefMBB, ++VGPRCopy->getIterator(), Def->getDebugLoc(), in tryOptimizeAGPRPhis()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PreTileConfig.cpp251 MachineBasicBlock *DefMBB = DefMI->getParent(); in INITIALIZE_PASS_DEPENDENCY() local
264 if (isLoopBackEdge(DefMBB, DefMI->getOperand(I + 1).getMBB())) in INITIALIZE_PASS_DEPENDENCY()
265 RecordShape(DefMI, DefMBB); // In this case, PHI is also a shape def. in INITIALIZE_PASS_DEPENDENCY()
269 RecordShape(DefMI, DefMBB); in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSplitKit.cpp941 MachineBasicBlock *DefMBB) { in findShallowDominator() argument
942 if (MBB == DefMBB) in findShallowDominator()
944 assert(MDT.dominates(DefMBB, MBB) && "MBB must be dominated by the def."); in findShallowDominator()
947 const MachineLoop *DefLoop = Loops.getLoopFor(DefMBB); in findShallowDominator()
948 MachineDomTreeNode *DefDomNode = MDT[DefMBB]; in findShallowDominator()
960 LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB) in findShallowDominator()
968 LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB) in findShallowDominator()
979 LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB) in findShallowDominator()
1130 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(ParentVNI->def); in hoistCopies() local
1132 Dom.first = findShallowDominator(Dom.first, DefMBB); in hoistCopies()
H A DSplitKit.h401 MachineBasicBlock *DefMBB);
H A DPHIElimination.cpp242 MachineBasicBlock *DefMBB = DefMI->getParent(); in run() local
244 (!VI.Kills.empty() && VI.Kills.front()->getParent() != DefMBB)) in run()
H A DMachineSink.cpp255 MachineBasicBlock *DefMBB, bool &BreakPHIEdge,
641 MachineBasicBlock *DefMBB, in AllUsesDominatedByBlock() argument
669 UseInst->getOperand(OpNo + 1).getMBB() == DefMBB; in AllUsesDominatedByBlock()
684 } else if (UseBlock == DefMBB) { in AllUsesDominatedByBlock()
H A DMachineTraceMetrics.cpp1021 const MachineBasicBlock *DefMBB = DefMI->getParent(); in addLiveIns() local
1025 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()