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:
@@ -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 @@ bool InstructionSchedulingWithSSA::runOnFunction(Function &F)
|
||||
FunctionPass *createInstructionSchedulingWithSSAPass(const TargetMachine &tgt) {
|
||||
return new InstructionSchedulingWithSSA(tgt);
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
|
@@ -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 @@ void SchedGraphNode::print(std::ostream &os) const {
|
||||
os << std::string(16, ' ') << *outEdges[i];
|
||||
}
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include "Support/hash_map"
|
||||
#include "Support/GraphTraits.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class RegToRefVecMap;
|
||||
class ValueToDefVecMap;
|
||||
class RefVec;
|
||||
@@ -317,4 +319,6 @@ template <> struct GraphTraits<const SchedGraph*> {
|
||||
}
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
@@ -15,6 +15,8 @@
|
||||
#include "llvm/CodeGen/SchedGraphCommon.h"
|
||||
#include "Support/STLExtras.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class SchedGraphCommon;
|
||||
|
||||
//
|
||||
@@ -175,3 +177,4 @@ void SchedGraphCommon::eraseIncidentEdges(SchedGraphNodeCommon* node,
|
||||
this->eraseOutgoingEdges(node, addDummyEdges);
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
@@ -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 @@ SchedPriorities::instructionHasLastUse(FunctionLiveVarInfo &LVI,
|
||||
return lastUseMap[MI] = hasLastUse;
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
@@ -26,6 +26,8 @@
|
||||
#include "Support/hash_set"
|
||||
#include <list>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Function;
|
||||
class MachineInstr;
|
||||
class SchedulingManager;
|
||||
@@ -214,4 +216,6 @@ inline void SchedPriorities::updateTime(cycles_t c) {
|
||||
|
||||
std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd);
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user