mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
Remove dependence on BBLiveVar from InstrScheduling
Minor cleanups git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1688 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -11,12 +11,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "llvm/CodeGen/InstrScheduling.h"
|
#include "llvm/CodeGen/InstrScheduling.h"
|
||||||
#include "llvm/Analysis/LiveVar/BBLiveVar.h"
|
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
||||||
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
||||||
#include "llvm/Target/TargetMachine.h"
|
#include "llvm/Target/TargetMachine.h"
|
||||||
#include "Support/CommandLine.h"
|
#include "llvm/BasicBlock.h"
|
||||||
#include "SchedPriorities.h"
|
#include "SchedPriorities.h"
|
||||||
#include <ext/hash_set>
|
#include <ext/hash_set>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
#include "llvm/Target/MachineSchedInfo.h"
|
#include "llvm/Target/MachineSchedInfo.h"
|
||||||
#include "Support/CommandLine.h"
|
#include "Support/CommandLine.h"
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include <hash_set>
|
||||||
class Method;
|
class Method;
|
||||||
class MachineInstr;
|
class MachineInstr;
|
||||||
class SchedulingManager;
|
class SchedulingManager;
|
||||||
@@ -76,10 +76,9 @@ public:
|
|||||||
typedef std::list<NodeDelayPair*>::const_iterator const_iterator;
|
typedef std::list<NodeDelayPair*>::const_iterator const_iterator;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/*ctor*/ NodeHeap () : std::list<NodeDelayPair*>(), _size(0) {}
|
NodeHeap() : _size(0) {}
|
||||||
/*dtor*/ ~NodeHeap () {}
|
|
||||||
|
|
||||||
inline unsigned int size () const { return _size; }
|
inline unsigned size() const { return _size; }
|
||||||
|
|
||||||
const SchedGraphNode* getNode (const_iterator i) const { return (*i)->node; }
|
const SchedGraphNode* getNode (const_iterator i) const { return (*i)->node; }
|
||||||
cycles_t getDelay(const_iterator i) const { return (*i)->delay;}
|
cycles_t getDelay(const_iterator i) const { return (*i)->delay;}
|
||||||
|
@@ -11,12 +11,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "llvm/CodeGen/InstrScheduling.h"
|
#include "llvm/CodeGen/InstrScheduling.h"
|
||||||
#include "llvm/Analysis/LiveVar/BBLiveVar.h"
|
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
||||||
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
#include "llvm/CodeGen/MachineCodeForMethod.h"
|
||||||
#include "llvm/Target/TargetMachine.h"
|
#include "llvm/Target/TargetMachine.h"
|
||||||
#include "Support/CommandLine.h"
|
#include "llvm/BasicBlock.h"
|
||||||
#include "SchedPriorities.h"
|
#include "SchedPriorities.h"
|
||||||
#include <ext/hash_set>
|
#include <ext/hash_set>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
#include "llvm/Target/MachineSchedInfo.h"
|
#include "llvm/Target/MachineSchedInfo.h"
|
||||||
#include "Support/CommandLine.h"
|
#include "Support/CommandLine.h"
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include <hash_set>
|
||||||
class Method;
|
class Method;
|
||||||
class MachineInstr;
|
class MachineInstr;
|
||||||
class SchedulingManager;
|
class SchedulingManager;
|
||||||
@@ -76,10 +76,9 @@ public:
|
|||||||
typedef std::list<NodeDelayPair*>::const_iterator const_iterator;
|
typedef std::list<NodeDelayPair*>::const_iterator const_iterator;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/*ctor*/ NodeHeap () : std::list<NodeDelayPair*>(), _size(0) {}
|
NodeHeap() : _size(0) {}
|
||||||
/*dtor*/ ~NodeHeap () {}
|
|
||||||
|
|
||||||
inline unsigned int size () const { return _size; }
|
inline unsigned size() const { return _size; }
|
||||||
|
|
||||||
const SchedGraphNode* getNode (const_iterator i) const { return (*i)->node; }
|
const SchedGraphNode* getNode (const_iterator i) const { return (*i)->node; }
|
||||||
cycles_t getDelay(const_iterator i) const { return (*i)->delay;}
|
cycles_t getDelay(const_iterator i) const { return (*i)->delay;}
|
||||||
|
Reference in New Issue
Block a user