forked from OSchip/llvm-project
ADd a method for when an instruction moves
llvm-svn: 11626
This commit is contained in:
parent
afa9d7eb85
commit
bef87a990a
|
@ -167,6 +167,12 @@ public:
|
||||||
//===--------------------------------------------------------------------===//
|
//===--------------------------------------------------------------------===//
|
||||||
// API to update live variable information
|
// API to update live variable information
|
||||||
|
|
||||||
|
/// instructionChanged - When the address of an instruction changes, this
|
||||||
|
/// method should be called so that live variables can update its internal
|
||||||
|
/// data structures. This removes the records for OldMI, transfering them to
|
||||||
|
/// the records for NewMI.
|
||||||
|
void instructionChanged(MachineInstr *OldMI, MachineInstr *NewMI);
|
||||||
|
|
||||||
/// addVirtualRegisterKilled - Add information about the fact that the
|
/// addVirtualRegisterKilled - Add information about the fact that the
|
||||||
/// specified register is killed after being used by the specified
|
/// specified register is killed after being used by the specified
|
||||||
/// instruction.
|
/// instruction.
|
||||||
|
|
Loading…
Reference in New Issue