LLVM  16.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::SelectionDAG::DAGNodeInsertedListener Struct Reference

#include "llvm/CodeGen/SelectionDAG.h"

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

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 343 of file SelectionDAG.h.

Constructor & Destructor Documentation

◆ DAGNodeInsertedListener()

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

Definition at line 346 of file SelectionDAG.h.

Member Function Documentation

◆ NodeInserted()

void llvm::SelectionDAG::DAGNodeInsertedListener::NodeInserted ( SDNode N)
inlineoverridevirtual

The node N that was inserted.

Reimplemented from llvm::SelectionDAG::DAGUpdateListener.

Definition at line 350 of file SelectionDAG.h.

References Callback, and N.

Member Data Documentation

◆ Callback

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

Definition at line 344 of file SelectionDAG.h.

Referenced by NodeInserted().


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