Lines Matching refs:ProcIndices
506 SchedClasses.back().ProcIndices.push_back(0); in collectSchedClasses()
517 IdxVec ProcIndices(1, 0); in collectSchedClasses() local
519 unsigned SCIdx = addSchedClass(ItinDef, Writes, Reads, ProcIndices); in collectSchedClasses()
543 if (SC.ProcIndices[0] != 0) in collectSchedClasses()
547 IdxVec ProcIndices; in collectSchedClasses() local
549 ProcIndices.push_back(0); in collectSchedClasses()
554 ProcIndices.push_back(0); in collectSchedClasses()
567 ProcIndices.push_back(ProcModel.Index); in collectSchedClasses()
581 if (!std::count(ProcIndices.begin(), ProcIndices.end(), PI->Index)) in collectSchedClasses()
644 const IdxVec &ProcIndices) in addSchedClass() argument
646 assert(!ProcIndices.empty() && "expect at least one ProcIdx"); in addSchedClass()
651 std::set_union(SchedClasses[Idx].ProcIndices.begin(), in addSchedClass()
652 SchedClasses[Idx].ProcIndices.end(), in addSchedClass()
653 ProcIndices.begin(), ProcIndices.end(), in addSchedClass()
655 SchedClasses[Idx].ProcIndices.swap(PI); in addSchedClass()
666 SC.ProcIndices = ProcIndices; in addSchedClass()
719 assert(SchedClasses[OldSCIdx].ProcIndices[0] == 0 && in createInstRWClass()
741 SC.ProcIndices.push_back(0); in createInstRWClass()
852 Idx, SchedClasses[Idx].ProcIndices); in inferSchedClasses()
878 IdxVec ProcIndices(1, PIdx); in inferFromItinClass() local
879 inferFromRW(Writes, Reads, FromClassIdx, ProcIndices); in inferFromItinClass()
902 IdxVec ProcIndices(1, PIdx); in inferFromInstRWs() local
903 inferFromRW(Writes, Reads, SCIdx, ProcIndices); // May mutate SchedClasses. in inferFromInstRWs()
935 SmallVector<unsigned, 4> ProcIndices; member
1098 SmallVectorImpl<unsigned> &ProcIndices = TransVec[TransIdx].ProcIndices; in getIntersectingVariants() local
1099 if (ProcIndices[0] && Variants[VIdx].ProcIdx) { in getIntersectingVariants()
1100 unsigned Cnt = std::count(ProcIndices.begin(), ProcIndices.end(), in getIntersectingVariants()
1146 Trans.ProcIndices.assign(1, VInfo.ProcIdx); in pushVariant()
1256 TransVec.back().ProcIndices = Trans.ProcIndices; in substituteVariants()
1306 IdxVec ProcIndices(I->ProcIndices.begin(), I->ProcIndices.end()); in inferFromTransitions() local
1310 OperReadsVariant, ProcIndices); in inferFromTransitions()
1311 SCTrans.ProcIndices = ProcIndices; in inferFromTransitions()
1331 const IdxVec &ProcIndices) { in inferFromRW() argument
1332 DEBUG(dbgs() << "INFER RW proc("; dumpIdxVec(ProcIndices); dbgs() << ") "); in inferFromRW()
1338 LastTransitions.back().ProcIndices.append(ProcIndices.begin(), in inferFromRW()
1339 ProcIndices.end()); in inferFromRW()
1451 IdxVec ProcIndices(1, getProcModel(RWModelDef).Index); in collectProcResources() local
1455 collectRWResources(Writes, Reads, ProcIndices); in collectProcResources()
1458 collectRWResources(SCI->Writes, SCI->Reads, SCI->ProcIndices); in collectProcResources()
1551 IdxVec ProcIndices(1, PIdx); in collectItinProcResources() local
1552 collectRWResources(Writes, Reads, ProcIndices); in collectItinProcResources()
1558 const IdxVec &ProcIndices) { in collectRWResources() argument
1562 for (IdxIter PI = ProcIndices.begin(), PE = ProcIndices.end(); in collectRWResources()
1568 for (IdxIter PI = ProcIndices.begin(), PE = ProcIndices.end(); in collectRWResources()
1582 AliasProcIndices = ProcIndices; in collectRWResources()
1598 const IdxVec &ProcIndices) { in collectRWResources() argument
1601 collectRWResources(*WI, /*IsRead=*/false, ProcIndices); in collectRWResources()
1604 collectRWResources(*RI, /*IsRead=*/true, ProcIndices); in collectRWResources()
1748 dbgs() << "\n ProcIdx: "; dumpIdxVec(ProcIndices); dbgs() << '\n'; in dump()
1753 dumpIdxVec(TI->ProcIndices); in dump()