Lines Matching refs:RI
318 for (RecIter RI = RWDefs.begin(), RE = RWDefs.end(); in collectSchedRW()
319 RI != RE; ++RI) { in collectSchedRW()
320 if (!getSchedRWIdx(*RI, (*RI)->isSubClassOf("SchedRead"))) { in collectSchedRW()
321 const std::string &Name = (*RI)->getName(); in collectSchedRW()
323 dbgs() << "Unused SchedReadWrite " << (*RI)->getName() << '\n'; in collectSchedRW()
394 for (RecIter RI = RWDefs.begin(), RE = RWDefs.end(); RI != RE; ++RI) { in findRWs() local
395 unsigned Idx = getSchedRWIdx(*RI, IsRead); in findRWs()
556 for (IdxIter RI = SC.Reads.begin(), RE = SC.Reads.end(); RI != RE; ++RI) in collectSchedClasses() local
557 dbgs() << " " << SchedReads[*RI].Name; in collectSchedClasses()
573 for (IdxIter RI = Reads.begin(), RE = Reads.end(); RI != RE; ++RI) in collectSchedClasses() local
574 dbgs() << " " << SchedReads[*RI].Name; in collectSchedClasses()
749 for (RecIter RI = SchedClasses[OldSCIdx].InstRWs.begin(), in createInstRWClass() local
750 RE = SchedClasses[OldSCIdx].InstRWs.end(); RI != RE; ++RI) { in createInstRWClass()
751 if ((*RI)->getValueAsDef("SchedModel") == RWModelDef) { in createInstRWClass()
754 (*RI)->getValue("Instrs")->getValue()->getAsString()); in createInstRWClass()
756 assert(*RI != InstRWDef && "SchedClass has duplicate InstRW def"); in createInstRWClass()
757 SC.InstRWs.push_back(*RI); in createInstRWClass()
1045 RI = RSI->begin(), RE = RSI->end(); RI != RE; ++RI) { in hasVariant() local
1046 if (hasAliasedVariants(SchedModels.getSchedRead(*RI), SchedModels)) in hasVariant()
1072 for (RecIter RI = VarDefs.begin(), RE = VarDefs.end(); RI != RE; ++RI) in getIntersectingVariants() local
1073 Variants.push_back(TransVariant(*RI, SchedRW.Index, VarProcIdx, 0)); in getIntersectingVariants()
1092 for (RecIter RI = VarDefs.begin(), RE = VarDefs.end(); RI != RE; ++RI) in getIntersectingVariants() local
1093 Variants.push_back(TransVariant(*RI, AliasRW.Index, AliasProcIdx, 0)); in getIntersectingVariants()
1366 for (IdxIter RI = ReadSeq.begin(), RE = ReadSeq.end(); RI != RE; ++RI) in inferFromRW() local
1367 Seq.push_back(*RI); in inferFromRW()
1401 RecIter RI = SubUnits.begin(), RE = SubUnits.end(); in hasSuperGroup() local
1402 for ( ; RI != RE; ++RI) { in hasSuperGroup()
1403 if (std::find(SuperUnits.begin(), SuperUnits.end(), *RI) in hasSuperGroup()
1408 if (RI == RE) in hasSuperGroup()
1498 for (RecIter RI = ProcResGroups.begin(), RE = ProcResGroups.end(); in collectProcResources() local
1499 RI != RE; ++RI) { in collectProcResources()
1500 if (!(*RI)->getValueInit("SchedModel")->isComplete()) in collectProcResources()
1502 CodeGenProcModel &PM = getProcModel((*RI)->getValueAsDef("SchedModel")); in collectProcResources()
1504 PM.ProcResourceDefs.end(), *RI); in collectProcResources()
1506 PM.ProcResourceDefs.push_back(*RI); in collectProcResources()
1519 for (RecIter RI = PM.WriteResDefs.begin(), in collectProcResources()
1520 RE = PM.WriteResDefs.end(); RI != RE; ++RI) { in collectProcResources()
1521 if ((*RI)->isSubClassOf("WriteRes")) in collectProcResources()
1522 dbgs() << (*RI)->getValueAsDef("WriteType")->getName() << " "; in collectProcResources()
1524 dbgs() << (*RI)->getName() << " "; in collectProcResources()
1527 for (RecIter RI = PM.ReadAdvanceDefs.begin(), in collectProcResources()
1528 RE = PM.ReadAdvanceDefs.end(); RI != RE; ++RI) { in collectProcResources()
1529 if ((*RI)->isSubClassOf("ReadAdvance")) in collectProcResources()
1530 dbgs() << (*RI)->getValueAsDef("ReadType")->getName() << " "; in collectProcResources()
1532 dbgs() << (*RI)->getName() << " "; in collectProcResources()
1535 for (RecIter RI = PM.ProcResourceDefs.begin(), in collectProcResources()
1536 RE = PM.ProcResourceDefs.end(); RI != RE; ++RI) { in collectProcResources()
1537 dbgs() << (*RI)->getName() << " "; in collectProcResources()
1682 for (RecIter RI = ProcResourceDefs.begin(), RE = ProcResourceDefs.end(); in findProcResUnits() local
1683 RI != RE; ++RI) { in findProcResUnits()
1685 if ((*RI)->getValueAsDef("Kind") == ProcResKind in findProcResUnits()
1686 && (*RI)->getValueAsDef("SchedModel") == PM.ModelDef) { in findProcResUnits()
1688 PrintFatalError((*RI)->getLoc(), in findProcResUnits()
1692 ProcUnitDef = *RI; in findProcResUnits()
1695 for (RecIter RI = ProcResGroups.begin(), RE = ProcResGroups.end(); in findProcResUnits() local
1696 RI != RE; ++RI) { in findProcResUnits()
1698 if (*RI == ProcResKind in findProcResUnits()
1699 && (*RI)->getValueAsDef("SchedModel") == PM.ModelDef) { in findProcResUnits()
1701 PrintFatalError((*RI)->getLoc(), in findProcResUnits()
1705 ProcUnitDef = *RI; in findProcResUnits()