Home
last modified time | relevance | path

Searched refs:CurLoop (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DLICM.cpp102 Loop *CurLoop; // The current loop we are working on... member
133 assert(CurLoop->contains(BB) && "Only valid if BB is IN the loop"); in inSubLoop()
134 return LI->getLoopFor(BB) != CurLoop; in inSubLoop()
209 CurLoop = L; in runOnLoop()
250 CurLoop = 0; in runOnLoop()
273 if (!CurLoop->contains(BB)) return; in SinkRegion()
320 if (!CurLoop->contains(BB)) return; in HoistRegion()
344 if (CurLoop->hasLoopInvariantOperands(&I) && canSinkOrHoistInst(I) && in HoistRegion()
422 if (CurLoop->contains(PN->getIncomingBlock(i))) in isNotUsedInLoop()
424 } else if (CurLoop->contains(User)) { in isNotUsedInLoop()
[all …]
DLoopIdiomRecognize.cpp67 Loop *CurLoop; member in __anone53fd5aa0111::LoopIdiomRecognize
174 CurLoop = L; in runOnLoop()
203 CurLoop->getUniqueExitBlocks(ExitBlocks); in runOnLoop()
214 if (LI.getLoopFor(*BI) != CurLoop) in runOnLoop()
285 if (StoreEv == 0 || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine()) in processLoopStore()
316 if (LoadEv && LoadEv->getLoop() == CurLoop && LoadEv->isAffine() && in processLoopStore()
342 if (Ev == 0 || Ev->getLoop() != CurLoop || !Ev->isAffine()) in processLoopMemSet()
457 CurLoop->isLoopInvariant(SplatValue)) { in processLoopStridedStore()
473 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStridedStore()
489 CurLoop, BECount, in processLoopStridedStore()
[all …]
/external/llvm/lib/CodeGen/
DMachineLICM.cpp75 MachineLoop *CurLoop; // The current loop we are working on. member in __anond0cc49730111::MachineLICM
263 static bool LoopIsOuterMostWithPredecessor(MachineLoop *CurLoop) { in LoopIsOuterMostWithPredecessor() argument
265 if (!CurLoop->getLoopPredecessor()) in LoopIsOuterMostWithPredecessor()
268 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop()) in LoopIsOuterMostWithPredecessor()
310 CurLoop = Worklist.pop_back_val(); in runOnMachineFunction()
315 if (PreRegAlloc && !LoopIsOuterMostWithPredecessor(CurLoop)) { in runOnMachineFunction()
316 Worklist.append(CurLoop->begin(), CurLoop->end()); in runOnMachineFunction()
325 MachineDomTreeNode *N = DT->getNode(CurLoop->getHeader()); in runOnMachineFunction()
441 const std::vector<MachineBasicBlock*> Blocks = CurLoop->getBlocks(); in HoistRegionPostRA()
497 const std::vector<MachineBasicBlock*> Blocks = CurLoop->getBlocks(); in AddToLiveIns()
[all …]
/external/llvm/include/llvm/Analysis/
DLoopInfo.h92 for (const LoopT *CurLoop = ParentLoop; CurLoop; in getLoopDepth() local
93 CurLoop = CurLoop->ParentLoop) in getLoopDepth()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp714 const Loop *CurLoop = I->first; in visitAddExpr() local
724 for (; I != E && I->first == CurLoop; ++I) { in visitAddExpr()
741 for (++I; I != E && I->first == CurLoop; ++I) in visitAddExpr()