LLVM  6.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)
 
CriticalEdgeSplittingOptionssetMergeIdenticalEdges ()
 
CriticalEdgeSplittingOptionssetDontDeleteUselessPHIs ()
 
CriticalEdgeSplittingOptionssetPreserveLCSSA ()
 

Public Attributes

DominatorTreeDT
 
LoopInfoLI
 
bool MergeIdenticalEdges = false
 
bool DontDeleteUselessPHIs = false
 
bool PreserveLCSSA = 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 82 of file BasicBlockUtils.h.

Constructor & Destructor Documentation

◆ CriticalEdgeSplittingOptions()

llvm::CriticalEdgeSplittingOptions::CriticalEdgeSplittingOptions ( DominatorTree DT = nullptr,
LoopInfo LI = nullptr 
)
inline

Definition at line 89 of file BasicBlockUtils.h.

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

Member Function Documentation

◆ setDontDeleteUselessPHIs()

CriticalEdgeSplittingOptions& llvm::CriticalEdgeSplittingOptions::setDontDeleteUselessPHIs ( )
inline

Definition at line 98 of file BasicBlockUtils.h.

◆ setMergeIdenticalEdges()

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

Definition at line 93 of file BasicBlockUtils.h.

Referenced by SplitCriticalSideEffectEdges().

◆ setPreserveLCSSA()

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

Definition at line 103 of file BasicBlockUtils.h.

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

Referenced by CloneLoop().

Member Data Documentation

◆ DontDeleteUselessPHIs

bool llvm::CriticalEdgeSplittingOptions::DontDeleteUselessPHIs = false

Definition at line 86 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ DT

DominatorTree* llvm::CriticalEdgeSplittingOptions::DT

Definition at line 83 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ LI

LoopInfo* llvm::CriticalEdgeSplittingOptions::LI

Definition at line 84 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ MergeIdenticalEdges

bool llvm::CriticalEdgeSplittingOptions::MergeIdenticalEdges = false

Definition at line 85 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().

◆ PreserveLCSSA

bool llvm::CriticalEdgeSplittingOptions::PreserveLCSSA = false

Definition at line 87 of file BasicBlockUtils.h.

Referenced by llvm::SplitCriticalEdge().


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