Lines Matching refs:SchedModel
39 return EnableSchedModel && SchedModel.hasInstrSchedModel(); in hasInstrSchedModel()
64 SchedModel = TSInfo->getSchedModel(); in init()
68 unsigned NumRes = SchedModel.getNumProcResourceKinds(); in init()
70 ResourceLCM = SchedModel.IssueWidth; in init()
72 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init()
76 MicroOpFactor = ResourceLCM / SchedModel.IssueWidth; in init()
78 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init()
135 const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass()
146 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass()
188 return TII->defaultDefLatency(SchedModel, *DefMI); in computeOperandLatency()
212 std::max(InstrLatency, TII->defaultDefLatency(SchedModel, *DefMI)); in computeOperandLatency()
242 && SchedModel.isComplete()) { in computeOperandLatency()
251 return DefMI->isTransient() ? 0 : TII->defaultDefLatency(SchedModel, *DefMI); in computeOperandLatency()
262 return capLatency(SchedModel.computeInstrLatency(*STI, SCIdx)); in computeInstrLatency()
267 return capLatency(SchedModel.computeInstrLatency(*STI, *TII, Inst)); in computeInstrLatency()
285 return TII->defaultDefLatency(SchedModel, *MI); in computeInstrLatency()
291 if (!SchedModel.isOutOfOrder()) in computeOutputLatency()
315 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize) in computeOutputLatency()
344 const MCSchedClassDesc &SCDesc = *SchedModel.getSchedClassDesc(SchedClass); in computeReciprocalThroughput()
355 return SchedModel.getReciprocalThroughput(*STI, *TII, MI); in computeReciprocalThroughput()