Lines Matching refs:TheDef
80 if ((*RI)->match((*I)->TheDef->getName()))
81 Elts.insert((*I)->TheDef);
219 Record *SchedDef = (*I)->TheDef;
298 findRWs(WI->TheDef->getValueAsListOfDefs("Writes"), WI->Sequence,
351 if (I->TheDef == Def)
359 Record *ReadDef = SchedReads[i].TheDef;
414 SchedRW.TheDef ? SchedRW.TheDef->getValueAsInt("Repeat") : 1;
440 PrintFatalError(AliasRW.TheDef->getLoc(), "Multiple aliases "
443 AliasDef = AliasRW.TheDef;
455 SchedWrite.TheDef ? SchedWrite.TheDef->getValueAsInt("Repeat") : 1;
514 Record *ItinDef = (*I)->TheDef->getValueAsDef("Itinerary");
516 if (!(*I)->TheDef->isValueUnset("SchedRW"))
517 findRWs((*I)->TheDef->getValueAsListOfDefs("SchedRW"), Writes, Reads);
523 InstrClassMap[(*I)->TheDef] = SCIdx;
541 std::string InstName = (*I)->TheDef->getName();
542 unsigned SCIdx = InstrClassMap.lookup((*I)->TheDef);
544 dbgs() << "No machine model for " << (*I)->TheDef->getName() << '\n';
549 PrintFatalError((*I)->TheDef->getLoc(), "Instruction's sched class "
587 dbgs() << "No machine model for " << (*I)->TheDef->getName()
611 return InstrClassMap.lookup(Inst.TheDef);
972 RecVec Variants = SchedRW.TheDef->getValueAsListOfDefs("Variants");
1043 if (SchedRW.TheDef->getValueInit("SchedModel")->isComplete()) {
1044 Record *ModelDef = SchedRW.TheDef->getValueAsDef("SchedModel");
1048 const RecVec VarDefs = SchedRW.TheDef->getValueAsListOfDefs("Variants");
1066 const RecVec VarDefs = AliasRW.TheDef->getValueAsListOfDefs("Variants");
1072 TransVariant(AliasRW.TheDef, SchedRW.Index, AliasProcIdx, 0));
1209 PrintFatalError(SchedRW.TheDef->getLoc(),
1464 if (SchedRW.TheDef) {
1465 if (!IsRead && SchedRW.TheDef->isSubClassOf("SchedWriteRes")) {
1468 addWriteRes(SchedRW.TheDef, *PI);
1471 else if (IsRead && SchedRW.TheDef->isSubClassOf("SchedReadAdvance")) {
1474 addReadAdvance(SchedRW.TheDef, *PI);