ΒΆtemplate <typename LoopNestPassT>
inline std::enable_if_t<
    !is_detected<llvm::(anonymous namespace)::
                     HasRunOnLoopT,
                 LoopNestPassT>::value,
    FunctionToLoopPassAdaptor>
createFunctionToLoopPassAdaptor(
    LoopNestPassT&& Pass,
    bool UseMemorySSA = false,
    bool UseBlockFrequencyInfo = false,
    bool UseBranchProbabilityInfo = false)

Description

If \p Pass is a loop-nest pass, \p Pass will first be wrapped into a\c LoopPassManager and the returned adaptor will be in loop-nest mode.

Declared at: llvm/include/llvm/Transforms/Scalar/LoopPassManager.h:491

Templates

LoopNestPassT

Parameters

LoopNestPassT&& Pass
bool UseMemorySSA = false
bool UseBlockFrequencyInfo = false
bool UseBranchProbabilityInfo = false