Lines Matching refs:SC

47   const MCSchedClassDesc *SC = getSchedClass(SU);  in getNumDecoderSlots()  local
48 if (!SC->isValid()) in getNumDecoderSlots()
51 assert((SC->NumMicroOps != 2 || (SC->BeginGroup && !SC->EndGroup)) && in getNumDecoderSlots()
53 assert((SC->NumMicroOps < 3 || (SC->BeginGroup && SC->EndGroup)) && in getNumDecoderSlots()
55 assert((SC->NumMicroOps < 3 || (SC->NumMicroOps % 3 == 0)) && in getNumDecoderSlots()
58 return SC->NumMicroOps; in getNumDecoderSlots()
93 const MCSchedClassDesc *SC = getSchedClass(SU); in fitsIntoCurrentGroup() local
94 if (!SC->isValid()) in fitsIntoCurrentGroup()
99 if (SC->BeginGroup) in fitsIntoCurrentGroup()
171 const MCSchedClassDesc *SC = getSchedClass(SU); in dumpSU() local
172 if (!SC->isValid()) in dumpSU()
176 PI = SchedModel->getWriteProcResBegin(SC), in dumpSU()
177 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in dumpSU()
194 if (SC->NumMicroOps > 1) in dumpSU()
195 OS << "/" << SC->NumMicroOps << "uops"; in dumpSU()
196 if (SC->BeginGroup && SC->EndGroup) in dumpSU()
198 else if (SC->BeginGroup) in dumpSU()
200 else if (SC->EndGroup) in dumpSU()
272 const MCSchedClassDesc *SC = getSchedClass(SU); in EmitInstruction() local
297 PI = SchedModel->getWriteProcResBegin(SC), in EmitInstruction()
298 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in EmitInstruction()
336 if (CurrGroupSize >= GroupLim || SC->EndGroup) in EmitInstruction()
341 const MCSchedClassDesc *SC = getSchedClass(SU); in groupingCost() local
342 if (!SC->isValid()) in groupingCost()
347 if (SC->BeginGroup) { in groupingCost()
355 if (SC->EndGroup) { in groupingCost()
390 const MCSchedClassDesc *SC = getSchedClass(SU); in resourcesCost() local
391 if (!SC->isValid()) in resourcesCost()
401 PI = SchedModel->getWriteProcResBegin(SC), in resourcesCost()
402 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) in resourcesCost()
418 const MCSchedClassDesc *SC = SchedModel->resolveSchedClass(MI); in emitInstruction() local
420 make_range(SchedModel->getWriteProcResBegin(SC), in emitInstruction()
421 SchedModel->getWriteProcResEnd(SC))) { in emitInstruction()