Lines Matching refs:SchedClasses
499 SchedClasses.resize(1); in collectSchedClasses()
500 SchedClasses.back().Index = 0; in collectSchedClasses()
501 SchedClasses.back().Name = "NoInstrModel"; in collectSchedClasses()
502 SchedClasses.back().ItinClassDef = Records.getDef("NoItinerary"); in collectSchedClasses()
503 SchedClasses.back().ProcIndices.push_back(0); in collectSchedClasses()
525 NumInstrSchedClasses = SchedClasses.size(); in collectSchedClasses()
560 const RecVec &RWDefs = SchedClasses[SCIdx].InstRWs; in collectSchedClasses()
648 if (Idx || SchedClasses[0].isKeyEqual(ItinClassDef, OperWrites, OperReads)) { in addSchedClass()
650 std::set_union(SchedClasses[Idx].ProcIndices.begin(), in addSchedClass()
651 SchedClasses[Idx].ProcIndices.end(), in addSchedClass()
654 SchedClasses[Idx].ProcIndices.swap(PI); in addSchedClass()
657 Idx = SchedClasses.size(); in addSchedClass()
658 SchedClasses.resize(Idx+1); in addSchedClass()
659 CodeGenSchedClass &SC = SchedClasses.back(); in addSchedClass()
708 const RecVec &RWDefs = SchedClasses[OldSCIdx].InstRWs; in createInstRWClass()
718 assert(SchedClasses[OldSCIdx].ProcIndices[0] == 0 && in createInstRWClass()
721 << SchedClasses[OldSCIdx].Name << " on " in createInstRWClass()
723 SchedClasses[OldSCIdx].InstRWs.push_back(InstRWDef); in createInstRWClass()
728 unsigned SCIdx = SchedClasses.size(); in createInstRWClass()
729 SchedClasses.resize(SCIdx+1); in createInstRWClass()
730 CodeGenSchedClass &SC = SchedClasses.back(); in createInstRWClass()
737 SC.ItinClassDef = SchedClasses[OldSCIdx].ItinClassDef; in createInstRWClass()
738 SC.Writes = SchedClasses[OldSCIdx].Writes; in createInstRWClass()
739 SC.Reads = SchedClasses[OldSCIdx].Reads; in createInstRWClass()
749 for (RecIter RI = SchedClasses[OldSCIdx].InstRWs.begin(), in createInstRWClass()
750 RE = SchedClasses[OldSCIdx].InstRWs.end(); RI != RE; ++RI) { in createInstRWClass()
814 << SchedClasses[i].Name << '\n'; in collectProcItins()
851 for (unsigned Idx = 0; Idx != SchedClasses.size(); ++Idx) { in inferSchedClasses()
852 assert(SchedClasses[Idx].Index == Idx && "bad SCIdx"); in inferSchedClasses()
854 if (SchedClasses[Idx].ItinClassDef) in inferSchedClasses()
855 inferFromItinClass(SchedClasses[Idx].ItinClassDef, Idx); in inferSchedClasses()
856 if (!SchedClasses[Idx].InstRWs.empty()) in inferSchedClasses()
858 if (!SchedClasses[Idx].Writes.empty()) { in inferSchedClasses()
859 inferFromRW(SchedClasses[Idx].Writes, SchedClasses[Idx].Reads, in inferSchedClasses()
860 Idx, SchedClasses[Idx].ProcIndices); in inferSchedClasses()
862 assert(SchedClasses.size() < (NumInstrSchedClasses*6) && in inferSchedClasses()
894 for (unsigned I = 0, E = SchedClasses[SCIdx].InstRWs.size(); I != E; ++I) { in inferFromInstRWs()
895 assert(SchedClasses[SCIdx].InstRWs.size() == E && "InstrRWs was mutated!"); in inferFromInstRWs()
896 Record *Rec = SchedClasses[SCIdx].InstRWs[I]; in inferFromInstRWs()