HomeSort by relevance Sort by last modified time
    Searched refs:Latch (Results 1 - 7 of 7) sorted by null

  /external/llvm/lib/Transforms/Scalar/
LoopRotation.cpp 78 // Simplify the loop latch before attempting to rotate the header
210 BasicBlock *Latch = L->getLoopLatch();
211 if (!Latch || Latch->hasAddressTaken())
214 BranchInst *Jmp = dyn_cast<BranchInst>(Latch->getTerminator());
218 BasicBlock *LastExit = Latch->getSinglePredecessor();
226 if (!shouldSpeculateInstrs(Latch->begin(), Jmp))
229 DEBUG(dbgs() << "Folding loop latch " << Latch->getName() << " into "
232 // Hoist the instructions from Latch into LastExit
    [all...]
LoopUnswitch.cpp 590 // latch block or exit through a one exit block without having any
705 /// condition in it (a cond branch from its header block to its latch block,
    [all...]
LoopStrengthReduce.cpp 24 // %i = phi [ 0, %entry ], [ %i.next, %latch ]
    [all...]
  /external/llvm/lib/Transforms/Utils/
LoopUnrollRuntime.cpp 60 BasicBlock *Latch = L->getLoopLatch();
61 assert(Latch != 0 && "Loop must have a latch");
68 for (succ_iterator SBI = succ_begin(Latch), SBE = succ_end(Latch);
85 Value *V = PN->getIncomingValueForBlock(Latch);
148 BasicBlock *Latch = L->getLoopLatch();
177 unsigned idx = NewPHI->getBasicBlockIndex(Latch);
188 if (Latch == *BB) {
268 BasicBlock *Latch = L->getLoopLatch()
    [all...]
  /external/llvm/lib/Analysis/
ProfileEstimatorPass.cpp 173 // latch to prevent the flow from building up in the loop.
203 BasicBlock *Latch = BBLoop->getLoopLatch();
204 if (Latch) {
205 Edge edge = getEdge(Latch,0);
208 edge = getEdge(Latch, BB);
ScalarEvolution.cpp     [all...]
  /external/llvm/include/llvm/Analysis/
LoopInfo.h 314 /// getLoopLatch - If there is a single latch block for this loop, return it.
315 /// A latch block is a block that contains a branch back to the header.
323 BlockT *Latch = 0;
327 if (Latch) return 0;
328 Latch = N;
332 return Latch;
521 if (BB == getLoopLatch()) OS << "<latch>";
    [all...]

Completed in 47 milliseconds