Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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 DAMDGPUMachineCFGStructurizer.cpp1579 MachineBasicBlock *DefMBB = getDefInstr(Reg)->getParent(); in replaceLiveOutRegs() local
1581 if (MO.getParent()->getParent() != DefMBB) in replaceLiveOutRegs()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSplitKit.cpp892 MachineBasicBlock *DefMBB) { in findShallowDominator() argument
893 if (MBB == DefMBB) in findShallowDominator()
895 assert(MDT.dominates(DefMBB, MBB) && "MBB must be dominated by the def."); in findShallowDominator()
898 const MachineLoop *DefLoop = Loops.getLoopFor(DefMBB); in findShallowDominator()
899 MachineDomTreeNode *DefDomNode = MDT[DefMBB]; in findShallowDominator()
911 LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB) in findShallowDominator()
919 LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB) in findShallowDominator()
930 LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB) in findShallowDominator()
1081 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(ParentVNI->def); in hoistCopies() local
1083 Dom.first = findShallowDominator(Dom.first, DefMBB); in hoistCopies()
H A DPHIElimination.cpp177 MachineBasicBlock *DefMBB = DefMI->getParent(); in runOnMachineFunction() local
179 (!VI.Kills.empty() && VI.Kills.front()->getParent() != DefMBB)) in runOnMachineFunction()
H A DMachineSink.cpp232 MachineBasicBlock *DefMBB, bool &BreakPHIEdge,
309 MachineBasicBlock *DefMBB, in AllUsesDominatedByBlock() argument
337 UseInst->getOperand(OpNo + 1).getMBB() == DefMBB; in AllUsesDominatedByBlock()
352 } else if (UseBlock == DefMBB) { in AllUsesDominatedByBlock()
H A DSplitKit.h389 MachineBasicBlock *DefMBB);
H A DMachineTraceMetrics.cpp983 const MachineBasicBlock *DefMBB = DefMI->getParent(); in addLiveIns() local
987 if (MBB == DefMBB) in addLiveIns()
H A DInlineSpiller.cpp406 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(SrcVNI->def); in hoistSpillInsideBB() local
407 if (DefMBB != CopyMI.getParent() || !SrcQ.isKill()) in hoistSpillInsideBB()