/external/llvm/lib/Transforms/Utils/ |
LCSSA.cpp | 78 const SmallVectorImpl<BasicBlock*> &ExitBlocks); 106 const SmallVectorImpl<BasicBlock*> &ExitBlocks, 109 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 110 if (DT->dominates(DomNode, DT->getNode(ExitBlocks[i]))) 126 SmallVector<BasicBlock*, 8> ExitBlocks; 127 L->getExitBlocks(ExitBlocks); 129 if (ExitBlocks.empty()) 148 if (!BlockDominatesAnExit(BB, ExitBlocks, DT)) 160 MadeChange |= ProcessInstruction(I, ExitBlocks); 178 const SmallVectorImpl<BasicBlock*> &ExitBlocks) { [all...] |
LoopSimplify.cpp | 222 SmallVector<BasicBlock*, 8> ExitBlocks; 223 L->getExitBlocks(ExitBlocks); 225 SmallSetVector<BasicBlock *, 8> ExitBlockSet(ExitBlocks.begin(), 226 ExitBlocks.end()); 293 if (!ExitBlocks.empty()) 294 for (unsigned i = 1, e = ExitBlocks.size(); i != e; ++i) 295 if (ExitBlocks[i] != ExitBlocks[0]) {
|
BreakCriticalEdges.cpp | 350 SmallVector<BasicBlock *, 4> ExitBlocks; 351 TIL->getExitBlocks(ExitBlocks); 352 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) { 357 BasicBlock *Exit = ExitBlocks[i];
|
CodeExtractor.cpp | 722 SmallPtrSet<BasicBlock *, 1> ExitBlocks; 727 ExitBlocks.insert(*SI); 728 NumExitBlocks = ExitBlocks.size();
|
/external/llvm/lib/Transforms/Scalar/ |
LoopInstSimplify.cpp | 73 SmallVector<BasicBlock*, 8> ExitBlocks; 74 L->getUniqueExitBlocks(ExitBlocks); 75 array_pod_sort(ExitBlocks.begin(), ExitBlocks.end()); 157 bool IsExitBlock = std::binary_search(ExitBlocks.begin(), 158 ExitBlocks.end(), SuccBB);
|
LICM.cpp | 185 SmallVectorImpl<BasicBlock*> &ExitBlocks, 276 SmallVector<BasicBlock *, 8> ExitBlocks; 282 PromoteAliasSet(*I, ExitBlocks, InsertPts); 482 SmallVector<BasicBlock*, 8> ExitBlocks; 483 CurLoop->getUniqueExitBlocks(ExitBlocks); 493 if (ExitBlocks.size() == 1) { 494 if (!DT->dominates(I.getParent(), ExitBlocks[0])) { 506 I.moveBefore(ExitBlocks[0]->getFirstInsertionPt()); 516 if (ExitBlocks.empty()) { 538 // ExitBlocks list once [all...] |
LoopUnswitch.cpp | 199 void SplitExitEdges(Loop *L, const SmallVector<BasicBlock *, 8> &ExitBlocks); 755 const SmallVector<BasicBlock *, 8> &ExitBlocks){ 757 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) { 758 BasicBlock *ExitBlock = ExitBlocks[i]; 799 SmallVector<BasicBlock*, 8> ExitBlocks; 800 L->getUniqueExitBlocks(ExitBlocks); 804 SplitExitEdges(L, ExitBlocks); 807 ExitBlocks.clear(); 808 L->getUniqueExitBlocks(ExitBlocks); 811 LoopBlocks.insert(LoopBlocks.end(), ExitBlocks.begin(), ExitBlocks.end()) [all...] |
LoopIdiomRecognize.cpp | 148 SmallVectorImpl<BasicBlock*> &ExitBlocks); 679 SmallVector<BasicBlock*, 8> ExitBlocks; 680 CurLoop->getUniqueExitBlocks(ExitBlocks); 694 MadeChange |= runOnLoopBlock(*BI, BECount, ExitBlocks); 730 SmallVectorImpl<BasicBlock*> &ExitBlocks) { 734 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 735 if (!DT->dominates(BB, ExitBlocks[i])) [all...] |
IndVarSimplify.cpp | 481 SmallVector<BasicBlock*, 8> ExitBlocks; 482 L->getUniqueExitBlocks(ExitBlocks); 487 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) { 488 BasicBlock *ExitBB = ExitBlocks[i]; [all...] |
/external/llvm/lib/Transforms/IPO/ |
LoopExtractor.cpp | 109 SmallVector<BasicBlock*, 8> ExitBlocks; 110 L->getExitBlocks(ExitBlocks); 111 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 112 if (!isa<ReturnInst>(ExitBlocks[i]->getTerminator())) { 123 SmallVector<BasicBlock*, 8> ExitBlocks; 124 L->getExitBlocks(ExitBlocks); 125 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 126 if (ExitBlocks[i]->isLandingPad()) {
|
/external/llvm/lib/Analysis/ |
LoopInfo.cpp | 294 SmallVector<BasicBlock *, 4> ExitBlocks; 295 getExitBlocks(ExitBlocks); 296 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) 297 for (pred_iterator PI = pred_begin(ExitBlocks[i]), 298 PE = pred_end(ExitBlocks[i]); PI != PE; ++PI) 310 Loop::getUniqueExitBlocks(SmallVectorImpl<BasicBlock *> &ExitBlocks) const { 335 // then only insert exit block in to the output ExitBlocks vector. 337 // ExitBlocks vector. 345 ExitBlocks.push_back(*I); 350 // only one edge in ExitBlocks. Use switchExitBlocks to keep track o [all...] |
ScalarEvolution.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
LoopInfoImpl.h | 67 getExitBlocks(SmallVectorImpl<BlockT*> &ExitBlocks) const { 80 ExitBlocks.push_back(*I); 87 SmallVector<BlockT*, 8> ExitBlocks; 88 getExitBlocks(ExitBlocks); 89 if (ExitBlocks.size() == 1) 90 return ExitBlocks[0];
|
LoopInfo.h | 197 void getExitBlocks(SmallVectorImpl<BlockT*> &ExitBlocks) const; 402 void getUniqueExitBlocks(SmallVectorImpl<BasicBlock *> &ExitBlocks) const;
|
/external/llvm/lib/CodeGen/ |
MachineLICM.cpp | 84 SmallVector<MachineBasicBlock*, 8> ExitBlocks; 87 return std::find(ExitBlocks.begin(), ExitBlocks.end(), MBB) != 88 ExitBlocks.end(); 359 ExitBlocks.clear(); 368 CurLoop->getExitBlocks(ExitBlocks); [all...] |
/external/llvm/lib/Target/R600/ |
AMDILCFGStructurizer.cpp | 254 BlockTSmallerVector &ExitBlocks); 276 BlockTSmallerVector &exitBlocks, [all...] |