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

/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DLoopRotation.cpp217 BasicBlock *Latch = L->getLoopLatch(); local
218 if (!Latch || Latch->hasAddressTaken())
221 BranchInst *Jmp = dyn_cast<BranchInst>(Latch->getTerminator());
225 BasicBlock *LastExit = Latch->getSinglePredecessor();
233 if (!shouldSpeculateInstrs(Latch->begin(), Jmp))
236 DEBUG(dbgs() << "Folding loop latch " << Latch->getName() << " into "
239 // Hoist the instructions from Latch into LastExit.
240 LastExit->getInstList().splice(BI, Latch->getInstList(), Latch
[all...]
H A DLoopUnswitch.cpp1033 BasicBlock *Latch = L->getLoopLatch(); local
1041 if (Latch && DT->dominates(SISucc, Latch))
H A DLoopStrengthReduce.cpp1802 unsigned Entry, Latch; local
1805 Latch = 1;
1808 Latch = 0;
1818 dyn_cast<BinaryOperator>(PH->getIncomingValue(Latch));
1850 NewPH->addIncoming(NewIncr, PH->getIncomingBlock(Latch));
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp60 BasicBlock *Latch = L->getLoopLatch(); local
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(); local
177 unsigned idx = NewPHI->getBasicBlockIndex(Latch);
188 if (Latch == *BB) {
270 BasicBlock *Latch = L->getLoopLatch(); local
324 LastLoopBB = cast<BasicBlock>(VMap[Latch]);
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp326 MachineBasicBlock *Latch = L->getLoopLatch(); local
327 if (!Header || !Preheader || !Latch)
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)
474 else if (MBB == Latch)
482 bool NotAnalyzed = TII->AnalyzeBranch(*Latch, TB, FB, Cond, false);
490 assert (TB && "Latch block without a branch?");
1247 MachineBasicBlock *Latch local
1419 MachineBasicBlock *Latch = L->getLoopLatch(); local
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/Analysis/
H A DLoopInfoImpl.h161 BlockT *Latch = 0; local
165 if (Latch) return 0;
166 Latch = N;
170 return Latch;
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2223 BasicBlock *Latch = OrigLoop->getLoopLatch(); local
2224 Value *LoopVal = RdxPhi->getIncomingValueForBlock(Latch);
2886 BasicBlock *Latch = TheLoop->getLoopLatch(); local
2887 unsigned TC = SE->getSmallConstantTripCount(TheLoop, Latch);
3124 BasicBlock *Latch = TheLoop->getLoopLatch(); local
3127 Worklist.push_back(Latch->getTerminator()->getOperand(0));
4387 BasicBlock* Latch = TheLoop->getLoopLatch();
4388 return !DT->dominates(BB, Latch);
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp6104 BasicBlock *Latch = L->getLoopLatch();
6105 if (!Latch)
6109 dyn_cast<BranchInst>(Latch->getTerminator());

Completed in 233 milliseconds