llvm::formLCSSARecursively

Put a loop nest into LCSSA form.

Synopsis

Declared in <llvm/Transforms/Utils/LoopUtils.h>

bool
formLCSSARecursively(
    Loop& L,
    DominatorTree const& DT,
    LoopInfo const* LI,
    ScalarEvolution* SE);

Description

This recursively forms LCSSA for a loop nest.

LoopInfo and DominatorTree are required and preserved.

If ScalarEvolution is passed in, it will be preserved.

Returns true if any modifications are made to the loop.

Return Value

True if any modifications were made to the loop.

Parameters

NameDescription
LThe outermost loop of the nest to put into LCSSA form.
DTDominator tree for the function.
LILoop info for the function.
SEOptional ScalarEvolution to preserve, or nullptr.