Lines Matching refs:ProcIndices
503 SchedClasses.back().ProcIndices.push_back(0); in collectSchedClasses()
514 IdxVec ProcIndices(1, 0); in collectSchedClasses() local
516 unsigned SCIdx = addSchedClass(ItinDef, Writes, Reads, ProcIndices); in collectSchedClasses()
541 if (SC.ProcIndices[0] != 0) in collectSchedClasses()
545 IdxVec ProcIndices; in collectSchedClasses() local
547 ProcIndices.push_back(0); in collectSchedClasses()
552 ProcIndices.push_back(0); in collectSchedClasses()
565 ProcIndices.push_back(ProcModel.Index); in collectSchedClasses()
579 if (!std::count(ProcIndices.begin(), ProcIndices.end(), PI->Index)) in collectSchedClasses()
644 ArrayRef<unsigned> ProcIndices) { in addSchedClass() argument
645 assert(!ProcIndices.empty() && "expect at least one ProcIdx"); in addSchedClass()
650 std::set_union(SchedClasses[Idx].ProcIndices.begin(), in addSchedClass()
651 SchedClasses[Idx].ProcIndices.end(), in addSchedClass()
652 ProcIndices.begin(), ProcIndices.end(), in addSchedClass()
654 SchedClasses[Idx].ProcIndices.swap(PI); in addSchedClass()
665 SC.ProcIndices = ProcIndices; in addSchedClass()
718 assert(SchedClasses[OldSCIdx].ProcIndices[0] == 0 && in createInstRWClass()
740 SC.ProcIndices.push_back(0); in createInstRWClass()
860 Idx, SchedClasses[Idx].ProcIndices); in inferSchedClasses()
886 IdxVec ProcIndices(1, PIdx); in inferFromItinClass() local
887 inferFromRW(Writes, Reads, FromClassIdx, ProcIndices); in inferFromItinClass()
910 IdxVec ProcIndices(1, PIdx); in inferFromInstRWs() local
911 inferFromRW(Writes, Reads, SCIdx, ProcIndices); // May mutate SchedClasses. in inferFromInstRWs()
943 SmallVector<unsigned, 4> ProcIndices; member
1106 SmallVectorImpl<unsigned> &ProcIndices = TransVec[TransIdx].ProcIndices; in getIntersectingVariants() local
1107 if (ProcIndices[0] && Variants[VIdx].ProcIdx) { in getIntersectingVariants()
1108 unsigned Cnt = std::count(ProcIndices.begin(), ProcIndices.end(), in getIntersectingVariants()
1154 Trans.ProcIndices.assign(1, VInfo.ProcIdx); in pushVariant()
1264 TransVec.back().ProcIndices = Trans.ProcIndices; in substituteVariants()
1314 IdxVec ProcIndices(I->ProcIndices.begin(), I->ProcIndices.end()); in inferFromTransitions() local
1318 OperReadsVariant, ProcIndices); in inferFromTransitions()
1319 SCTrans.ProcIndices = ProcIndices; in inferFromTransitions()
1339 ArrayRef<unsigned> ProcIndices) { in inferFromRW() argument
1340 DEBUG(dbgs() << "INFER RW proc("; dumpIdxVec(ProcIndices); dbgs() << ") "); in inferFromRW()
1346 LastTransitions.back().ProcIndices.append(ProcIndices.begin(), in inferFromRW()
1347 ProcIndices.end()); in inferFromRW()
1462 IdxVec ProcIndices(1, getProcModel(RWModelDef).Index); in collectProcResources() local
1466 collectRWResources(Writes, Reads, ProcIndices); in collectProcResources()
1469 collectRWResources(SCI->Writes, SCI->Reads, SCI->ProcIndices); in collectProcResources()
1619 IdxVec ProcIndices(1, PIdx); in collectItinProcResources() local
1620 collectRWResources(Writes, Reads, ProcIndices); in collectItinProcResources()
1626 ArrayRef<unsigned> ProcIndices) { in collectRWResources() argument
1630 for (unsigned Idx : ProcIndices) in collectRWResources()
1634 for (unsigned Idx : ProcIndices) in collectRWResources()
1646 AliasProcIndices = ProcIndices; in collectRWResources()
1662 ArrayRef<unsigned> ProcIndices) { in collectRWResources() argument
1665 collectRWResources(Idx, /*IsRead=*/false, ProcIndices); in collectRWResources()
1668 collectRWResources(Idx, /*IsRead=*/true, ProcIndices); in collectRWResources()
1821 dbgs() << "\n ProcIdx: "; dumpIdxVec(ProcIndices); dbgs() << '\n'; in dump()
1826 dumpIdxVec(TI->ProcIndices); in dump()