LLVM: llvm::ilist_callback_traits< NodeTy > Struct Template Reference (original) (raw)

Callbacks do nothing by default in iplist and ilist. More...

#include "[llvm/ADT/ilist.h](ilist%5F8h%5Fsource.html)"

Public Member Functions
void addNodeToList (NodeTy *)
When an MBB is added to an MF, we need to update the parent pointer of the MBB, the MBB numbering, and any instructions in the MBB to be on the right operand list for registers.
void removeNodeFromList (NodeTy *)
template
void transferNodesFromList (ilist_callback_traits &OldList, Iterator, Iterator)
Callback before transferring nodes to this list.

template
struct llvm::ilist_callback_traits< NodeTy >

Callbacks do nothing by default in iplist and ilist.

Specialize this for to use callbacks for when nodes change their list membership.

Definition at line 65 of file ilist.h.

addNodeToList()

template

void ilist_callback_traits::addNodeToList ( NodeTy * ) inline

When an MBB is added to an MF, we need to update the parent pointer of the MBB, the MBB numbering, and any instructions in the MBB to be on the right operand list for registers.

MBBs start out as #-1. When a MBB is added to a MachineFunction, it gets the next available unique MBB number. If it is removed from a MachineFunction, it goes back to being #-1.

Definition at line 66 of file ilist.h.

removeNodeFromList()

template

void ilist_callback_traits::removeNodeFromList ( NodeTy * ) inline

Definition at line 67 of file ilist.h.

transferNodesFromList()

template

template

Callback before transferring nodes to this list.

The nodes may already be in this same list.

Definition at line 72 of file ilist.h.


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