LLVM  7.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
Collaboration diagram for llvm::SelectionDAG::DAGNodeDeletedListener:
Collaboration graph

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

Detailed Description

Definition at line 288 of file SelectionDAG.h.

Constructor & Destructor Documentation

◆ DAGNodeDeletedListener()

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

Definition at line 291 of file SelectionDAG.h.

Member Function Documentation

◆ NodeDeleted()

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

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 295 of file SelectionDAG.h.

Member Data Documentation

◆ Callback

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

Definition at line 289 of file SelectionDAG.h.

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