mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-20 05:38:50 +00:00
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3058 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1089790546
commit
cb6289a73d
@ -245,14 +245,14 @@ public:
|
|||||||
|
|
||||||
inline int getMinIssueGap (MachineOpCode fromOp,
|
inline int getMinIssueGap (MachineOpCode fromOp,
|
||||||
MachineOpCode toOp) const {
|
MachineOpCode toOp) const {
|
||||||
std::hash_map<OpCodePair,int>::const_iterator
|
hash_map<OpCodePair,int>::const_iterator
|
||||||
I = issueGaps.find(OpCodePair(fromOp, toOp));
|
I = issueGaps.find(OpCodePair(fromOp, toOp));
|
||||||
return (I == issueGaps.end())? 0 : (*I).second;
|
return (I == issueGaps.end())? 0 : (*I).second;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline const std::vector<MachineOpCode>*
|
inline const std::vector<MachineOpCode>*
|
||||||
getConflictList(MachineOpCode opCode) const {
|
getConflictList(MachineOpCode opCode) const {
|
||||||
std::hash_map<MachineOpCode, std::vector<MachineOpCode> >::const_iterator
|
hash_map<MachineOpCode, std::vector<MachineOpCode> >::const_iterator
|
||||||
I = conflictLists.find(opCode);
|
I = conflictLists.find(opCode);
|
||||||
return (I == conflictLists.end())? NULL : & (*I).second;
|
return (I == conflictLists.end())? NULL : & (*I).second;
|
||||||
}
|
}
|
||||||
@ -286,8 +286,8 @@ protected:
|
|||||||
unsigned numIssueDeltas;
|
unsigned numIssueDeltas;
|
||||||
|
|
||||||
std::vector<InstrRUsage> instrRUsages; // indexed by opcode
|
std::vector<InstrRUsage> instrRUsages; // indexed by opcode
|
||||||
std::hash_map<OpCodePair,int> issueGaps; // indexed by opcode pair
|
hash_map<OpCodePair,int> issueGaps; // indexed by opcode pair
|
||||||
std::hash_map<MachineOpCode, std::vector<MachineOpCode> >
|
hash_map<MachineOpCode, std::vector<MachineOpCode> >
|
||||||
conflictLists; // indexed by opcode
|
conflictLists; // indexed by opcode
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -157,13 +157,13 @@ private:
|
|||||||
cycles_t curTime;
|
cycles_t curTime;
|
||||||
const SchedGraph* graph;
|
const SchedGraph* graph;
|
||||||
FunctionLiveVarInfo &methodLiveVarInfo;
|
FunctionLiveVarInfo &methodLiveVarInfo;
|
||||||
std::hash_map<const MachineInstr*, bool> lastUseMap;
|
hash_map<const MachineInstr*, bool> lastUseMap;
|
||||||
std::vector<cycles_t> nodeDelayVec;
|
std::vector<cycles_t> nodeDelayVec;
|
||||||
std::vector<cycles_t> nodeEarliestUseVec;
|
std::vector<cycles_t> nodeEarliestUseVec;
|
||||||
std::vector<cycles_t> earliestReadyTimeForNode;
|
std::vector<cycles_t> earliestReadyTimeForNode;
|
||||||
cycles_t earliestReadyTime;
|
cycles_t earliestReadyTime;
|
||||||
NodeHeap candsAsHeap; // candidate nodes, ready to go
|
NodeHeap candsAsHeap; // candidate nodes, ready to go
|
||||||
std::hash_set<const SchedGraphNode*> candsAsSet;//same entries as candsAsHeap,
|
hash_set<const SchedGraphNode*> candsAsSet; //same entries as candsAsHeap,
|
||||||
// but as set for fast lookup
|
// but as set for fast lookup
|
||||||
std::vector<candIndex> mcands; // holds pointers into cands
|
std::vector<candIndex> mcands; // holds pointers into cands
|
||||||
candIndex nextToTry; // next cand after the last
|
candIndex nextToTry; // next cand after the last
|
||||||
|
@ -157,13 +157,13 @@ private:
|
|||||||
cycles_t curTime;
|
cycles_t curTime;
|
||||||
const SchedGraph* graph;
|
const SchedGraph* graph;
|
||||||
FunctionLiveVarInfo &methodLiveVarInfo;
|
FunctionLiveVarInfo &methodLiveVarInfo;
|
||||||
std::hash_map<const MachineInstr*, bool> lastUseMap;
|
hash_map<const MachineInstr*, bool> lastUseMap;
|
||||||
std::vector<cycles_t> nodeDelayVec;
|
std::vector<cycles_t> nodeDelayVec;
|
||||||
std::vector<cycles_t> nodeEarliestUseVec;
|
std::vector<cycles_t> nodeEarliestUseVec;
|
||||||
std::vector<cycles_t> earliestReadyTimeForNode;
|
std::vector<cycles_t> earliestReadyTimeForNode;
|
||||||
cycles_t earliestReadyTime;
|
cycles_t earliestReadyTime;
|
||||||
NodeHeap candsAsHeap; // candidate nodes, ready to go
|
NodeHeap candsAsHeap; // candidate nodes, ready to go
|
||||||
std::hash_set<const SchedGraphNode*> candsAsSet;//same entries as candsAsHeap,
|
hash_set<const SchedGraphNode*> candsAsSet; //same entries as candsAsHeap,
|
||||||
// but as set for fast lookup
|
// but as set for fast lookup
|
||||||
std::vector<candIndex> mcands; // holds pointers into cands
|
std::vector<candIndex> mcands; // holds pointers into cands
|
||||||
candIndex nextToTry; // next cand after the last
|
candIndex nextToTry; // next cand after the last
|
||||||
|
Loading…
x
Reference in New Issue
Block a user