Home
last modified time | relevance | path

Searched refs:exitingBlocks (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopDeletion.cpp39 bool IsLoopDead(Loop* L, SmallVector<BasicBlock*, 4>& exitingBlocks,
78 SmallVector<BasicBlock*, 4>& exitingBlocks, in IsLoopDead() argument
90 Value* incoming = P->getIncomingValueForBlock(exitingBlocks[0]); in IsLoopDead()
96 for (unsigned i = 1; i < exitingBlocks.size(); ++i) { in IsLoopDead()
97 if (incoming != P->getIncomingValueForBlock(exitingBlocks[i])) in IsLoopDead()
146 SmallVector<BasicBlock*, 4> exitingBlocks; in runOnLoop() local
147 L->getExitingBlocks(exitingBlocks); in runOnLoop()
161 if (!IsLoopDead(L, exitingBlocks, exitBlocks, Changed, preheader)) in runOnLoop()
190 BasicBlock* exitingBlock = exitingBlocks[0]; in runOnLoop()
196 for (unsigned i = 1; i < exitingBlocks.size(); ++i) in runOnLoop()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopDeletion.cpp36 SmallVectorImpl<BasicBlock *> &exitingBlocks, in isLoopDead() argument
50 Value *incoming = P->getIncomingValueForBlock(exitingBlocks[0]); in isLoopDead()
57 all_of(makeArrayRef(exitingBlocks).slice(1), [&](BasicBlock *BB) { in isLoopDead()
119 SmallVector<BasicBlock *, 4> exitingBlocks; in runImpl() local
120 L->getExitingBlocks(exitingBlocks); in runImpl()
134 if (!isLoopDead(L, SE, exitingBlocks, exitBlocks, Changed, preheader)) in runImpl()
162 BasicBlock *exitingBlock = exitingBlocks[0]; in runImpl()
168 for (unsigned i = 1; i < exitingBlocks.size(); ++i) in runImpl()
169 P->removeIncomingValue(exitingBlocks[i]); in runImpl()
/external/llvm/include/llvm/Transforms/Scalar/
DLoopDeletion.h32 SmallVectorImpl<BasicBlock *> &exitingBlocks,