LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::SelectionDAG::DAGNodeDeletedListener Struct Reference

#include "llvm/CodeGen/SelectionDAG.h"

Inheritance diagram for llvm::SelectionDAG::DAGNodeDeletedListener:
Inheritance graph
[legend]
Collaboration diagram for llvm::SelectionDAG::DAGNodeDeletedListener:
Collaboration graph
[legend]

Public Member Functions

 DAGNodeDeletedListener (SelectionDAG &DAG, std::function< void(SDNode *, SDNode *)> Callback)
 
void NodeDeleted (SDNode *N, SDNode *E) override
 The node N that was deleted and, if E is not null, an equivalent node E that replaced it. More...
 
- Public Member Functions inherited from llvm::SelectionDAG::DAGUpdateListener
 DAGUpdateListener (SelectionDAG &D)
 
virtual ~DAGUpdateListener ()
 
virtual void NodeUpdated (SDNode *N)
 The node N that was updated. More...
 

Public Attributes

std::function< void(SDNode *, SDNode *)> Callback
 
- Public Attributes inherited from llvm::SelectionDAG::DAGUpdateListener
DAGUpdateListener *const Next
 
SelectionDAGDAG
 

Detailed Description

Definition at line 286 of file SelectionDAG.h.

Constructor & Destructor Documentation

◆ DAGNodeDeletedListener()

llvm::SelectionDAG::DAGNodeDeletedListener::DAGNodeDeletedListener ( SelectionDAG DAG,
std::function< void(SDNode *, SDNode *)>  Callback 
)
inline

Definition at line 289 of file SelectionDAG.h.

Member Function Documentation

◆ NodeDeleted()

void llvm::SelectionDAG::DAGNodeDeletedListener::NodeDeleted ( SDNode N,
SDNode E 
)
inlineoverridevirtual

The node N that was deleted and, if E is not null, an equivalent node E that replaced it.

Reimplemented from llvm::SelectionDAG::DAGUpdateListener.

Definition at line 293 of file SelectionDAG.h.

Member Data Documentation

◆ Callback

std::function<void(SDNode *, SDNode *)> llvm::SelectionDAG::DAGNodeDeletedListener::Callback

Definition at line 287 of file SelectionDAG.h.


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