mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
TargetSchedModel API. Implement latency lookup, disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user