llvm::normalizeForPostIncUseIf

Normalize S for all add recurrence sub-expressions for which Pred returns true.

Synopsis

Declared in <llvm/Analysis/ScalarEvolutionNormalization.h>

SCEV const*
normalizeForPostIncUseIf(
    SCEV const* S,
    NormalizePredTy Pred,
    ScalarEvolution& SE);

Return Value

The normalized SCEV.

Parameters

NameDescription
SSCEV expression to normalize.
PredPredicate selecting which add-recurrence sub-expressions to normalize.
SEScalar evolution used to rebuild expressions.