/external/llvm/lib/Transforms/Utils/ |
LCSSA.cpp | 52 const SmallVectorImpl<BasicBlock *> &ExitBlocks) { 53 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 54 if (ExitBlocks[i] == BB) 63 const SmallVectorImpl<BasicBlock *> &ExitBlocks, 103 for (SmallVectorImpl<BasicBlock *>::const_iterator BBI = ExitBlocks.begin(), 104 BBE = ExitBlocks.end(); 148 if (isa<PHINode>(UserBB->begin()) && isExitBlock(UserBB, ExitBlocks)) { 174 const SmallVectorImpl<BasicBlock *> &ExitBlocks) { 176 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 177 if (DT.dominates(DomNode, DT.getNode(ExitBlocks[i])) [all...] |
LoopSimplify.cpp | 556 SmallVector<BasicBlock*, 8> ExitBlocks; 557 L->getExitBlocks(ExitBlocks); 559 SmallSetVector<BasicBlock *, 8> ExitBlockSet(ExitBlocks.begin(), 560 ExitBlocks.end()); 632 if (!ExitBlocks.empty()) 633 for (unsigned i = 1, e = ExitBlocks.size(); i != e; ++i) 634 if (ExitBlocks[i] != ExitBlocks[0]) { [all...] |
CodeExtractor.cpp | 721 SmallPtrSet<BasicBlock *, 1> ExitBlocks; 726 ExitBlocks.insert(*SI); 727 NumExitBlocks = ExitBlocks.size();
|
/external/llvm/lib/Transforms/Scalar/ |
LoopInstSimplify.cpp | 80 SmallVector<BasicBlock*, 8> ExitBlocks; 81 L->getUniqueExitBlocks(ExitBlocks); 82 array_pod_sort(ExitBlocks.begin(), ExitBlocks.end()); 171 bool IsExitBlock = std::binary_search(ExitBlocks.begin(), 172 ExitBlocks.end(), SuccBB);
|
LICM.cpp | 192 SmallVectorImpl<BasicBlock*> &ExitBlocks, 300 SmallVector<BasicBlock *, 8> ExitBlocks; 307 PromoteAliasSet(*I, ExitBlocks, InsertPts, PIC); 585 SmallVector<BasicBlock *, 32> ExitBlocks; 586 CurLoop->getUniqueExitBlocks(ExitBlocks); 587 SmallPtrSet<BasicBlock *, 32> ExitBlockSet(ExitBlocks.begin(), ExitBlocks.end()); 666 SmallVector<BasicBlock*, 8> ExitBlocks; 667 CurLoop->getExitBlocks(ExitBlocks); 670 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i [all...] |
LoopUnswitch.cpp | 191 void SplitExitEdges(Loop *L, const SmallVectorImpl<BasicBlock *> &ExitBlocks); 750 const SmallVectorImpl<BasicBlock *> &ExitBlocks){ 752 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) { 753 BasicBlock *ExitBlock = ExitBlocks[i]; 794 SmallVector<BasicBlock*, 8> ExitBlocks; 795 L->getUniqueExitBlocks(ExitBlocks); 799 SplitExitEdges(L, ExitBlocks); 802 ExitBlocks.clear(); 803 L->getUniqueExitBlocks(ExitBlocks); 806 LoopBlocks.insert(LoopBlocks.end(), ExitBlocks.begin(), ExitBlocks.end()) [all...] |
LoopIdiomRecognize.cpp | 147 SmallVectorImpl<BasicBlock*> &ExitBlocks); 675 SmallVector<BasicBlock*, 8> ExitBlocks; 676 CurLoop->getUniqueExitBlocks(ExitBlocks); 690 MadeChange |= runOnLoopBlock(*BI, BECount, ExitBlocks); 729 SmallVectorImpl<BasicBlock*> &ExitBlocks) { 733 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 734 if (!DT->dominates(BB, ExitBlocks[i])) [all...] |
IndVarSimplify.cpp | 485 SmallVector<BasicBlock*, 8> ExitBlocks; 486 L->getUniqueExitBlocks(ExitBlocks); 491 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) { 492 BasicBlock *ExitBB = ExitBlocks[i]; [all...] |
/external/llvm/lib/Transforms/IPO/ |
LoopExtractor.cpp | 113 SmallVector<BasicBlock*, 8> ExitBlocks; 114 L->getExitBlocks(ExitBlocks); 115 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 116 if (!isa<ReturnInst>(ExitBlocks[i]->getTerminator())) { 127 SmallVector<BasicBlock*, 8> ExitBlocks; 128 L->getExitBlocks(ExitBlocks); 129 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 130 if (ExitBlocks[i]->isLandingPad()) {
|
/external/llvm/lib/Analysis/ |
LoopInfo.cpp | 336 SmallVector<BasicBlock *, 4> ExitBlocks; 337 getExitBlocks(ExitBlocks); 338 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 339 for (pred_iterator PI = pred_begin(ExitBlocks[i]), 340 PE = pred_end(ExitBlocks[i]); PI != PE; ++PI) 352 Loop::getUniqueExitBlocks(SmallVectorImpl<BasicBlock *> &ExitBlocks) const { 372 // then only insert exit block in to the output ExitBlocks vector. 374 // ExitBlocks vector. 382 ExitBlocks.push_back(*I); 387 // only one edge in ExitBlocks. Use switchExitBlocks to keep track o [all...] |
ScalarEvolution.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
LoopInfoImpl.h | 64 getExitBlocks(SmallVectorImpl<BlockT*> &ExitBlocks) const { 72 ExitBlocks.push_back(*I); 79 SmallVector<BlockT*, 8> ExitBlocks; 80 getExitBlocks(ExitBlocks); 81 if (ExitBlocks.size() == 1) 82 return ExitBlocks[0];
|
LoopInfo.h | 202 void getExitBlocks(SmallVectorImpl<BlockT*> &ExitBlocks) const; 448 void getUniqueExitBlocks(SmallVectorImpl<BasicBlock *> &ExitBlocks) const;
|
/external/llvm/lib/CodeGen/ |
MachineLICM.cpp | 85 SmallVector<MachineBasicBlock*, 8> ExitBlocks; 88 return std::find(ExitBlocks.begin(), ExitBlocks.end(), MBB) != 89 ExitBlocks.end(); 363 ExitBlocks.clear(); 372 CurLoop->getExitBlocks(ExitBlocks); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
AMDILCFGStructurizer.cpp | 354 BlockTSmallerVector &ExitBlocks); 376 BlockTSmallerVector &exitBlocks, [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDILCFGStructurizer.cpp | 354 BlockTSmallerVector &ExitBlocks); 376 BlockTSmallerVector &exitBlocks, [all...] |