mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Remove unnecesary #include add dump calls pulled out of .h file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ff63a1217
commit
c83e954025
@ -12,12 +12,6 @@
|
|||||||
* 7/20/01 - Vikram Adve - Created
|
* 7/20/01 - Vikram Adve - Created
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
//************************** System Include Files **************************/
|
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
//*************************** User Include Files ***************************/
|
|
||||||
|
|
||||||
#include "llvm/InstrTypes.h"
|
#include "llvm/InstrTypes.h"
|
||||||
#include "llvm/Instruction.h"
|
#include "llvm/Instruction.h"
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/BasicBlock.h"
|
||||||
@ -25,6 +19,8 @@
|
|||||||
#include "llvm/CodeGen/SchedGraph.h"
|
#include "llvm/CodeGen/SchedGraph.h"
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
#include "llvm/CodeGen/TargetMachine.h"
|
#include "llvm/CodeGen/TargetMachine.h"
|
||||||
|
#include "llvm/Support/StringExtras.h"
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
//************************* Class Implementations **************************/
|
//************************* Class Implementations **************************/
|
||||||
|
|
||||||
@ -102,6 +98,10 @@ SchedGraphEdge::SchedGraphEdge(SchedGraphNode* _src,
|
|||||||
sink->addInEdge(this);
|
sink->addInEdge(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SchedGraphEdge::dump(int indent=0) const {
|
||||||
|
printIndent(indent); cout << *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// class SchedGraphNode
|
// class SchedGraphNode
|
||||||
@ -135,6 +135,10 @@ SchedGraphNode::~SchedGraphNode()
|
|||||||
delete outEdges[i];
|
delete outEdges[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SchedGraphNode::dump(int indent=0) const {
|
||||||
|
printIndent(indent); cout << *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
SchedGraphNode::addInEdge(SchedGraphEdge* edge)
|
SchedGraphNode::addInEdge(SchedGraphEdge* edge)
|
||||||
|
@ -12,12 +12,6 @@
|
|||||||
* 7/20/01 - Vikram Adve - Created
|
* 7/20/01 - Vikram Adve - Created
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
//************************** System Include Files **************************/
|
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
//*************************** User Include Files ***************************/
|
|
||||||
|
|
||||||
#include "llvm/InstrTypes.h"
|
#include "llvm/InstrTypes.h"
|
||||||
#include "llvm/Instruction.h"
|
#include "llvm/Instruction.h"
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/BasicBlock.h"
|
||||||
@ -25,6 +19,8 @@
|
|||||||
#include "llvm/CodeGen/SchedGraph.h"
|
#include "llvm/CodeGen/SchedGraph.h"
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
#include "llvm/CodeGen/TargetMachine.h"
|
#include "llvm/CodeGen/TargetMachine.h"
|
||||||
|
#include "llvm/Support/StringExtras.h"
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
//************************* Class Implementations **************************/
|
//************************* Class Implementations **************************/
|
||||||
|
|
||||||
@ -102,6 +98,10 @@ SchedGraphEdge::SchedGraphEdge(SchedGraphNode* _src,
|
|||||||
sink->addInEdge(this);
|
sink->addInEdge(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SchedGraphEdge::dump(int indent=0) const {
|
||||||
|
printIndent(indent); cout << *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// class SchedGraphNode
|
// class SchedGraphNode
|
||||||
@ -135,6 +135,10 @@ SchedGraphNode::~SchedGraphNode()
|
|||||||
delete outEdges[i];
|
delete outEdges[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SchedGraphNode::dump(int indent=0) const {
|
||||||
|
printIndent(indent); cout << *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
SchedGraphNode::addInEdge(SchedGraphEdge* edge)
|
SchedGraphNode::addInEdge(SchedGraphEdge* edge)
|
||||||
|
Loading…
Reference in New Issue
Block a user