Lines Matching refs:ProcIndices

497   SchedClasses.back().ProcIndices.push_back(0);  in collectSchedClasses()
508 IdxVec ProcIndices(1, 0); in collectSchedClasses() local
510 unsigned SCIdx = addSchedClass(ItinDef, Writes, Reads, ProcIndices); in collectSchedClasses()
534 if (SC.ProcIndices[0] != 0) in collectSchedClasses()
538 IdxVec ProcIndices; in collectSchedClasses() local
540 ProcIndices.push_back(0); in collectSchedClasses()
545 ProcIndices.push_back(0); in collectSchedClasses()
558 ProcIndices.push_back(ProcModel.Index); in collectSchedClasses()
572 if (!std::count(ProcIndices.begin(), ProcIndices.end(), PI->Index)) in collectSchedClasses()
637 ArrayRef<unsigned> ProcIndices) { in addSchedClass() argument
638 assert(!ProcIndices.empty() && "expect at least one ProcIdx"); in addSchedClass()
643 std::set_union(SchedClasses[Idx].ProcIndices.begin(), in addSchedClass()
644 SchedClasses[Idx].ProcIndices.end(), in addSchedClass()
645 ProcIndices.begin(), ProcIndices.end(), in addSchedClass()
647 SchedClasses[Idx].ProcIndices.swap(PI); in addSchedClass()
658 SC.ProcIndices = ProcIndices; in addSchedClass()
711 assert(SchedClasses[OldSCIdx].ProcIndices[0] == 0 && in createInstRWClass()
733 SC.ProcIndices.push_back(0); in createInstRWClass()
844 Idx, SchedClasses[Idx].ProcIndices); in inferSchedClasses()
870 IdxVec ProcIndices(1, PIdx); in inferFromItinClass() local
871 inferFromRW(Writes, Reads, FromClassIdx, ProcIndices); in inferFromItinClass()
894 IdxVec ProcIndices(1, PIdx); in inferFromInstRWs() local
895 inferFromRW(Writes, Reads, SCIdx, ProcIndices); // May mutate SchedClasses. in inferFromInstRWs()
927 SmallVector<unsigned, 4> ProcIndices; member
1090 SmallVectorImpl<unsigned> &ProcIndices = TransVec[TransIdx].ProcIndices; in getIntersectingVariants() local
1091 if (ProcIndices[0] && Variants[VIdx].ProcIdx) { in getIntersectingVariants()
1092 unsigned Cnt = std::count(ProcIndices.begin(), ProcIndices.end(), in getIntersectingVariants()
1138 Trans.ProcIndices.assign(1, VInfo.ProcIdx); in pushVariant()
1248 TransVec.back().ProcIndices = Trans.ProcIndices; in substituteVariants()
1298 IdxVec ProcIndices(I->ProcIndices.begin(), I->ProcIndices.end()); in inferFromTransitions() local
1302 OperReadsVariant, ProcIndices); in inferFromTransitions()
1303 SCTrans.ProcIndices = ProcIndices; in inferFromTransitions()
1323 ArrayRef<unsigned> ProcIndices) { in inferFromRW() argument
1324 DEBUG(dbgs() << "INFER RW proc("; dumpIdxVec(ProcIndices); dbgs() << ") "); in inferFromRW()
1330 LastTransitions.back().ProcIndices.append(ProcIndices.begin(), in inferFromRW()
1331 ProcIndices.end()); in inferFromRW()
1443 IdxVec ProcIndices(1, getProcModel(RWModelDef).Index); in collectProcResources() local
1447 collectRWResources(Writes, Reads, ProcIndices); in collectProcResources()
1450 collectRWResources(SCI->Writes, SCI->Reads, SCI->ProcIndices); in collectProcResources()
1543 IdxVec ProcIndices(1, PIdx); in collectItinProcResources() local
1544 collectRWResources(Writes, Reads, ProcIndices); in collectItinProcResources()
1550 ArrayRef<unsigned> ProcIndices) { in collectRWResources() argument
1554 for (unsigned Idx : ProcIndices) in collectRWResources()
1558 for (unsigned Idx : ProcIndices) in collectRWResources()
1570 AliasProcIndices = ProcIndices; in collectRWResources()
1586 ArrayRef<unsigned> ProcIndices) { in collectRWResources() argument
1589 collectRWResources(Idx, /*IsRead=*/false, ProcIndices); in collectRWResources()
1592 collectRWResources(Idx, /*IsRead=*/true, ProcIndices); in collectRWResources()
1736 dbgs() << "\n ProcIdx: "; dumpIdxVec(ProcIndices); dbgs() << '\n'; in dump()
1741 dumpIdxVec(TI->ProcIndices); in dump()