ΒΆinline bool SplitCriticalEdge(
    llvm::BasicBlock* Succ,
    llvm::pred_iterator PI,
    const llvm::CriticalEdgeSplittingOptions&
        Options =
            llvm::CriticalEdgeSplittingOptions())

Description

If the edge from *PI to BB is not critical, return false. Otherwise, split all edges between the two blocks and return true. This updates all of the same analyses as the other SplitCriticalEdge function. If P is specified, it updates the analyses described above.

Declared at: llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h:190

Parameters

llvm::BasicBlock* Succ
llvm::pred_iterator PI
const llvm::CriticalEdgeSplittingOptions& Options = llvm::CriticalEdgeSplittingOptions()