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

  /external/llvm/lib/Transforms/Scalar/
LoopRotation.cpp 84 // Simplify the loop latch before attempting to rotate the header
216 BasicBlock *Latch = L->getLoopLatch();
217 if (!Latch || Latch->hasAddressTaken())
220 BranchInst *Jmp = dyn_cast<BranchInst>(Latch->getTerminator());
224 BasicBlock *LastExit = Latch->getSinglePredecessor();
232 if (!shouldSpeculateInstrs(Latch->begin(), Jmp))
235 DEBUG(dbgs() << "Folding loop latch " << Latch->getName() << " into "
238 // Hoist the instructions from Latch into LastExit
    [all...]
LoopUnswitch.cpp 591 // latch block or exit through a one exit block without having any
707 /// 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) {
270 BasicBlock *Latch = L->getLoopLatch()
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonHardwareLoops.cpp 193 /// The desired flow is: phi ---> bump -+-> comparison-in-latch.
202 /// +-> comparison-in-latch (against upper_bound-bump),
209 /// couldn't be identified, or if the value in the latch's comparison
326 MachineBasicBlock *Latch = L->getLoopLatch();
327 if (!Header || !Preheader || !Latch)
348 // latch block, and see if is a result of an addition of form "reg+imm",
351 if (Phi->getOperand(i+1).getMBB() != Latch)
374 bool NotAnalyzed = TII->AnalyzeBranch(*Latch, TB, FB, Cond, false);
455 MachineBasicBlock *Latch = L->getLoopLatch();
456 if (!Latch)
    [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/
LoopInfoImpl.h 166 /// getLoopLatch - If there is a single latch block for this loop, return it.
167 /// A latch block is a block that contains a branch back to the header.
176 BlockT *Latch = 0;
180 if (Latch) return 0;
181 Latch = N;
185 return Latch;
347 if (BB == getLoopLatch()) OS << "<latch>";
  /external/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp     [all...]

Completed in 450 milliseconds