[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveVariables.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Feb 19 12:32:03 PST 2004
Changes in directory llvm/include/llvm/CodeGen:
LiveVariables.h updated: 1.12 -> 1.13
---
Log message:
ADd a method for when an instruction moves
---
Diffs of the changes: (+6 -0)
Index: llvm/include/llvm/CodeGen/LiveVariables.h
diff -u llvm/include/llvm/CodeGen/LiveVariables.h:1.12 llvm/include/llvm/CodeGen/LiveVariables.h:1.13
--- llvm/include/llvm/CodeGen/LiveVariables.h:1.12 Fri Jan 30 16:08:09 2004
+++ llvm/include/llvm/CodeGen/LiveVariables.h Thu Feb 19 12:28:22 2004
@@ -167,6 +167,12 @@
//===--------------------------------------------------------------------===//
// 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
/// specified register is killed after being used by the specified
/// instruction.
More information about the llvm-commits
mailing list