Lines Matching refs:ProcIndices
508 SchedClasses.back().ProcIndices.push_back(0);
520 IdxVec ProcIndices(1, 0);
522 unsigned SCIdx = addSchedClass(ItinDef, Writes, Reads, ProcIndices);
548 if (SC.ProcIndices[0] != 0)
552 IdxVec ProcIndices;
554 ProcIndices.push_back(0);
559 ProcIndices.push_back(0);
572 ProcIndices.push_back(ProcModel.Index);
586 if (!std::count(ProcIndices.begin(), ProcIndices.end(), PI->Index))
644 /// SchedWrites and SchedReads. ProcIndices contains the set of IDs of
649 const IdxVec &ProcIndices)
651 assert(!ProcIndices.empty() && "expect at least one ProcIdx");
656 std::set_union(SchedClasses[Idx].ProcIndices.begin(),
657 SchedClasses[Idx].ProcIndices.end(),
658 ProcIndices.begin(), ProcIndices.end(),
660 SchedClasses[Idx].ProcIndices.swap(PI);
671 SC.ProcIndices = ProcIndices;
714 assert(SchedClasses[OldSCIdx].ProcIndices[0] == 0 &&
727 SC.ProcIndices.push_back(0);
840 Idx, SchedClasses[Idx].ProcIndices);
866 IdxVec ProcIndices(1, PIdx);
867 inferFromRW(Writes, Reads, FromClassIdx, ProcIndices);
889 IdxVec ProcIndices(1, PIdx);
890 inferFromRW(Writes, Reads, SCIdx, ProcIndices);
922 SmallVector<unsigned, 4> ProcIndices;
1085 SmallVector<unsigned, 4> &ProcIndices = TransVec[TransIdx].ProcIndices;
1086 if (ProcIndices[0] && Variants[VIdx].ProcIdx) {
1087 unsigned Cnt = std::count(ProcIndices.begin(), ProcIndices.end(),
1133 Trans.ProcIndices.assign(1, VInfo.ProcIdx);
1241 TransVec.back().ProcIndices = Trans.ProcIndices;
1291 IdxVec ProcIndices(I->ProcIndices.begin(), I->ProcIndices.end());
1295 OperReadsVariant, ProcIndices);
1296 SCTrans.ProcIndices = ProcIndices;
1316 const IdxVec &ProcIndices) {
1317 DEBUG(dbgs() << "INFER RW proc("; dumpIdxVec(ProcIndices); dbgs() << ") ");
1323 LastTransitions.back().ProcIndices.append(ProcIndices.begin(),
1324 ProcIndices.end());
1366 // OperWrites, OperReads, or ProcIndices after calling inferFromTransitions.
1423 // with processor resources. Refer to the parent SchedClass's ProcIndices to
1436 IdxVec ProcIndices(1, getProcModel(RWModelDef).Index);
1440 collectRWResources(Writes, Reads, ProcIndices);
1443 collectRWResources(SCI->Writes, SCI->Reads, SCI->ProcIndices);
1512 IdxVec ProcIndices(1, PIdx);
1513 collectRWResources(Writes, Reads, ProcIndices);
1519 const IdxVec &ProcIndices) {
1523 for (IdxIter PI = ProcIndices.begin(), PE = ProcIndices.end();
1529 for (IdxIter PI = ProcIndices.begin(), PE = ProcIndices.end();
1543 AliasProcIndices = ProcIndices;
1559 const IdxVec &ProcIndices) {
1562 collectRWResources(*WI, /*IsRead=*/false, ProcIndices);
1565 collectRWResources(*RI, /*IsRead=*/true, ProcIndices);
1709 dbgs() << "\n ProcIdx: "; dumpIdxVec(ProcIndices); dbgs() << '\n';
1714 dumpIdxVec(TI->ProcIndices);