class GraphDiff
Declaration
template <typename NodePtr, bool InverseGraph = false>
class GraphDiff { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Support/CFGDiff.h:57
Templates
- NodePtr
- bool InverseGraph = false
Member Variables
- private llvm::GraphDiff::UpdateMapType Succ
- private llvm::GraphDiff::UpdateMapType Pred
- private bool UpdatedAreReverseApplied
- private SmallVector<cfg::Update<NodePtr>, 4> LegalizedUpdates
Method Overview
- public GraphDiff<NodePtr, InverseGraph>()
- public GraphDiff<NodePtr, InverseGraph>(ArrayRef<cfg::Update<NodePtr>> Updates, bool ReverseApplyUpdates = false)
- public void dump() const
- public template <bool InverseEdge>llvm::GraphDiff::VectRet getChildren(NodePtr N) const
- public auto getLegalizedUpdates() const
- public unsigned int getNumLegalizedUpdates() const
- public cfg::Update<NodePtr> popUpdateForIncrementalUpdates()
- public void print(llvm::raw_ostream & OS) const
- private void printMap(llvm::raw_ostream & OS, const llvm::GraphDiff::UpdateMapType & M) const
Methods
¶GraphDiff<NodePtr, InverseGraph>()
GraphDiff<NodePtr, InverseGraph>()
Declared at: llvm/include/llvm/Support/CFGDiff.h:94
¶GraphDiff<NodePtr, InverseGraph>(
ArrayRef<cfg::Update<NodePtr>> Updates,
bool ReverseApplyUpdates = false)
GraphDiff<NodePtr, InverseGraph>(
ArrayRef<cfg::Update<NodePtr>> Updates,
bool ReverseApplyUpdates = false)
Declared at: llvm/include/llvm/Support/CFGDiff.h:95
Parameters
- ArrayRef<cfg::Update<NodePtr>> Updates
- bool ReverseApplyUpdates = false
¶void dump() const
void dump() const
Declared at: llvm/include/llvm/Support/CFGDiff.h:172
¶template <bool InverseEdge>
llvm::GraphDiff::VectRet getChildren(
NodePtr N) const
template <bool InverseEdge>
llvm::GraphDiff::VectRet getChildren(
NodePtr N) const
Declared at: llvm/include/llvm/Support/CFGDiff.h:135
Templates
- bool InverseEdge
Parameters
- NodePtr N
¶auto getLegalizedUpdates() const
auto getLegalizedUpdates() const
Declared at: llvm/include/llvm/Support/CFGDiff.h:107
¶unsigned int getNumLegalizedUpdates() const
unsigned int getNumLegalizedUpdates() const
Declared at: llvm/include/llvm/Support/CFGDiff.h:111
¶cfg::Update<NodePtr>
popUpdateForIncrementalUpdates()
cfg::Update<NodePtr>
popUpdateForIncrementalUpdates()
Declared at: llvm/include/llvm/Support/CFGDiff.h:113
¶void print(llvm::raw_ostream& OS) const
void print(llvm::raw_ostream& OS) const
Declared at: llvm/include/llvm/Support/CFGDiff.h:160
Parameters
¶void printMap(
llvm::raw_ostream& OS,
const llvm::GraphDiff::UpdateMapType& M) const
void printMap(
llvm::raw_ostream& OS,
const llvm::GraphDiff::UpdateMapType& M) const
Declared at: llvm/include/llvm/Support/CFGDiff.h:76
Parameters
- llvm::raw_ostream& OS
- const llvm::GraphDiff::UpdateMapType& M