Lines Matching refs:SC
48 const MCSchedClassDesc *SC = getSchedClass(SU); in getNumDecoderSlots() local
49 if (!SC->isValid()) in getNumDecoderSlots()
52 assert((SC->NumMicroOps != 2 || (SC->BeginGroup && !SC->EndGroup)) && in getNumDecoderSlots()
54 assert((SC->NumMicroOps < 3 || (SC->BeginGroup && SC->EndGroup)) && in getNumDecoderSlots()
56 assert((SC->NumMicroOps < 3 || (SC->NumMicroOps % 3 == 0)) && in getNumDecoderSlots()
59 return SC->NumMicroOps; in getNumDecoderSlots()
94 const MCSchedClassDesc *SC = getSchedClass(SU); in fitsIntoCurrentGroup() local
95 if (!SC->isValid()) in fitsIntoCurrentGroup()
100 if (SC->BeginGroup) in fitsIntoCurrentGroup()
172 const MCSchedClassDesc *SC = getSchedClass(SU); in dumpSU() local
173 if (!SC->isValid()) in dumpSU()
177 PI = SchedModel->getWriteProcResBegin(SC), in dumpSU()
178 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in dumpSU()
195 if (SC->NumMicroOps > 1) in dumpSU()
196 OS << "/" << SC->NumMicroOps << "uops"; in dumpSU()
197 if (SC->BeginGroup && SC->EndGroup) in dumpSU()
199 else if (SC->BeginGroup) in dumpSU()
201 else if (SC->EndGroup) in dumpSU()
273 const MCSchedClassDesc *SC = getSchedClass(SU); in EmitInstruction() local
298 PI = SchedModel->getWriteProcResBegin(SC), in EmitInstruction()
299 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in EmitInstruction()
337 if (CurrGroupSize >= GroupLim || SC->EndGroup) in EmitInstruction()
342 const MCSchedClassDesc *SC = getSchedClass(SU); in groupingCost() local
343 if (!SC->isValid()) in groupingCost()
348 if (SC->BeginGroup) { in groupingCost()
356 if (SC->EndGroup) { in groupingCost()
391 const MCSchedClassDesc *SC = getSchedClass(SU); in resourcesCost() local
392 if (!SC->isValid()) in resourcesCost()
402 PI = SchedModel->getWriteProcResBegin(SC), in resourcesCost()
403 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) in resourcesCost()
419 const MCSchedClassDesc *SC = SchedModel->resolveSchedClass(MI); in emitInstruction() local
421 make_range(SchedModel->getWriteProcResBegin(SC), in emitInstruction()
422 SchedModel->getWriteProcResEnd(SC))) { in emitInstruction()