Check inner loop (L) backedge count is known to be invariant on all iterations of its outer loop. If the loop has no parent, this is trivially true.
Declared in <llvm/Transforms/Utils/LoopUtils.h>
bool
hasIterationCountInvariantInParent(
Loop* L,
ScalarEvolution& SE);
True if L's backedge count is invariant in its parent loop.
| Name | Description |
|---|---|
| L | The inner loop whose backedge count is checked. |
| SE | ScalarEvolution used to prove invariance. |