[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcInternals.h

Chris Lattner lattner at cs.uiuc.edu
Sat Dec 28 20:51:15 PST 2002


Changes in directory llvm/lib/Target/Sparc:

SparcInternals.h updated: 1.75 -> 1.76

---
Log message:


Rename MachineOptInfo to TargetoptInfo
Rename MachineCacheInfo to TargetCacheInfo



---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/SparcInternals.h
diff -u llvm/lib/Target/Sparc/SparcInternals.h:1.75 llvm/lib/Target/Sparc/SparcInternals.h:1.76
--- llvm/lib/Target/Sparc/SparcInternals.h:1.75	Sat Dec 28 15:00:21 2002
+++ llvm/lib/Target/Sparc/SparcInternals.h	Sat Dec 28 20:50:33 2002
@@ -11,9 +11,9 @@
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Target/MachineSchedInfo.h"
 #include "llvm/Target/TargetFrameInfo.h"
-#include "llvm/Target/MachineCacheInfo.h"
+#include "llvm/Target/TargetCacheInfo.h"
 #include "llvm/Target/MachineRegInfo.h"
-#include "llvm/Target/MachineOptInfo.h"
+#include "llvm/Target/TargetOptInfo.h"
 #include "llvm/Type.h"
 #include <sys/types.h>
 
@@ -694,9 +694,8 @@
 //   Just use defaults for now.
 //---------------------------------------------------------------------------
 
-class UltraSparcCacheInfo: public MachineCacheInfo {
-public:
-  UltraSparcCacheInfo(const TargetMachine &T) : MachineCacheInfo(T) {} 
+struct UltraSparcCacheInfo: public TargetCacheInfo {
+  UltraSparcCacheInfo(const TargetMachine &T) : TargetCacheInfo(T) {} 
 };
 
 
@@ -707,9 +706,8 @@
 //   Interface to machine-level optimization routines for the UltraSPARC.
 //---------------------------------------------------------------------------
 
-class UltraSparcOptInfo: public MachineOptInfo {
-public:
-  UltraSparcOptInfo(const TargetMachine &T) : MachineOptInfo(T) {} 
+struct UltraSparcOptInfo: public TargetOptInfo {
+  UltraSparcOptInfo(const TargetMachine &T) : TargetOptInfo(T) {} 
 
   virtual bool IsUselessCopy    (const MachineInstr* MI) const;
 };
@@ -739,8 +737,8 @@
   virtual const MachineSchedInfo &getSchedInfo() const { return schedInfo; }
   virtual const MachineRegInfo   &getRegInfo()   const { return regInfo; }
   virtual const TargetFrameInfo  &getFrameInfo() const { return frameInfo; }
-  virtual const MachineCacheInfo &getCacheInfo() const { return cacheInfo; }
-  virtual const MachineOptInfo   &getOptInfo()   const { return optInfo; }
+  virtual const TargetCacheInfo  &getCacheInfo() const { return cacheInfo; }
+  virtual const TargetOptInfo    &getOptInfo()   const { return optInfo; }
 
   virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
 





More information about the llvm-commits mailing list