diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-24 21:21:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-24 21:21:33 +0000 |
commit | cb6289a73d8caaad87da1b26f03b9b63b7b712cc (patch) | |
tree | 0147ec6af8043009d1c48cfc91d5ec0051d4942a | |
parent | 1089790546ae7c5e8bcce99e60b19b3b23546bf3 (diff) | |
download | external_llvm-cb6289a73d8caaad87da1b26f03b9b63b7b712cc.zip external_llvm-cb6289a73d8caaad87da1b26f03b9b63b7b712cc.tar.gz external_llvm-cb6289a73d8caaad87da1b26f03b9b63b7b712cc.tar.bz2 |
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3058 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetSchedInfo.h | 8 | ||||
-rw-r--r-- | lib/CodeGen/InstrSched/SchedPriorities.h | 4 | ||||
-rw-r--r-- | lib/Target/SparcV9/InstrSched/SchedPriorities.h | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/Target/TargetSchedInfo.h b/include/llvm/Target/TargetSchedInfo.h index ba065cb..a08bd99 100644 --- a/include/llvm/Target/TargetSchedInfo.h +++ b/include/llvm/Target/TargetSchedInfo.h @@ -245,14 +245,14 @@ public: inline int getMinIssueGap (MachineOpCode fromOp, MachineOpCode toOp) const { - std::hash_map<OpCodePair,int>::const_iterator + hash_map<OpCodePair,int>::const_iterator I = issueGaps.find(OpCodePair(fromOp, toOp)); return (I == issueGaps.end())? 0 : (*I).second; } inline const std::vector<MachineOpCode>* 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); return (I == conflictLists.end())? NULL : & (*I).second; } @@ -286,8 +286,8 @@ protected: unsigned numIssueDeltas; std::vector<InstrRUsage> instrRUsages; // indexed by opcode - std::hash_map<OpCodePair,int> issueGaps; // indexed by opcode pair - std::hash_map<MachineOpCode, std::vector<MachineOpCode> > + hash_map<OpCodePair,int> issueGaps; // indexed by opcode pair + hash_map<MachineOpCode, std::vector<MachineOpCode> > conflictLists; // indexed by opcode }; diff --git a/lib/CodeGen/InstrSched/SchedPriorities.h b/lib/CodeGen/InstrSched/SchedPriorities.h index b01c1a4..4d763d2 100644 --- a/lib/CodeGen/InstrSched/SchedPriorities.h +++ b/lib/CodeGen/InstrSched/SchedPriorities.h @@ -157,13 +157,13 @@ private: cycles_t curTime; const SchedGraph* graph; FunctionLiveVarInfo &methodLiveVarInfo; - std::hash_map<const MachineInstr*, bool> lastUseMap; + hash_map<const MachineInstr*, bool> lastUseMap; std::vector<cycles_t> nodeDelayVec; std::vector<cycles_t> nodeEarliestUseVec; std::vector<cycles_t> earliestReadyTimeForNode; cycles_t earliestReadyTime; 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 std::vector<candIndex> mcands; // holds pointers into cands candIndex nextToTry; // next cand after the last diff --git a/lib/Target/SparcV9/InstrSched/SchedPriorities.h b/lib/Target/SparcV9/InstrSched/SchedPriorities.h index b01c1a4..4d763d2 100644 --- a/lib/Target/SparcV9/InstrSched/SchedPriorities.h +++ b/lib/Target/SparcV9/InstrSched/SchedPriorities.h @@ -157,13 +157,13 @@ private: cycles_t curTime; const SchedGraph* graph; FunctionLiveVarInfo &methodLiveVarInfo; - std::hash_map<const MachineInstr*, bool> lastUseMap; + hash_map<const MachineInstr*, bool> lastUseMap; std::vector<cycles_t> nodeDelayVec; std::vector<cycles_t> nodeEarliestUseVec; std::vector<cycles_t> earliestReadyTimeForNode; cycles_t earliestReadyTime; 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 std::vector<candIndex> mcands; // holds pointers into cands candIndex nextToTry; // next cand after the last |