ΒΆbool formDedicatedExitBlocks(
    llvm::Loop* L,
    llvm::DominatorTree* DT,
    llvm::LoopInfo* LI,
    llvm::MemorySSAUpdater* MSSAU,
    bool PreserveLCSSA)

Description

Ensure that all exit blocks of the loop are dedicated exits. For any loop exit block with non-loop predecessors, we split the loop predecessors to use a dedicated loop exit block. We update the dominator tree and loop info if provided, and will preserve LCSSA if requested.

Declared at: llvm/include/llvm/Transforms/Utils/LoopUtils.h:62

Parameters

llvm::Loop* L
llvm::DominatorTree* DT
llvm::LoopInfo* LI
llvm::MemorySSAUpdater* MSSAU
bool PreserveLCSSA