diff options
author | Andrew Trick <atrick@apple.com> | 2012-08-08 02:44:11 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-08-08 02:44:11 +0000 |
commit | 3c417554caedde3a333755916701c8380606342a (patch) | |
tree | f362c7fbec082ce5911e0165c2154b305f7a92e8 /include/llvm/Target/TargetInstrInfo.h | |
parent | d598bd3aeea64fb0d2d3bd18de739a8a59cf043d (diff) | |
download | external_llvm-3c417554caedde3a333755916701c8380606342a.zip external_llvm-3c417554caedde3a333755916701c8380606342a.tar.gz external_llvm-3c417554caedde3a333755916701c8380606342a.tar.bz2 |
Minor cleanup of defaultDefLatency API
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetInstrInfo.h')
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 850eccc..0fab934 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -28,6 +28,7 @@ class MachineMemOperand; class MachineRegisterInfo; class MDNode; class MCInst; +class MCSchedModel; class SDNode; class ScheduleHazardRecognizer; class SelectionDAG; @@ -790,7 +791,7 @@ public: SDNode *Node) const = 0; /// Return the default expected latency for a def based on it's opcode. - unsigned defaultDefLatency(const InstrItineraryData *ItinData, + unsigned defaultDefLatency(const MCSchedModel *SchedModel, const MachineInstr *DefMI) const; /// isHighLatencyDef - Return true if this opcode has high latency to its |