[llvm-commits] CVS: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Fri Feb 27 16:26:01 PST 2004


Changes in directory reopt/lib/LightWtProfiling:

UnpackTraceFunction.cpp updated: 1.38 -> 1.39

---
Log message:

Sparc --> SparcV9 (more sparc backend great renaming fallout)


---
Diffs of the changes:  (+10 -10)

Index: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp
diff -u reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.38 reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.39
--- reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.38	Sat Feb 14 16:19:25 2004
+++ reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp	Fri Feb 27 16:25:25 2004
@@ -24,17 +24,17 @@
 
 ///---------------------- SPARC backend-specific code -----------------------///
 
-#include "../../../../lib/Target/Sparc/RegAlloc/AllocInfo.h"
-#include "../../../../lib/Target/Sparc/RegAlloc/PhyRegAlloc.h"
-#include "../../../../lib/Target/Sparc/SparcRegInfo.h"
-#include "../../../../lib/Target/Sparc/SparcTargetMachine.h"
+#include "../../../../lib/Target/SparcV9/RegAlloc/AllocInfo.h"
+#include "../../../../lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h"
+#include "../../../../lib/Target/SparcV9/SparcRegInfo.h"
+#include "../../../../lib/Target/SparcV9/SparcTargetMachine.h"
 
 namespace llvm {
 
-class SparcReoptInfo {
+class SparcV9ReoptInfo {
   TargetMachine *TM;
 public:
-  SparcReoptInfo (TargetMachine *_TM) : TM (_TM) {}
+  SparcV9ReoptInfo (TargetMachine *_TM) : TM (_TM) {}
   void insertCopyMachineInstrs (AllocInfo &Source, AllocInfo &Target,
                                 MachineBasicBlock &B, const Type *Ty);
   void insertBranchMachineInstrs (uint64_t Target, MachineBasicBlock &B);
@@ -44,7 +44,7 @@
 /// Insert the appropriate machine instruction(s) that copies the value in
 /// Source to the location specified by Target, at the beginning of B.
 ///
-void SparcReoptInfo::insertCopyMachineInstrs (AllocInfo &Source,
+void SparcV9ReoptInfo::insertCopyMachineInstrs (AllocInfo &Source,
                                               AllocInfo &Target,
                                               MachineBasicBlock &B,
                                               const Type *Ty) {
@@ -93,7 +93,7 @@
 
 /// Append to B a branch from the end of B to TargetAddr.
 ///
-void SparcReoptInfo::insertBranchMachineInstrs (uint64_t Target,
+void SparcV9ReoptInfo::insertBranchMachineInstrs (uint64_t Target,
                                                 MachineBasicBlock &B) {
   // If the target is close enough to fit into the 19-bit disp of a "ba"
   // instruction, then we really DO get a "ba" instruction.  We get the backend
@@ -113,7 +113,7 @@
 /// Returns a pointer to the return instruction in B, if B contains
 /// one, or null otherwise.
 ///
-const MachineInstr *SparcReoptInfo::containsReturnInstr (MachineBasicBlock &B) {
+const MachineInstr *SparcV9ReoptInfo::containsReturnInstr (MachineBasicBlock &B) {
   for (MachineBasicBlock::const_reverse_iterator i = B.rbegin (),
          e = B.rend (); i != e; ++i) {
     const MachineInstr &MI = *i;
@@ -265,7 +265,7 @@
 class UnpackTraceFunction : public MachineFunctionPass {
   TargetMachine *TM;
   TraceFunction *TF;
-  SparcReoptInfo SRI;
+  SparcV9ReoptInfo SRI;
 public:
   UnpackTraceFunction (TargetMachine *_TM, TraceFunction *_TF) :
     TM (_TM), TF (_TF), SRI (_TM) { }





More information about the llvm-commits mailing list