HomeSort by relevance Sort by last modified time
    Searched defs:ExitBlocks (Results 1 - 12 of 12) sorted by null

  /external/llvm/lib/Transforms/IPO/
LoopExtractor.cpp 115 SmallVector<BasicBlock*, 8> ExitBlocks;
116 L->getExitBlocks(ExitBlocks);
117 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i)
118 if (!isa<ReturnInst>(ExitBlocks[i]->getTerminator())) {
129 SmallVector<BasicBlock*, 8> ExitBlocks;
130 L->getExitBlocks(ExitBlocks);
131 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i)
132 if (ExitBlocks[i]->isEHPad()) {
  /external/llvm/lib/Transforms/Scalar/
LoopInstSimplify.cpp 85 SmallVector<BasicBlock*, 8> ExitBlocks;
86 L->getUniqueExitBlocks(ExitBlocks);
87 array_pod_sort(ExitBlocks.begin(), ExitBlocks.end());
177 bool IsExitBlock = std::binary_search(ExitBlocks.begin(),
178 ExitBlocks.end(), SuccBB);
LICM.cpp 259 SmallVector<BasicBlock *, 8> ExitBlocks;
266 Changed |= promoteLoopAccessesToScalars(*I, ExitBlocks, InsertPts,
613 SmallVector<BasicBlock *, 32> ExitBlocks;
614 CurLoop->getUniqueExitBlocks(ExitBlocks);
615 SmallPtrSet<BasicBlock *, 32> ExitBlockSet(ExitBlocks.begin(),
616 ExitBlocks.end());
723 SmallVector<BasicBlock*, 8> ExitBlocks;
724 CurLoop->getExitBlocks(ExitBlocks);
727 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i)
728 if (!DT->dominates(Inst.getParent(), ExitBlocks[i])
    [all...]
LoopUnswitch.cpp 241 const SmallVectorImpl<BasicBlock *> &ExitBlocks);
    [all...]
IndVarSimplify.cpp 546 SmallVector<BasicBlock*, 8> ExitBlocks;
547 L->getUniqueExitBlocks(ExitBlocks);
553 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) {
554 BasicBlock *ExitBB = ExitBlocks[i];
732 SmallVector<BasicBlock *, 8> ExitBlocks;
733 L->getUniqueExitBlocks(ExitBlocks);
734 if (ExitBlocks.size() > 1 || ExitingBlocks.size() > 1)
737 BasicBlock *ExitBlock = ExitBlocks[0];
    [all...]
  /external/llvm/lib/Transforms/Utils/
LCSSA.cpp 54 const SmallVectorImpl<BasicBlock *> &ExitBlocks) {
55 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i)
56 if (ExitBlocks[i] == BB)
65 const SmallVectorImpl<BasicBlock *> &ExitBlocks,
112 for (BasicBlock *ExitBB : ExitBlocks) {
166 if (isa<PHINode>(UserBB->begin()) && isExitBlock(UserBB, ExitBlocks)) {
210 const SmallVectorImpl<BasicBlock *> &ExitBlocks) {
212 for (BasicBlock *ExitBB : ExitBlocks)
224 SmallVector<BasicBlock *, 8> ExitBlocks;
225 L.getExitBlocks(ExitBlocks);
    [all...]
LoopUnroll.cpp 219 SmallVector<BasicBlock *, 4> ExitBlocks;
220 L->getExitBlocks(ExitBlocks);
223 std::all_of(ExitBlocks.begin(), ExitBlocks.end(),
CodeExtractor.cpp 723 SmallPtrSet<BasicBlock *, 1> ExitBlocks;
728 ExitBlocks.insert(*SI);
729 NumExitBlocks = ExitBlocks.size();
LoopSimplify.cpp 543 SmallVector<BasicBlock*, 8> ExitBlocks;
544 L->getExitBlocks(ExitBlocks);
546 SmallSetVector<BasicBlock *, 8> ExitBlockSet(ExitBlocks.begin(),
547 ExitBlocks.end());
621 if (!ExitBlocks.empty())
622 for (unsigned i = 1, e = ExitBlocks.size(); i != e; ++i)
623 if (ExitBlocks[i] != ExitBlocks[0]) {
    [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];
  /external/llvm/lib/CodeGen/
ShrinkWrap.cpp 365 SmallVector<MachineBasicBlock*, 4> ExitBlocks;
366 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks);
370 for (MachineBasicBlock *LoopExitBB: ExitBlocks) {
MachineLICM.cpp 92 SmallVector<MachineBasicBlock*, 8> ExitBlocks;
95 return std::find(ExitBlocks.begin(), ExitBlocks.end(), MBB) !=
96 ExitBlocks.end();
302 ExitBlocks.clear();
311 CurLoop->getExitBlocks(ExitBlocks);
    [all...]

Completed in 62 milliseconds