Searched refs:ExitingBlock (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | LoopSimplify.cpp | 647 BasicBlock *ExitingBlock = ExitingBlocks[i]; in simplifyOneLoop() local 648 if (!ExitingBlock->getSinglePredecessor()) continue; in simplifyOneLoop() 649 BranchInst *BI = dyn_cast<BranchInst>(ExitingBlock->getTerminator()); in simplifyOneLoop() 652 if (!CI || CI->getParent() != ExitingBlock) continue; in simplifyOneLoop() 658 for (BasicBlock::iterator I = ExitingBlock->begin(); &*I != BI; ) { in simplifyOneLoop() 690 << ExitingBlock->getName() << "\n"); in simplifyOneLoop() 699 assert(pred_begin(ExitingBlock) == pred_end(ExitingBlock)); in simplifyOneLoop() 701 LI->removeBlock(ExitingBlock); in simplifyOneLoop() 703 DomTreeNode *Node = DT->getNode(ExitingBlock); in simplifyOneLoop() 710 DT->eraseNode(ExitingBlock); in simplifyOneLoop() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 286 AssertingVH<BasicBlock> ExitingBlock; 290 ExitNotTakenInfo() : ExitingBlock(nullptr), ExactNotTaken(nullptr) {} 331 return ExitNotTaken.ExitingBlock || !isa<SCEVCouldNotCompute>(Max); 344 const SCEV *getExact(BasicBlock *ExitingBlock, ScalarEvolution *SE) const; 450 ExitLimit ComputeExitLimit(const Loop *L, BasicBlock *ExitingBlock); 782 unsigned getSmallConstantTripCount(Loop *L, BasicBlock *ExitingBlock); 798 unsigned getSmallConstantTripMultiple(Loop *L, BasicBlock *ExitingBlock); 803 const SCEV *getExitCount(Loop *L, BasicBlock *ExitingBlock);
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 754 BasicBlock *ExitingBlock = L->getLoopLatch(); in runOnLoop() local 755 if (!ExitingBlock || !L->isLoopExiting(ExitingBlock)) in runOnLoop() 756 ExitingBlock = L->getExitingBlock(); in runOnLoop() 757 if (ExitingBlock) { in runOnLoop() 758 TripCount = SE->getSmallConstantTripCount(L, ExitingBlock); in runOnLoop() 759 TripMultiple = SE->getSmallConstantTripMultiple(L, ExitingBlock); in runOnLoop()
|
D | LoopStrengthReduce.cpp | 2109 BasicBlock *ExitingBlock = ExitingBlocks[i]; in OptimizeLoopTermCond() local 2116 BranchInst *TermBr = dyn_cast<BranchInst>(ExitingBlock->getTerminator()); in OptimizeLoopTermCond() 2140 if (!DT.dominates(ExitingBlock, LatchBlock)) in OptimizeLoopTermCond() 2145 if (LatchBlock != ExitingBlock) in OptimizeLoopTermCond() 2150 !DT.properlyDominates(UI->getUser()->getParent(), ExitingBlock)) { in OptimizeLoopTermCond() 2203 ExitingBlock->getInstList().insert(TermBr, Cond); in OptimizeLoopTermCond()
|
/external/llvm/test/Transforms/LoopVectorize/ |
D | infiniteloop.ll | 13 ; // which this loop is *guaranteed not to exit* via ExitingBlock. Otherwise
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 4458 BasicBlock *ExitingBlock) { in getSmallConstantTripCount() argument 4459 assert(ExitingBlock && "Must pass a non-null exiting block!"); in getSmallConstantTripCount() 4460 assert(L->isLoopExiting(ExitingBlock) && in getSmallConstantTripCount() 4463 dyn_cast<SCEVConstant>(getExitCount(L, ExitingBlock)); in getSmallConstantTripCount() 4499 BasicBlock *ExitingBlock) { in getSmallConstantTripMultiple() argument 4500 assert(ExitingBlock && "Must pass a non-null exiting block!"); in getSmallConstantTripMultiple() 4501 assert(L->isLoopExiting(ExitingBlock) && in getSmallConstantTripMultiple() 4503 const SCEV *ExitCount = getExitCount(L, ExitingBlock); in getSmallConstantTripMultiple() 4534 const SCEV *ScalarEvolution::getExitCount(Loop *L, BasicBlock *ExitingBlock) { in getExitCount() argument 4535 return getBackedgeTakenInfo(L).getExact(ExitingBlock, this); in getExitCount() [all …]
|
/external/llvm/test/Transforms/LoopSimplify/ |
D | preserve-scev.ll | 55 ; Notify SCEV when removing an ExitingBlock.
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDILCFGStructurizer.cpp | 320 void handleLoopbreak (BlockT *ExitingBlock, LoopT *ExitingLoop, 345 void mergeLoopbreakBlock(BlockT *ExitingBlock, BlockT *ExitBlock,
|