Lines Matching refs:RI
79 RI = RegexList.begin(), RE = RegexList.end(); RI != RE; ++RI) {
80 if ((*RI)->match((*I)->TheDef->getName()))
323 for (RecIter RI = RWDefs.begin(), RE = RWDefs.end();
324 RI != RE; ++RI) {
325 if (!getSchedRWIdx(*RI, (*RI)->isSubClassOf("SchedRead"))) {
326 const std::string &Name = (*RI)->getName();
328 dbgs() << "Unused SchedReadWrite " << (*RI)->getName() << '\n';
399 for (RecIter RI = RWDefs.begin(), RE = RWDefs.end(); RI != RE; ++RI) {
400 unsigned Idx = getSchedRWIdx(*RI, IsRead);
563 for (IdxIter RI = SC.Reads.begin(), RE = SC.Reads.end(); RI != RE; ++RI)
564 dbgs() << " " << SchedReads[*RI].Name;
580 for (IdxIter RI = Reads.begin(), RE = Reads.end(); RI != RE; ++RI)
581 dbgs() << " " << SchedReads[*RI].Name;
625 for (IdxIter RI = OperReads.begin(), RE = OperReads.end(); RI != RE; ++RI) {
627 Name += SchedReads[*RI].Name;
736 for (RecIter RI = SchedClasses[OldSCIdx].InstRWs.begin(),
737 RE = SchedClasses[OldSCIdx].InstRWs.end(); RI != RE; ++RI) {
738 if ((*RI)->getValueAsDef("SchedModel") == RWModelDef) {
741 (*RI)->getValue("Instrs")->getValue()->getAsString());
743 assert(*RI != InstRWDef && "SchedClass has duplicate InstRW def");
744 SC.InstRWs.push_back(*RI);
1024 RI = RSI->begin(), RE = RSI->end(); RI != RE; ++RI) {
1025 if (hasAliasedVariants(SchedModels.getSchedRead(*RI), SchedModels))
1049 for (RecIter RI = VarDefs.begin(), RE = VarDefs.end(); RI != RE; ++RI)
1050 Variants.push_back(TransVariant(*RI, SchedRW.Index, VarProcIdx, 0));
1067 for (RecIter RI = VarDefs.begin(), RE = VarDefs.end(); RI != RE; ++RI)
1068 Variants.push_back(TransVariant(*RI, AliasRW.Index, AliasProcIdx, 0));
1337 for (IdxIter RI = ReadSeq.begin(), RE = ReadSeq.end(); RI != RE; ++RI)
1338 Seq.push_back(*RI);
1413 for (RecIter RI = PM.WriteResDefs.begin(),
1414 RE = PM.WriteResDefs.end(); RI != RE; ++RI) {
1415 if ((*RI)->isSubClassOf("WriteRes"))
1416 dbgs() << (*RI)->getValueAsDef("WriteType")->getName() << " ";
1418 dbgs() << (*RI)->getName() << " ";
1421 for (RecIter RI = PM.ReadAdvanceDefs.begin(),
1422 RE = PM.ReadAdvanceDefs.end(); RI != RE; ++RI) {
1423 if ((*RI)->isSubClassOf("ReadAdvance"))
1424 dbgs() << (*RI)->getValueAsDef("ReadType")->getName() << " ";
1426 dbgs() << (*RI)->getName() << " ";
1429 for (RecIter RI = PM.ProcResourceDefs.begin(),
1430 RE = PM.ProcResourceDefs.end(); RI != RE; ++RI) {
1431 dbgs() << (*RI)->getName() << " ";
1507 for (IdxIter RI = Reads.begin(), RE = Reads.end(); RI != RE; ++RI)
1508 collectRWResources(*RI, /*IsRead=*/true, ProcIndices);
1522 for (RecIter RI = ProcResourceDefs.begin(), RE = ProcResourceDefs.end();
1523 RI != RE; ++RI) {
1525 if ((*RI)->getValueAsDef("Kind") == ProcResKind
1526 && (*RI)->getValueAsDef("SchedModel") == PM.ModelDef) {
1528 PrintFatalError((*RI)->getLoc(),
1532 ProcUnitDef = *RI;
1536 for (RecIter RI = ProcResGroups.begin(), RE = ProcResGroups.end();
1537 RI != RE; ++RI) {
1539 if (*RI == ProcResKind
1540 && (*RI)->getValueAsDef("SchedModel") == PM.ModelDef) {
1542 PrintFatalError((*RI)->getLoc(),
1546 ProcUnitDef = *RI;