LLVM
8.0.1
|
Callbacks do nothing by default in iplist and ilist. More...
#include "llvm/ADT/ilist.h"
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. More... | |
void | removeNodeFromList (NodeTy *) |
template<class Iterator > | |
void | transferNodesFromList (ilist_callback_traits &OldList, Iterator, Iterator) |
Callback before transferring nodes to this list. More... | |
Callbacks do nothing by default in iplist and ilist.
Specialize this for to use callbacks for when nodes change their list membership.
|
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.
Referenced by llvm::printMBBReference().
|
inline |
Definition at line 67 of file ilist.h.
Referenced by llvm::printMBBReference().
|
inline |
Callback before transferring nodes to this list.
this!=&OldList
Definition at line 73 of file ilist.h.
Referenced by llvm::printMBBReference().