[llvm-commits] CVS: llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp SchedGraph.cpp SchedGraph.h SchedGraphCommon.cpp SchedPriorities.cpp SchedPriorities.h
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Nov 11 16:44:30 PST 2003
Changes in directory llvm/lib/CodeGen/InstrSched:
InstrScheduling.cpp updated: 1.61 -> 1.62
SchedGraph.cpp updated: 1.52 -> 1.53
SchedGraph.h updated: 1.36 -> 1.37
SchedGraphCommon.cpp updated: 1.3 -> 1.4
SchedPriorities.cpp updated: 1.28 -> 1.29
SchedPriorities.h updated: 1.25 -> 1.26
---
Log message:
Put all LLVM code into the llvm namespace, as per bug 109.
---
Diffs of the changes: (+23 -0)
Index: llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
diff -u llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp:1.61 llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp:1.62
--- llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp:1.61 Wed Nov 5 00:25:06 2003
+++ llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp Tue Nov 11 16:41:32 2003
@@ -22,6 +22,8 @@
#include "Support/CommandLine.h"
#include <algorithm>
+namespace llvm {
+
SchedDebugLevel_t SchedDebugLevel;
static cl::opt<bool> EnableFillingDelaySlots("sched-fill-delay-slots",
@@ -1518,3 +1520,6 @@
FunctionPass *createInstructionSchedulingWithSSAPass(const TargetMachine &tgt) {
return new InstructionSchedulingWithSSA(tgt);
}
+
+} // End llvm namespace
+
Index: llvm/lib/CodeGen/InstrSched/SchedGraph.cpp
diff -u llvm/lib/CodeGen/InstrSched/SchedGraph.cpp:1.52 llvm/lib/CodeGen/InstrSched/SchedGraph.cpp:1.53
--- llvm/lib/CodeGen/InstrSched/SchedGraph.cpp:1.52 Wed Nov 5 18:04:11 2003
+++ llvm/lib/CodeGen/InstrSched/SchedGraph.cpp Tue Nov 11 16:41:32 2003
@@ -23,6 +23,8 @@
#include "llvm/Target/TargetRegInfo.h"
#include "Support/STLExtras.h"
+namespace llvm {
+
//*********************** Internal Data Structures *************************/
// The following two types need to be classes, not typedefs, so we can use
@@ -737,3 +739,5 @@
os << std::string(16, ' ') << *outEdges[i];
}
}
+
+} // End llvm namespace
Index: llvm/lib/CodeGen/InstrSched/SchedGraph.h
diff -u llvm/lib/CodeGen/InstrSched/SchedGraph.h:1.36 llvm/lib/CodeGen/InstrSched/SchedGraph.h:1.37
--- llvm/lib/CodeGen/InstrSched/SchedGraph.h:1.36 Tue Oct 21 10:17:12 2003
+++ llvm/lib/CodeGen/InstrSched/SchedGraph.h Tue Nov 11 16:41:33 2003
@@ -25,6 +25,8 @@
#include "Support/hash_map"
#include "Support/GraphTraits.h"
+namespace llvm {
+
class RegToRefVecMap;
class ValueToDefVecMap;
class RefVec;
@@ -316,5 +318,7 @@
return succ_end(N);
}
};
+
+} // End llvm namespace
#endif
Index: llvm/lib/CodeGen/InstrSched/SchedGraphCommon.cpp
diff -u llvm/lib/CodeGen/InstrSched/SchedGraphCommon.cpp:1.3 llvm/lib/CodeGen/InstrSched/SchedGraphCommon.cpp:1.4
--- llvm/lib/CodeGen/InstrSched/SchedGraphCommon.cpp:1.3 Mon Oct 20 14:43:15 2003
+++ llvm/lib/CodeGen/InstrSched/SchedGraphCommon.cpp Tue Nov 11 16:41:33 2003
@@ -15,6 +15,8 @@
#include "llvm/CodeGen/SchedGraphCommon.h"
#include "Support/STLExtras.h"
+namespace llvm {
+
class SchedGraphCommon;
//
@@ -175,3 +177,4 @@
this->eraseOutgoingEdges(node, addDummyEdges);
}
+} // End llvm namespace
Index: llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp
diff -u llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp:1.28 llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp:1.29
--- llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp:1.28 Thu Oct 23 12:43:17 2003
+++ llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp Tue Nov 11 16:41:33 2003
@@ -23,6 +23,8 @@
#include "llvm/Support/CFG.h"
#include "Support/PostOrderIterator.h"
+namespace llvm {
+
std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd) {
return os << "Delay for node " << nd->node->getNodeId()
<< " = " << (long)nd->delay << "\n";
@@ -278,3 +280,4 @@
return lastUseMap[MI] = hasLastUse;
}
+} // End llvm namespace
Index: llvm/lib/CodeGen/InstrSched/SchedPriorities.h
diff -u llvm/lib/CodeGen/InstrSched/SchedPriorities.h:1.25 llvm/lib/CodeGen/InstrSched/SchedPriorities.h:1.26
--- llvm/lib/CodeGen/InstrSched/SchedPriorities.h:1.25 Tue Oct 21 10:17:12 2003
+++ llvm/lib/CodeGen/InstrSched/SchedPriorities.h Tue Nov 11 16:41:33 2003
@@ -26,6 +26,8 @@
#include "Support/hash_set"
#include <list>
+namespace llvm {
+
class Function;
class MachineInstr;
class SchedulingManager;
@@ -213,5 +215,7 @@
}
std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd);
+
+} // End llvm namespace
#endif
More information about the llvm-commits
mailing list