HomeSort by: relevance | last modified time | path
    Searched defs:LatchBlock (Results 1 - 5 of 5) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LoopUnroll.cpp 249 /// LatchBlock. Control may exit the loop prior to TripCount iterations either
250 /// via an early branch in other loop block or via LatchBlock terminator. This
253 /// counter test is in LatchBlock in order to remove unnecesssary instances of
254 /// the test. If control can exit the loop from the LatchBlock's terminator
257 /// PreserveCondBr indicates whether the conditional branch of the LatchBlock
262 /// Similarly, TripMultiple divides the number of times that the LatchBlock may
367 BasicBlock *LatchBlock = L->getLoopLatch();
389 BranchInst *LatchBI = dyn_cast<BranchInst>(LatchBlock->getTerminator());
394 bool LatchIsExiting = L->isLoopExiting(LatchBlock);
551 Latches.push_back(LatchBlock);
    [all...]
LoopUnrollAndJam.cpp 303 BasicBlock *LatchBlock = L->getLoopLatch();
305 assert(LatchBlock && "No latch block");
306 BranchInst *BI = dyn_cast<BranchInst>(LatchBlock->getTerminator());
341 Header, LatchBlock, ForeBlocksLast[0]->getTerminator(), AftBlocks);
ScalarEvolutionExpander.cpp 1093 /// Typically this is the LatchBlock terminator or IVIncInsertPos, but we may
1208 BasicBlock *LatchBlock = L->getLoopLatch();
1209 if (LatchBlock) {
1219 SE.DT.properlyDominates(LatchBlock, IVIncInsertLoop->getHeader());
1246 dyn_cast<Instruction>(PN.getIncomingValueForBlock(LatchBlock));
1455 BasicBlock *LatchBlock = L->getLoopLatch();
1456 assert(LatchBlock && "PostInc mode requires a unique loop latch!");
1457 Result = PN->getIncomingValueForBlock(LatchBlock);
2116 if (BasicBlock *LatchBlock = L->getLoopLatch()) {
2118 OrigPhiRef->getIncomingValueForBlock(LatchBlock));
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp 845 static bool AlmostDeadIV(PHINode *Phi, BasicBlock *LatchBlock, Value *Cond) {
846 int LatchIdx = Phi->getBasicBlockIndex(LatchBlock);
899 BasicBlock *LatchBlock = L->getLoopLatch();
900 assert(LatchBlock && "Must be in simplified form");
927 Value *IncPhi = Phi->getIncomingValueForBlock(LatchBlock);
947 if (BestPhi && !AlmostDeadIV(BestPhi, LatchBlock, Cond)) {
949 if (AlmostDeadIV(Phi, LatchBlock, Cond))
LoopStrengthReduce.cpp 2378 BasicBlock *LatchBlock = L->getLoopLatch();
2381 if (llvm::all_of(ExitingBlocks, [&LatchBlock](const BasicBlock *BB) {
2382 return LatchBlock != BB;
2385 IVIncInsertPos = LatchBlock->getTerminator();
2420 if (!DT.dominates(ExitingBlock, LatchBlock))
2425 if (LatchBlock != ExitingBlock)

Completed in 37 milliseconds