SplitCriticalEdge overloads

Synopses

Declared in <llvm/CodeGen/MachineBasicBlock.h>

Split the critical edge from this block to Succ via the new PM.

MachineBasicBlock*
SplitCriticalEdge(
    MachineBasicBlock* Succ,
    MachineFunctionAnalysisManager& MFAM,
    std::vector<SparseBitVector<>>* LiveInSets = nullptr,
    MachineDomTreeUpdater* MDTU = nullptr);

Split the critical edge from this block to Succ via the legacy PM.

MachineBasicBlock*
SplitCriticalEdge(
    MachineBasicBlock* Succ,
    Pass& P,
    std::vector<SparseBitVector<>>* LiveInSets = nullptr,
    MachineDomTreeUpdater* MDTU = nullptr);

Split the critical edge using pre‐collected analysis handles.

MachineBasicBlock*
SplitCriticalEdge(
    MachineBasicBlock* Succ,
    SplitCriticalEdgeAnalyses const& Analyses,
    std::vector<SparseBitVector<>>* LiveInSets = nullptr,
    MachineDomTreeUpdater* MDTU = nullptr);

Split the critical edge from this block to Succ.

MachineBasicBlock*
SplitCriticalEdge(
    MachineBasicBlock* Succ,
    Pass* P,
    MachineFunctionAnalysisManager* MFAM,
    std::vector<SparseBitVector<>>* LiveInSets = nullptr,
    MachineDomTreeUpdater* MDTU = nullptr);

Return Value

The newly created block, or null if splitting failed.

Parameters

Name

Description

Succ

Successor at the far end of the critical edge.

MFAM

New pass manager analysis manager.

LiveInSets

Optional live‐in sets to update.

MDTU

Optional dominator tree updater.

P

Legacy pass providing analyses to update.

Analyses

Bundle of optional analyses to update.

Created with MrDocs