Lines Matching refs:SchedModel

41   return EnableSchedModel && SchedModel.hasInstrSchedModel();  in hasInstrSchedModel()
66 SchedModel = TSInfo->getSchedModel(); in init()
70 unsigned NumRes = SchedModel.getNumProcResourceKinds(); in init()
72 ResourceLCM = SchedModel.IssueWidth; in init()
74 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init()
78 MicroOpFactor = ResourceLCM / SchedModel.IssueWidth; in init()
80 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init()
137 const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass()
148 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass()
190 return TII->defaultDefLatency(SchedModel, *DefMI); in computeOperandLatency()
214 std::max(InstrLatency, TII->defaultDefLatency(SchedModel, *DefMI)); in computeOperandLatency()
244 && SchedModel.isComplete()) { in computeOperandLatency()
253 return DefMI->isTransient() ? 0 : TII->defaultDefLatency(SchedModel, *DefMI); in computeOperandLatency()
264 return capLatency(SchedModel.computeInstrLatency(*STI, SCIdx)); in computeInstrLatency()
269 return capLatency(SchedModel.computeInstrLatency(*STI, *TII, Inst)); in computeInstrLatency()
287 return TII->defaultDefLatency(SchedModel, *MI); in computeInstrLatency()
293 if (!SchedModel.isOutOfOrder()) in computeOutputLatency()
317 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize) in computeOutputLatency()
346 const MCSchedClassDesc &SCDesc = *SchedModel.getSchedClassDesc(SchedClass); in computeReciprocalThroughput()
357 return SchedModel.getReciprocalThroughput(*STI, *TII, MI); in computeReciprocalThroughput()