Searched refs:Latch (Results 1 - 9 of 9) sorted by relevance
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | LoopRotation.cpp | 217 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 D | LoopUnswitch.cpp | 1147 BasicBlock *Latch = L->getLoopLatch(); local 1155 if (Latch && DT->dominates(SISucc, Latch))
|
H A D | LoopStrengthReduce.cpp | 1706 unsigned Entry, Latch; local 1709 Latch = 1; 1712 Latch = 0; 1722 dyn_cast<BinaryOperator>(PH->getIncomingValue(Latch)); 1754 NewPH->addIncoming(NewIncr, PH->getIncomingBlock(Latch));
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | LoopUnrollRuntime.cpp | 60 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-10.0-release/contrib/llvm/lib/Target/Hexagon/ |
H A D | HexagonHardwareLoops.cpp | 326 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-10.0-release/contrib/llvm/lib/Analysis/ |
H A D | ProfileEstimatorPass.cpp | 203 BasicBlock *Latch = BBLoop->getLoopLatch(); local 204 if (Latch) { 205 Edge edge = getEdge(Latch,0); 208 edge = getEdge(Latch, BB);
|
H A D | ScalarEvolution.cpp | 6065 BasicBlock *Latch = L->getLoopLatch(); 6066 if (!Latch) 6070 dyn_cast<BranchInst>(Latch->getTerminator());
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/ |
H A D | LoopInfoImpl.h | 176 BlockT *Latch = 0; local 180 if (Latch) return 0; 181 Latch = N; 185 return Latch;
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 1792 BasicBlock *Latch = OrigLoop->getLoopLatch(); local 1793 Value *LoopVal = RdxPhi->getIncomingValueForBlock(Latch); 2337 BasicBlock *Latch = TheLoop->getLoopLatch(); local 2342 const SCEV *ExitCount = SE->getExitCount(TheLoop, Latch); 2349 unsigned TC = SE->getSmallConstantTripCount(TheLoop, Latch); 2557 BasicBlock *Latch = TheLoop->getLoopLatch(); local 2560 Worklist.push_back(Latch->getTerminator()->getOperand(0)); 3168 BasicBlock* Latch = TheLoop->getLoopLatch(); local 3169 return !DT->dominates(BB, Latch);
|
Completed in 203 milliseconds