[llvm-commits] CVS: llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp ModuloSchedGraph.h ModuloScheduling.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Tue Nov 11 16:44:06 PST 2003


Changes in directory llvm/lib/CodeGen/ModuloScheduling:

ModuloSchedGraph.cpp updated: 1.13 -> 1.14
ModuloSchedGraph.h updated: 1.11 -> 1.12
ModuloScheduling.cpp updated: 1.14 -> 1.15

---
Log message:

Put all LLVM code into the llvm namespace, as per bug 109.

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

Index: llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp
diff -u llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp:1.13 llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp:1.14
--- llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp:1.13	Mon Oct 20 14:43:15 2003
+++ llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp	Tue Nov 11 16:41:33 2003
@@ -13,6 +13,8 @@
 #include "ModuloSchedGraph.h"
 #include "llvm/Type.h"
 
+namespace llvm {
+
 ModuloSchedGraphNode::ModuloSchedGraphNode(unsigned id, int index, 
 					   const Instruction *inst, 
 					   const TargetMachine &targ) 
@@ -135,3 +137,4 @@
   //delete all the graphs
 }
 
+} // End llvm namespace


Index: llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h
diff -u llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h:1.11 llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h:1.12
--- llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h:1.11	Tue Oct 21 10:17:12 2003
+++ llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h	Tue Nov 11 16:41:33 2003
@@ -22,6 +22,7 @@
 #include "Support/hash_map"
 #include <vector>
 
+namespace llvm {
 
 class ModuloSchedGraphNode : public SchedGraphNodeCommon {
 
@@ -105,5 +106,7 @@
 
 
 };
+
+} // End llvm namespace
 
 #endif


Index: llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
diff -u llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp:1.14 llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp:1.15
--- llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp:1.14	Mon Oct 20 14:43:16 2003
+++ llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp	Tue Nov 11 16:41:33 2003
@@ -16,6 +16,8 @@
 #include "llvm/Function.h"
 #include "llvm/Pass.h"
 
+namespace llvm {
+
 namespace {
   
   class ModuloScheduling : public FunctionPass {
@@ -40,3 +42,5 @@
   bool Changed = false;
   return Changed;
 }
+
+} // End llvm namespace





More information about the llvm-commits mailing list