[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Thu Aug 26 15:21:14 PDT 2004



Changes in directory llvm/include/llvm/Target:

MRegisterInfo.h updated: 1.49 -> 1.50
---
Log message:

Add getAllocatableSet() function.


---
Diffs of the changes:  (+4 -0)

Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.49 llvm/include/llvm/Target/MRegisterInfo.h:1.50
--- llvm/include/llvm/Target/MRegisterInfo.h:1.49	Sun Aug 15 20:07:53 2004
+++ llvm/include/llvm/Target/MRegisterInfo.h	Thu Aug 26 17:21:04 2004
@@ -160,6 +160,10 @@
     return Reg >= FirstVirtualRegister;
   }
 
+  /// getAllocatableSet - Returns a bitset indexed by register number
+  /// indicating if a register is allocatable or not.
+  std::vector<bool> getAllocatableSet(MachineFunction &MF) const;
+
   const MRegisterDesc &operator[](unsigned RegNo) const {
     assert(RegNo < NumRegs &&
            "Attempting to access record for invalid register number!");






More information about the llvm-commits mailing list