Searched refs:CurLoop (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DLICM.cpp109 Loop *CurLoop; // The current loop we are working on... member in struct:__anon10387::LICM
143 assert(CurLoop->contains(BB) && "Only valid if BB is IN the loop");
144 return LI->getLoopFor(BB) != CurLoop;
174 // Check to see if any of the basic blocks in CurLoop invalidate *V.
230 CurLoop = L;
283 CurLoop = 0;
306 if (!CurLoop->contains(BB)) return;
353 if (!CurLoop->contains(BB)) return;
377 if (CurLoop->hasLoopInvariantOperands(&I) && canSinkOrHoistInst(I) &&
462 if (CurLoop
[all...]
H A DLoopIdiomRecognize.cpp67 Loop *CurLoop; member in class:__anon10390::LoopIdiomRecognize
176 CurLoop = L;
210 CurLoop->getUniqueExitBlocks(ExitBlocks);
221 if (LI.getLoopFor(*BI) != CurLoop)
292 if (StoreEv == 0 || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine())
323 if (LoadEv && LoadEv->getLoop() == CurLoop && LoadEv->isAffine() &&
349 if (Ev == 0 || Ev->getLoop() != CurLoop || !Ev->isAffine())
464 CurLoop->isLoopInvariant(SplatValue)) {
480 BasicBlock *Preheader = CurLoop->getLoopPreheader();
496 CurLoop, BECoun
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/
H A DPHIElimination.cpp426 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : 0; local
427 bool IsLoopHeader = CurLoop && &MBB == CurLoop->getHeader();
444 if (IsLoopHeader && PreLoop == CurLoop)
471 if (!ShouldSplit && CurLoop != PreLoop) {
475 if (CurLoop) dbgs() << "CurLoop: " << *CurLoop;
480 // Split unless this edge is entering CurLoop from an outer loop.
481 ShouldSplit = PreLoop && !PreLoop->contains(CurLoop);
[all...]
H A DMachineLICM.cpp80 MachineLoop *CurLoop; // The current loop we are working on. member in class:__anon9968::MachineLICM
81 MachineBasicBlock *CurPreheader; // The preheader for CurLoop.
83 // Exit blocks for CurLoop.
309 static bool LoopIsOuterMostWithPredecessor(MachineLoop *CurLoop) { argument
311 if (!CurLoop->getLoopPredecessor())
314 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop())
357 CurLoop = Worklist.pop_back_val();
363 if (PreRegAlloc && !LoopIsOuterMostWithPredecessor(CurLoop)) {
364 Worklist.append(CurLoop->begin(), CurLoop
[all...]
H A DMachineTraceMetrics.cpp227 const MachineLoop *CurLoop = getLoopFor(MBB); local
229 if (CurLoop && MBB == CurLoop->getHeader())
255 const MachineLoop *CurLoop = getLoopFor(MBB); local
262 if (CurLoop && Succ == CurLoop->getHeader())
264 // Don't consider successors exiting CurLoop.
265 if (isExitingLoop(CurLoop, getLoopFor(Succ)))
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Analysis/
H A DLoopInfo.h91 for (const LoopT *CurLoop = ParentLoop; CurLoop;
92 CurLoop = CurLoop->ParentLoop)
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DScalarEvolutionExpander.cpp731 const Loop *CurLoop = I->first; local
741 for (; I != E && I->first == CurLoop; ++I) {
758 for (++I; I != E && I->first == CurLoop; ++I)
/macosx-10.10.1/llvmCore-3425.0.34/lib/TableGen/
H A DTGParser.cpp313 ForeachLoop &CurLoop = Loops[IterVals.size()]; local
314 ListInit *List = dynamic_cast<ListInit *>(CurLoop.ListValue);
323 IterVals.push_back(IterRecord(CurLoop.IterVar, ItemVal));

Completed in 144 milliseconds