summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-10-04 17:30:40 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-10-04 17:30:40 +0000
commitf43fe1d163b34e1de5d045773728c571b59d1cdd (patch)
treede1a415c649296232e9d657b9e4c7b660c57128b /include
parente37091931cc409d3189a69eb581871c6e743832d (diff)
downloadllvm-f43fe1d163b34e1de5d045773728c571b59d1cdd.tar.gz
llvm-f43fe1d163b34e1de5d045773728c571b59d1cdd.tar.bz2
llvm-f43fe1d163b34e1de5d045773728c571b59d1cdd.tar.xz
Switch MachineTraceMetrics to the new TargetSchedModel interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/TargetSchedule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/TargetSchedule.h b/include/llvm/CodeGen/TargetSchedule.h
index d2a26afe99..541ee66c0c 100644
--- a/include/llvm/CodeGen/TargetSchedule.h
+++ b/include/llvm/CodeGen/TargetSchedule.h
@@ -63,6 +63,7 @@ public:
bool FindMin) const;
unsigned getProcessorID() const { return SchedModel.getProcessorID(); }
+ unsigned getIssueWidth() const { return SchedModel.IssueWidth; }
private:
/// getDefLatency is a helper for computeOperandLatency. Return the