Lines Matching refs:SchedModel
60 SchedModel.init(ST.getSchedModel(), &ST, TII); in runOnMachineFunction()
63 SchedModel.getNumProcResourceKinds()); in runOnMachineFunction()
96 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getResources()
107 if (!SchedModel.hasInstrSchedModel()) in getResources()
109 const MCSchedClassDesc *SC = SchedModel.resolveSchedClass(&MI); in getResources()
114 PI = SchedModel.getWriteProcResBegin(SC), in getResources()
115 PE = SchedModel.getWriteProcResEnd(SC); PI != PE; ++PI) { in getResources()
126 PRCycles[K] * SchedModel.getResourceFactor(K); in getResources()
135 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getProcResourceCycles()
148 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in Ensemble()
166 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeDepthResources()
199 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeHeightResources()
255 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in getProcResourceDepths()
268 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in getProcResourceHeights()
815 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrDepths()
817 << MTM.SchedModel.getProcResource(K)->Name << " (" in computeInstrDepths()
846 DepCycle += MTM.SchedModel in computeInstrDepths()
870 const TargetSchedModel &SchedModel, in updatePhysDepsUpwards() argument
898 DepHeight += SchedModel.computeOperandLatency(&MI, MI.getOperandNo(MOI), in updatePhysDepsUpwards()
931 const TargetSchedModel &SchedModel, in pushDepHeight() argument
935 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, in pushDepHeight()
1033 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrHeights()
1035 << MTM.SchedModel.getProcResource(K)->Name << " (" in computeInstrHeights()
1060 if (pushDepHeight(Deps.front(), PHI, Height, Heights, MTM.SchedModel, in computeInstrHeights()
1089 Cycle = updatePhysDepsUpwards(MI, Cycle, RegUnits, MTM.SchedModel, in computeInstrHeights()
1094 if (pushDepHeight(Dep, MI, Cycle, Heights, MTM.SchedModel, MTM.TII)) in computeInstrHeights()
1167 DepCycle += TE.MTM.SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, in getPHIDepth()
1194 if (unsigned IW = TE.MTM.SchedModel.getIssueWidth()) in getResourceDepth()
1218 PI = TE.MTM.SchedModel.getWriteProcResBegin(SC), in getResourceLength()
1219 PE = TE.MTM.SchedModel.getWriteProcResEnd(SC); in getResourceLength()
1224 (PI->Cycles * TE.MTM.SchedModel.getResourceFactor(ResourceIdx)); in getResourceLength()
1248 if (unsigned IW = TE.MTM.SchedModel.getIssueWidth()) in getResourceLength()