Lines Matching refs:SchedModel
25 static cl::opt<bool> EnableSchedModel("schedmodel", cl::Hidden, cl::init(true),
32 return EnableSchedModel && SchedModel.hasInstrSchedModel();
57 SchedModel = sm;
62 unsigned NumRes = SchedModel.getNumProcResourceKinds();
64 ResourceLCM = SchedModel.IssueWidth;
66 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits;
70 MicroOpFactor = ResourceLCM / SchedModel.IssueWidth;
72 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits;
107 const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass);
118 SCDesc = SchedModel.getSchedClassDesc(SchedClass);
160 return TII->defaultDefLatency(&SchedModel, DefMI);
184 TII->defaultDefLatency(&SchedModel, DefMI));
224 return DefMI->isTransient() ? 0 : TII->defaultDefLatency(&SchedModel, DefMI);
247 return TII->defaultDefLatency(&SchedModel, MI);
253 if (SchedModel.MicroOpBufferSize <= 1)
278 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize)