Lines Matching refs:CurLoop

88     MachineLoop *CurLoop;          // The current loop we are working on.  member in __anon19b931500111::MachineLICM
324 static bool LoopIsOuterMostWithPredecessor(MachineLoop *CurLoop) { in INITIALIZE_PASS_DEPENDENCY()
326 if (!CurLoop->getLoopPredecessor()) in INITIALIZE_PASS_DEPENDENCY()
329 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop()) in INITIALIZE_PASS_DEPENDENCY()
373 CurLoop = Worklist.pop_back_val(); in runOnMachineFunction()
379 if (PreRegAlloc && !LoopIsOuterMostWithPredecessor(CurLoop)) { in runOnMachineFunction()
380 Worklist.append(CurLoop->begin(), CurLoop->end()); in runOnMachineFunction()
384 CurLoop->getExitBlocks(ExitBlocks); in runOnMachineFunction()
391 MachineDomTreeNode *N = DT->getNode(CurLoop->getHeader()); in runOnMachineFunction()
524 const std::vector<MachineBasicBlock *> &Blocks = CurLoop->getBlocks(); in HoistRegionPostRA()
606 const std::vector<MachineBasicBlock *> &Blocks = CurLoop->getBlocks(); in AddToLiveIns()
654 if (BB != CurLoop->getHeader()) { in IsGuaranteedToExecute()
657 CurLoop->getExitingBlocks(CurrentLoopExitingBlocks); in IsGuaranteedToExecute()
733 if (!CurLoop->contains(BB)) in HoistOutOfLoop()
985 } else if (CurLoop->getHeader()->isLiveIn(Reg)) { in IsLoopInvariantInst()
1000 if (CurLoop->contains(MRI->getVRegDef(Reg))) in IsLoopInvariantInst()
1026 if (CurLoop->contains(&UseMI)) in HasLoopPHIUse()
1036 if (UseMI.isCopy() && CurLoop->contains(&UseMI)) in HasLoopPHIUse()
1055 if (!CurLoop->contains(UseMI.getParent())) in HasHighOperandLatency()
1454 CurPreheader = CurLoop->getLoopPreheader(); in getCurPreheader()
1456 MachineBasicBlock *Pred = CurLoop->getLoopPredecessor(); in getCurPreheader()
1462 CurPreheader = Pred->SplitCriticalEdge(CurLoop->getHeader(), this); in getCurPreheader()