Callbacks do nothing by default in iplist and ilist.
Declared in <llvm/ADT/ilist.h>
template<typename NodeTy>
struct ilist_callback_traits;
Specialize this for to use callbacks for when nodes change their list membership.
| Name | Description |
|---|---|
addNodeToList | Called when a node is inserted into the list (default: no-op). |
removeNodeFromList | Called when a node is removed from the list (default: no-op). |
transferNodesFromList | Callback before transferring nodes to this list. The nodes may already be in this same list. |
| Name | Description |
|---|---|
ilist_callback_traits<MachineBasicBlock> | Callback traits notifying a MachineFunction when MBBs enter or leave it. |
| Name | Description |
|---|---|
ilist_node_traits | A fragment for template traits for intrusive list that provides default node related operations. |