summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ModuloScheduling
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-11-11 22:41:34 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-11-11 22:41:34 +0000
commit960707c335b85fa0df0bff6400fd4e5f19ac0df4 (patch)
treefcd6bd0a802eff2ba6d9bcfef369241d5b79d06a /llvm/lib/CodeGen/ModuloScheduling
parentda3f675edd0b0ffa480c1bec97a2a701d31e4ca8 (diff)
downloadbcm5719-llvm-960707c335b85fa0df0bff6400fd4e5f19ac0df4.tar.gz
bcm5719-llvm-960707c335b85fa0df0bff6400fd4e5f19ac0df4.zip
Put all LLVM code into the llvm namespace, as per bug 109.
llvm-svn: 9903
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling')
-rw-r--r--llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp3
-rw-r--r--llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h3
-rw-r--r--llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp4
3 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp b/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp
index 6318c5ab46f..8aaaa2b6b5c 100644
--- a/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp
+++ b/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp
@@ -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 @@ ModuloSchedGraphSet::~ModuloSchedGraphSet(){
//delete all the graphs
}
+} // End llvm namespace
diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h b/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h
index 214e24cc8b5..552d699e768 100644
--- a/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h
+++ b/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.h
@@ -22,6 +22,7 @@
#include "Support/hash_map"
#include <vector>
+namespace llvm {
class ModuloSchedGraphNode : public SchedGraphNodeCommon {
@@ -106,4 +107,6 @@ public:
};
+} // End llvm namespace
+
#endif
diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
index 91ec6c28f55..219d892d314 100644
--- a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
+++ b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp
@@ -16,6 +16,8 @@
#include "llvm/Function.h"
#include "llvm/Pass.h"
+namespace llvm {
+
namespace {
class ModuloScheduling : public FunctionPass {
@@ -40,3 +42,5 @@ bool ModuloScheduling::runOnFunction(Function &F) {
bool Changed = false;
return Changed;
}
+
+} // End llvm namespace
OpenPOWER on IntegriCloud