Lines Matching refs:CurLoop

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