Lines Matching refs:SchedRW
397 const CodeGenSchedRW &SchedRW = getSchedRW(RWIdx, IsRead); in expandRWSequence() local
398 if (!SchedRW.IsSequence) { in expandRWSequence()
403 SchedRW.TheDef ? SchedRW.TheDef->getValueAsInt("Repeat") : 1; in expandRWSequence()
405 for (IdxIter I = SchedRW.Sequence.begin(), E = SchedRW.Sequence.end(); in expandRWSequence()
479 CodeGenSchedRW SchedRW(RWIdx, IsRead, Seq, genRWName(Seq, IsRead)); in findOrInsertRW() local
481 SchedReads.push_back(SchedRW); in findOrInsertRW()
483 SchedWrites.push_back(SchedRW); in findOrInsertRW()
952 const CodeGenSchedRW &SchedRW, unsigned TransIdx,
975 const CodeGenSchedRW &SchedRW = SchedModels.getSchedRW(I->RWIdx, I->IsRead); in mutuallyExclusive() local
976 assert(SchedRW.HasVariants && "PredCheck must refer to a SchedVariant"); in mutuallyExclusive()
977 RecVec Variants = SchedRW.TheDef->getValueAsListOfDefs("Variants"); in mutuallyExclusive()
1042 const CodeGenSchedRW &SchedRW, unsigned TransIdx, in getIntersectingVariants() argument
1048 if (SchedRW.HasVariants) { in getIntersectingVariants()
1050 if (SchedRW.TheDef->getValueInit("SchedModel")->isComplete()) { in getIntersectingVariants()
1051 Record *ModelDef = SchedRW.TheDef->getValueAsDef("SchedModel"); in getIntersectingVariants()
1055 const RecVec VarDefs = SchedRW.TheDef->getValueAsListOfDefs("Variants"); in getIntersectingVariants()
1057 Variants.push_back(TransVariant(*RI, SchedRW.Index, VarProcIdx, 0)); in getIntersectingVariants()
1061 for (RecIter AI = SchedRW.Aliases.begin(), AE = SchedRW.Aliases.end(); in getIntersectingVariants()
1081 TransVariant(AliasRW.TheDef, SchedRW.Index, AliasProcIdx, 0)); in getIntersectingVariants()
1123 PrintFatalError(SchedRW.TheDef->getLoc(), "No variant of this type has " in getIntersectingVariants()
1153 const CodeGenSchedRW &SchedRW = SchedModels.getSchedRW(VInfo.RWIdx, IsRead); in pushVariant() local
1157 if (SchedRW.IsVariadic) { in pushVariant()
1207 const CodeGenSchedRW &SchedRW = SchedModels.getSchedRW(*RWI, IsRead); in substituteVariantOperand() local
1214 if (!hasAliasedVariants(SchedRW, SchedModels)) { in substituteVariantOperand()
1224 getIntersectingVariants(SchedRW, TransIdx, IntersectingVariants); in substituteVariantOperand()
1551 const CodeGenSchedRW &SchedRW = getSchedRW(RWIdx, IsRead); in collectRWResources() local
1552 if (SchedRW.TheDef) { in collectRWResources()
1553 if (!IsRead && SchedRW.TheDef->isSubClassOf("SchedWriteRes")) { in collectRWResources()
1555 addWriteRes(SchedRW.TheDef, Idx); in collectRWResources()
1557 else if (IsRead && SchedRW.TheDef->isSubClassOf("SchedReadAdvance")) { in collectRWResources()
1559 addReadAdvance(SchedRW.TheDef, Idx); in collectRWResources()
1562 for (RecIter AI = SchedRW.Aliases.begin(), AE = SchedRW.Aliases.end(); in collectRWResources()