Lines Matching refs:CurLoop
88 MachineLoop *CurLoop; // The current loop we are working on. member in __anon19b931500111::MachineLICM
250 static bool LoopIsOuterMostWithPredecessor(MachineLoop *CurLoop) { in INITIALIZE_PASS_DEPENDENCY()
252 if (!CurLoop->getLoopPredecessor()) in INITIALIZE_PASS_DEPENDENCY()
255 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop()) in INITIALIZE_PASS_DEPENDENCY()
300 CurLoop = Worklist.pop_back_val(); in runOnMachineFunction()
306 if (PreRegAlloc && !LoopIsOuterMostWithPredecessor(CurLoop)) { in runOnMachineFunction()
307 Worklist.append(CurLoop->begin(), CurLoop->end()); in runOnMachineFunction()
311 CurLoop->getExitBlocks(ExitBlocks); in runOnMachineFunction()
318 MachineDomTreeNode *N = DT->getNode(CurLoop->getHeader()); in runOnMachineFunction()
452 const std::vector<MachineBasicBlock *> &Blocks = CurLoop->getBlocks(); in HoistRegionPostRA()
525 const std::vector<MachineBasicBlock *> &Blocks = CurLoop->getBlocks(); in AddToLiveIns()
568 if (BB != CurLoop->getHeader()) { in IsGuaranteedToExecute()
571 CurLoop->getExitingBlocks(CurrentLoopExitingBlocks); in IsGuaranteedToExecute()
646 if (!CurLoop->contains(BB)) in HoistOutOfLoop()
906 } else if (CurLoop->getHeader()->isLiveIn(Reg)) { in IsLoopInvariantInst()
921 if (CurLoop->contains(MRI->getVRegDef(Reg))) in IsLoopInvariantInst()
947 if (CurLoop->contains(&UseMI)) in HasLoopPHIUse()
957 if (UseMI.isCopy() && CurLoop->contains(&UseMI)) in HasLoopPHIUse()
975 if (!CurLoop->contains(UseMI.getParent())) in HasHighOperandLatency()
1372 CurPreheader = CurLoop->getLoopPreheader(); in getCurPreheader()
1374 MachineBasicBlock *Pred = CurLoop->getLoopPredecessor(); in getCurPreheader()
1380 CurPreheader = Pred->SplitCriticalEdge(CurLoop->getHeader(), *this); in getCurPreheader()