LLVM  10.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::CriticalEdgeSplittingOptions Struct Reference

Option class for critical edge splitting. More...

#include "llvm/Transforms/Utils/BasicBlockUtils.h"

Collaboration diagram for llvm::CriticalEdgeSplittingOptions:
Collaboration graph
[legend]

Public Member Functions

 CriticalEdgeSplittingOptions (DominatorTree *DT=nullptr, LoopInfo *LI=nullptr, MemorySSAUpdater *MSSAU=nullptr, PostDominatorTree *PDT=nullptr)
 
CriticalEdgeSplittingOptionssetMergeIdenticalEdges ()
 
CriticalEdgeSplittingOptionssetKeepOneInputPHIs ()
 
CriticalEdgeSplittingOptionssetPreserveLCSSA ()
 
CriticalEdgeSplittingOptionssetIgnoreUnreachableDests ()
 

Public Attributes

DominatorTreeDT
 
PostDominatorTreePDT
 
LoopInfoLI
 
MemorySSAUpdaterMSSAU
 
bool MergeIdenticalEdges = false
 
bool KeepOneInputPHIs = false
 
bool PreserveLCSSA = false
 
bool IgnoreUnreachableDests = false
 

Detailed Description

Option class for critical edge splitting.

This provides a builder interface for overriding the default options used during critical edge splitting.

Definition at line 117 of file BasicBlockUtils.h.

Constructor & Destructor Documentation

◆ CriticalEdgeSplittingOptions()

llvm::CriticalEdgeSplittingOptions::CriticalEdgeSplittingOptions ( DominatorTree DT = nullptr,
LoopInfo LI = nullptr,
MemorySSAUpdater MSSAU = nullptr,
PostDominatorTree PDT = nullptr 
)
inline

Definition at line 127 of file BasicBlockUtils.h.

Referenced by setIgnoreUnreachableDests(), and llvm::SplitCriticalEdge().

Member Function Documentation

◆ setIgnoreUnreachableDests()

CriticalEdgeSplittingOptions& llvm::CriticalEdgeSplittingOptions::setIgnoreUnreachableDests ( )
inline

Definition at line 148 of file BasicBlockUtils.h.

References CriticalEdgeSplittingOptions(), and llvm::SplitCriticalEdge().

◆ setKeepOneInputPHIs()

CriticalEdgeSplittingOptions& llvm::CriticalEdgeSplittingOptions::setKeepOneInputPHIs ( )
inline

Definition at line 138 of file BasicBlockUtils.h.

◆ setMergeIdenticalEdges()

CriticalEdgeSplittingOptions& llvm::CriticalEdgeSplittingOptions::setMergeIdenticalEdges ( )
inline

Definition at line 133 of file BasicBlockUtils.h.

Referenced by SplitCriticalSideEffectEdges().

◆ setPreserveLCSSA()

CriticalEdgeSplittingOptions& llvm::CriticalEdgeSplittingOptions::setPreserveLCSSA ( )
inline

Definition at line 143 of file BasicBlockUtils.h.

Member Data Documentation

◆ DT

DominatorTree* llvm::CriticalEdgeSplittingOptions::DT

Definition at line 118 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ IgnoreUnreachableDests

bool llvm::CriticalEdgeSplittingOptions::IgnoreUnreachableDests = false

Definition at line 125 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ KeepOneInputPHIs

bool llvm::CriticalEdgeSplittingOptions::KeepOneInputPHIs = false

Definition at line 123 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ LI

LoopInfo* llvm::CriticalEdgeSplittingOptions::LI

Definition at line 120 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ MergeIdenticalEdges

bool llvm::CriticalEdgeSplittingOptions::MergeIdenticalEdges = false

Definition at line 122 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ MSSAU

MemorySSAUpdater* llvm::CriticalEdgeSplittingOptions::MSSAU

Definition at line 121 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ PDT

PostDominatorTree* llvm::CriticalEdgeSplittingOptions::PDT

Definition at line 119 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ PreserveLCSSA

bool llvm::CriticalEdgeSplittingOptions::PreserveLCSSA = false

Definition at line 124 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().


The documentation for this struct was generated from the following file: