template<typename NodeTy>
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 64 of file ilist.h.
template<typename NodeTy >
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 65 of file ilist.h.