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

Jim Laskey jlaskey at apple.com
Thu Mar 23 10:13:12 PST 2006



Changes in directory llvm/include/llvm/Target:

MRegisterInfo.h updated: 1.70 -> 1.71
---
Log message:

Add support to locate local variables in frames (early version.)


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

 MRegisterInfo.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.70 llvm/include/llvm/Target/MRegisterInfo.h:1.71
--- llvm/include/llvm/Target/MRegisterInfo.h:1.70	Wed Feb 22 10:23:43 2006
+++ llvm/include/llvm/Target/MRegisterInfo.h	Thu Mar 23 12:12:57 2006
@@ -26,6 +26,7 @@
 class Type;
 class MachineFunction;
 class MachineInstr;
+class MachineLocation;
 class TargetRegisterClass;
 
 /// TargetRegisterDesc - This record contains all of the information known about
@@ -341,6 +342,11 @@
   virtual void emitPrologue(MachineFunction &MF) const = 0;
   virtual void emitEpilogue(MachineFunction &MF,
                             MachineBasicBlock &MBB) const = 0;
+                            
+  /// getLocation - This method should return the actual location of a frame
+  /// variable given the frame index.
+  virtual void getLocation(MachineFunction &MF, unsigned Index,
+                          MachineLocation &ML) const = 0;
 };
 
 // This is useful when building DenseMaps keyed on virtual registers






More information about the llvm-commits mailing list