diff options
author | Andrew Trick <atrick@apple.com> | 2012-09-18 04:03:34 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-09-18 04:03:34 +0000 |
commit | 34301ceca8913f3126339f332d3dc6f2d7ac0d78 (patch) | |
tree | b05aefa8030d0d861e4367b15da9754b8e960afe /include/llvm/MC | |
parent | e076bb1e938aa9f97609c926590b1e176b0efbd2 (diff) | |
download | external_llvm-34301ceca8913f3126339f332d3dc6f2d7ac0d78.zip external_llvm-34301ceca8913f3126339f332d3dc6f2d7ac0d78.tar.gz external_llvm-34301ceca8913f3126339f332d3dc6f2d7ac0d78.tar.bz2 |
TargetSchedModel API. Implement latency lookup, disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC')
-rw-r--r-- | include/llvm/MC/MCSchedule.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/llvm/MC/MCSchedule.h b/include/llvm/MC/MCSchedule.h index cff175b..62fb22f 100644 --- a/include/llvm/MC/MCSchedule.h +++ b/include/llvm/MC/MCSchedule.h @@ -208,14 +208,7 @@ public: unsigned getProcessorID() const { return ProcID; } /// Does this machine model include instruction-level scheduling. - bool hasInstrSchedModel() const { - return SchedClassTable; - } - - /// Does this machine model include cycle-to-cycle itineraries. - bool hasInstrItineraries() const { - return InstrItineraries; - } + bool hasInstrSchedModel() const { return SchedClassTable != NULL; } const MCProcResourceDesc *getProcResource(unsigned ProcResourceIdx) const { assert(hasInstrSchedModel() && "No scheduling machine model"); |