Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopDeletion.cpp57 bool isLoopDead(Loop *L, SmallVectorImpl<BasicBlock *> &exitingBlocks,
83 SmallVectorImpl<BasicBlock *> &exitingBlocks, in isLoopDead() argument
95 Value *incoming = P->getIncomingValueForBlock(exitingBlocks[0]); in isLoopDead()
101 for (unsigned i = 1, e = exitingBlocks.size(); i < e; ++i) { in isLoopDead()
102 if (incoming != P->getIncomingValueForBlock(exitingBlocks[i])) in isLoopDead()
154 SmallVector<BasicBlock*, 4> exitingBlocks; in runOnLoop() local
155 L->getExitingBlocks(exitingBlocks); in runOnLoop()
169 if (!isLoopDead(L, exitingBlocks, exitBlocks, Changed, preheader)) in runOnLoop()
198 BasicBlock *exitingBlock = exitingBlocks[0]; in runOnLoop()
204 for (unsigned i = 1; i < exitingBlocks.size(); ++i) in runOnLoop()
[all …]