mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Put all LLVM code into the llvm namespace, as per bug 109.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user