Simplify users of induction variables within this loop.
Declared in <llvm/Transforms/Utils/SimplifyIndVar.h>
bool
simplifyLoopIVs(
Loop* L,
ScalarEvolution* SE,
DominatorTree* DT,
LoopInfo* LI,
TargetTransformInfo const* TTI,
SmallVectorImpl<WeakTrackingVH>& Dead);
This does not actually change or add IVs.
True if any induction-variable users were simplified.
| Name | Description |
|---|---|
| L | Loop whose induction-variable users may be simplified. |
| SE | ScalarEvolution used to analyze IV recurrences. |
| DT | Dominator tree used by simplification. |
| LI | Loop info for the function containing L. |
| TTI | Target transform info used for profitability checks. |
| Dead | Receives instructions that become dead and may be deleted. |