[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachine.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 29 18:54:01 PST 2002
Changes in directory llvm/include/llvm/Target:
TargetMachine.h updated: 1.18 -> 1.19
---
Log message:
Add new optional getRegisterInfo to TargetMachine
---
Diffs of the changes:
Index: llvm/include/llvm/Target/TargetMachine.h
diff -u llvm/include/llvm/Target/TargetMachine.h:1.18 llvm/include/llvm/Target/TargetMachine.h:1.19
--- llvm/include/llvm/Target/TargetMachine.h:1.18 Tue Oct 29 16:01:26 2002
+++ llvm/include/llvm/Target/TargetMachine.h Tue Oct 29 18:53:02 2002
@@ -17,6 +17,7 @@
class MachineFrameInfo;
class MachineCacheInfo;
class MachineOptInfo;
+class MRegisterInfo;
class PassManager;
class Pass;
@@ -65,6 +66,12 @@
virtual const MachineFrameInfo& getFrameInfo() const = 0;
virtual const MachineCacheInfo& getCacheInfo() const = 0;
virtual const MachineOptInfo& getOptInfo() const = 0;
+
+ /// getRegisterInfo - If register information is available, return it. If
+ /// not, return null. This is kept seperate from RegInfo until RegInfo gets
+ /// straightened out.
+ ///
+ virtual const MRegisterInfo* getRegisterInfo() const { return 0; }
// Data storage information
//
More information about the llvm-commits
mailing list