Lines Matching refs:SchedModel

40   return EnableSchedModel && SchedModel.hasInstrSchedModel();  in hasInstrSchedModel()
65 SchedModel = TSInfo->getSchedModel(); in init()
69 unsigned NumRes = SchedModel.getNumProcResourceKinds(); in init()
71 ResourceLCM = SchedModel.IssueWidth; in init()
73 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init()
77 MicroOpFactor = ResourceLCM / SchedModel.IssueWidth; in init()
79 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init()
136 const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass()
147 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass()
189 return TII->defaultDefLatency(SchedModel, *DefMI); in computeOperandLatency()
213 std::max(InstrLatency, TII->defaultDefLatency(SchedModel, *DefMI)); in computeOperandLatency()
243 && SchedModel.isComplete()) { in computeOperandLatency()
252 return DefMI->isTransient() ? 0 : TII->defaultDefLatency(SchedModel, *DefMI); in computeOperandLatency()
263 return capLatency(SchedModel.computeInstrLatency(*STI, SCIdx)); in computeInstrLatency()
268 return capLatency(SchedModel.computeInstrLatency(*STI, *TII, Inst)); in computeInstrLatency()
286 return TII->defaultDefLatency(SchedModel, *MI); in computeInstrLatency()
292 if (!SchedModel.isOutOfOrder()) in computeOutputLatency()
316 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize) in computeOutputLatency()
345 const MCSchedClassDesc &SCDesc = *SchedModel.getSchedClassDesc(SchedClass); in computeReciprocalThroughput()
356 return SchedModel.getReciprocalThroughput(*STI, *TII, MI); in computeReciprocalThroughput()