Home
last modified time | relevance | path

Searched refs:ExitingBlocks (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopSimplify.cpp183 SmallVector<BasicBlock*, 8> ExitingBlocks; in ProcessLoop() local
184 L->getExitingBlocks(ExitingBlocks); in ProcessLoop()
185 for (SmallVectorImpl<BasicBlock *>::iterator I = ExitingBlocks.begin(), in ProcessLoop()
186 E = ExitingBlocks.end(); I != E; ++I) in ProcessLoop()
292 for (unsigned i = 0, e = ExitingBlocks.size(); i != e; ++i) { in ProcessLoop()
293 BasicBlock *ExitingBlock = ExitingBlocks[i]; in ProcessLoop()
763 SmallVector<BasicBlock*, 8> ExitingBlocks; in verifyAnalysis() local
764 L->getExitingBlocks(ExitingBlocks); in verifyAnalysis()
765 for (unsigned i = 0, e = ExitingBlocks.size(); i != e; ++i) { in verifyAnalysis()
766 if (isa<IndirectBrInst>((ExitingBlocks[i])->getTerminator())) { in verifyAnalysis()
/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp503 SmallVector<BasicBlock*, 8> ExitingBlocks; in simplifyOneLoop() local
504 L->getExitingBlocks(ExitingBlocks); in simplifyOneLoop()
505 for (BasicBlock *ExitingBlock : ExitingBlocks) in simplifyOneLoop()
621 for (unsigned i = 0, e = ExitingBlocks.size(); i != e; ++i) { in simplifyOneLoop()
622 BasicBlock *ExitingBlock = ExitingBlocks[i]; in simplifyOneLoop()
862 SmallVector<BasicBlock*, 8> ExitingBlocks;
863 L->getExitingBlocks(ExitingBlocks);
864 for (unsigned i = 0, e = ExitingBlocks.size(); i != e; ++i) {
865 if (isa<IndirectBrInst>((ExitingBlocks[i])->getTerminator())) {
/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.h35 getExitingBlocks(SmallVectorImpl<BlockT *> &ExitingBlocks) const { in getExitingBlocks() argument
43 ExitingBlocks.push_back(*BI); in getExitingBlocks()
52 SmallVector<BlockT*, 8> ExitingBlocks; in getExitingBlock() local
53 getExitingBlocks(ExitingBlocks); in getExitingBlock()
54 if (ExitingBlocks.size() == 1) in getExitingBlock()
55 return ExitingBlocks[0]; in getExitingBlock()
DRegionInfoImpl.h129 SmallVector<BlockT *, 8> ExitingBlocks; in contains() local
130 L->getExitingBlocks(ExitingBlocks); in contains()
132 for (BlockT *BB : ExitingBlocks) { in contains()
DLoopInfo.h197 void getExitingBlocks(SmallVectorImpl<BlockT *> &ExitingBlocks) const;
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DLoopInfo.h185 void getExitingBlocks(SmallVectorImpl<BlockT *> &ExitingBlocks) const { in getExitingBlocks() argument
198 ExitingBlocks.push_back(*BI); in getExitingBlocks()
206 SmallVector<BlockT*, 8> ExitingBlocks; in getExitingBlock() local
207 getExitingBlocks(ExitingBlocks); in getExitingBlock()
208 if (ExitingBlocks.size() == 1) in getExitingBlock()
209 return ExitingBlocks[0]; in getExitingBlock()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp499 SmallVector<BasicBlock*, 4> ExitingBlocks; in convertToCTRLoop() local
500 L->getExitingBlocks(ExitingBlocks); in convertToCTRLoop()
505 for (SmallVectorImpl<BasicBlock *>::iterator I = ExitingBlocks.begin(), in convertToCTRLoop()
506 IE = ExitingBlocks.end(); I != IE; ++I) { in convertToCTRLoop()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DRegionInfo.cpp108 SmallVector<BasicBlock *, 8> ExitingBlocks; in contains() local
109 L->getExitingBlocks(ExitingBlocks); in contains()
111 for (SmallVectorImpl<BasicBlock*>::iterator BI = ExitingBlocks.begin(), in contains()
112 BE = ExitingBlocks.end(); BI != BE; ++BI) in contains()
DScalarEvolution.cpp4238 SmallVector<BasicBlock *, 8> ExitingBlocks; in ComputeBackedgeTakenCount() local
4239 L->getExitingBlocks(ExitingBlocks); in ComputeBackedgeTakenCount()
4245 for (unsigned i = 0, e = ExitingBlocks.size(); i != e; ++i) { in ComputeBackedgeTakenCount()
4246 ExitLimit EL = ComputeExitLimit(L, ExitingBlocks[i]); in ComputeBackedgeTakenCount()
4252 ExitCounts.push_back(std::make_pair(ExitingBlocks[i], EL.Exact)); in ComputeBackedgeTakenCount()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1761 SmallVector<BasicBlock*, 8> ExitingBlocks; in OptimizeLoopTermCond() local
1762 L->getExitingBlocks(ExitingBlocks); in OptimizeLoopTermCond()
1764 for (unsigned i = 0, e = ExitingBlocks.size(); i != e; ++i) { in OptimizeLoopTermCond()
1765 BasicBlock *ExitingBlock = ExitingBlocks[i]; in OptimizeLoopTermCond()
3465 SmallVector<BasicBlock *, 4> ExitingBlocks; in AdjustInsertPositionForExpand() local
3466 PIL->getExitingBlocks(ExitingBlocks); in AdjustInsertPositionForExpand()
3467 if (!ExitingBlocks.empty()) { in AdjustInsertPositionForExpand()
3468 BasicBlock *BB = ExitingBlocks[0]; in AdjustInsertPositionForExpand()
3469 for (unsigned i = 1, e = ExitingBlocks.size(); i != e; ++i) in AdjustInsertPositionForExpand()
3470 BB = DT.findNearestCommonDominator(BB, ExitingBlocks[i]); in AdjustInsertPositionForExpand()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp750 SmallVector<BasicBlock *, 4> ExitingBlocks; in canLoopBeDeleted() local
751 L->getExitingBlocks(ExitingBlocks); in canLoopBeDeleted()
754 if (ExitBlocks.size() > 1 || ExitingBlocks.size() > 1) in canLoopBeDeleted()
760 Value *Incoming = P->getIncomingValueForBlock(ExitingBlocks[0]); in canLoopBeDeleted()
DLoopStrengthReduce.cpp2072 SmallVector<BasicBlock*, 8> ExitingBlocks; in OptimizeLoopTermCond() local
2073 L->getExitingBlocks(ExitingBlocks); in OptimizeLoopTermCond()
2075 for (BasicBlock *ExitingBlock : ExitingBlocks) { in OptimizeLoopTermCond()
4395 SmallVector<BasicBlock *, 4> ExitingBlocks; in AdjustInsertPositionForExpand() local
4396 PIL->getExitingBlocks(ExitingBlocks); in AdjustInsertPositionForExpand()
4397 if (!ExitingBlocks.empty()) { in AdjustInsertPositionForExpand()
4398 BasicBlock *BB = ExitingBlocks[0]; in AdjustInsertPositionForExpand()
4399 for (unsigned i = 1, e = ExitingBlocks.size(); i != e; ++i) in AdjustInsertPositionForExpand()
4400 BB = DT.findNearestCommonDominator(BB, ExitingBlocks[i]); in AdjustInsertPositionForExpand()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1895 SmallVector<BasicBlock *, 4> ExitingBlocks; in findExistingExpansion() local
1896 L->getExitingBlocks(ExitingBlocks); in findExistingExpansion()
1899 for (BasicBlock *BB : ExitingBlocks) { in findExistingExpansion()
DScalarEvolution.cpp5663 SmallVector<BasicBlock *, 8> ExitingBlocks; in computeBackedgeTakenCount() local
5664 L->getExitingBlocks(ExitingBlocks); in computeBackedgeTakenCount()
5675 for (unsigned i = 0, e = ExitingBlocks.size(); i != e; ++i) { in computeBackedgeTakenCount()
5676 BasicBlock *ExitBB = ExitingBlocks[i]; in computeBackedgeTakenCount()