mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 08:54:08 +00:00
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd0f7b1131
commit
e25738cab6
@ -20,9 +20,9 @@
|
||||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Support/InstVisitor.h"
|
||||
using namespace llvm;
|
||||
|
||||
namespace llvm {
|
||||
|
||||
struct SelectionDAGBuilder : public InstVisitor<SelectionDAGBuilder> {
|
||||
// DAG - the current dag we are building.
|
||||
SelectionDAG &DAG;
|
||||
@ -72,6 +72,7 @@ private:
|
||||
|
||||
SelectionDAGNode *addSeqNode(SelectionDAGNode *N);
|
||||
};
|
||||
} // end llvm namespace
|
||||
|
||||
/// addSeqNode - The same as addNode, but the node is also included in the
|
||||
/// sequence nodes for this block. This method should be called for any
|
||||
@ -273,4 +274,3 @@ SelectionDAG::SelectionDAG(MachineFunction &f, const TargetMachine &tm,
|
||||
Root = SDB.CurRoot;
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
@ -14,8 +14,7 @@
|
||||
|
||||
#include "llvm/CodeGen/SelectionDAG.h"
|
||||
#include "llvm/Type.h"
|
||||
|
||||
namespace llvm {
|
||||
using namespace llvm;
|
||||
|
||||
SelectionDAG::~SelectionDAG() {
|
||||
for (unsigned i = 0, e = AllNodes.size(); i != e; ++i)
|
||||
@ -128,5 +127,3 @@ void SelectionDAGNode::printit(unsigned Offset, unsigned &LastID,
|
||||
|
||||
std::cerr << "\n";
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user