Add missing const qualifiers.
[oota-llvm.git] / include / llvm / CodeGen / LiveIntervalAnalysis.h
index 26a244fcb0e99b8fd716b217971eeaf660540531..10f60f4f05c156c8e9ecf6f82c682388e65770b5 100644 (file)
@@ -271,7 +271,7 @@ namespace llvm {
     /// lastRegisterUse - Returns the last use of the specific register between
     /// cycles Start and End. It also returns the use operand by reference. It
     /// returns NULL if there are no uses.
-    MachineInstr *lastRegisterUse(unsigned Reg, unsigned Start, unsigned End,
+    MachineInstr *lastRegisterUse(unsigned Start, unsigned End, unsigned Reg,
                                   MachineOperand *&MOU);
 
     /// findDefOperand - Returns the MachineOperand that is a def of the specific
@@ -282,6 +282,10 @@ namespace llvm {
     /// register of the specific instruction.
     void unsetRegisterKill(MachineInstr *MI, unsigned Reg);
 
+    /// unsetRegisterKills - Unset IsKill property of all uses of specific register
+    /// between cycles Start and End.
+    void unsetRegisterKills(unsigned Start, unsigned End, unsigned Reg);
+
     /// hasRegisterDef - True if the instruction defines the specific register.
     ///
     bool hasRegisterDef(MachineInstr *MI, unsigned Reg);