LLVM 20.0.0git
|
#include "llvm/CodeGen/MachineFunction.h"
Public Member Functions | |
void | addNodeToList (MachineBasicBlock *N) |
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 (MachineBasicBlock *N) |
template<class Iterator > | |
void | transferNodesFromList (ilist_callback_traits &OldList, Iterator, Iterator) |
Definition at line 81 of file MachineFunction.h.
void llvm::ilist_callback_traits< MachineBasicBlock >::addNodeToList | ( | MachineBasicBlock * | N | ) |
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 133 of file MachineBasicBlock.cpp.
References llvm::MachineFunction::addToMBBNumbering(), llvm::MachineFunction::getRegInfo(), MI, and N.
void llvm::ilist_callback_traits< MachineBasicBlock >::removeNodeFromList | ( | MachineBasicBlock * | N | ) |
Definition at line 144 of file MachineBasicBlock.cpp.
References N.
|
inline |
Definition at line 86 of file MachineFunction.h.
References assert().