Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:CurLoop

81     MachineLoop *CurLoop;          // The current loop we are working on.
82 MachineBasicBlock *CurPreheader; // The preheader for CurLoop.
295 static bool LoopIsOuterMostWithPredecessor(MachineLoop *CurLoop) {
297 if (!CurLoop->getLoopPredecessor())
300 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop())
342 CurLoop = Worklist.pop_back_val();
347 if (PreRegAlloc && !LoopIsOuterMostWithPredecessor(CurLoop)) {
348 Worklist.append(CurLoop->begin(), CurLoop->end());
357 MachineDomTreeNode *N = DT->getNode(CurLoop->getHeader());
473 const std::vector<MachineBasicBlock*> Blocks = CurLoop->getBlocks();
536 const std::vector<MachineBasicBlock*> Blocks = CurLoop->getBlocks();
593 if (BB != CurLoop->getHeader()) {
596 CurLoop->getExitingBlocks(CurrentLoopExitingBlocks);
623 if (!CurLoop->contains(BB)) return;
826 } else if (CurLoop->getHeader()->isLiveIn(Reg)) {
841 if (CurLoop->contains(MRI->getVRegDef(Reg)))
882 if (!CurLoop->contains(UseMI->getParent()))
1295 CurPreheader = CurLoop->getLoopPreheader();
1297 MachineBasicBlock *Pred = CurLoop->getLoopPredecessor();
1303 CurPreheader = Pred->SplitCriticalEdge(CurLoop->getHeader(), this);