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");
1045 if (SchedRW.TheDef->getValueInit("SchedModel")->isComplete()) {
1046 Record *ModelDef = SchedRW.TheDef->getValueAsDef("SchedModel");
1050 const RecVec VarDefs = SchedRW.TheDef->getValueAsListOfDefs("Variants");
1070 const RecVec VarDefs = AliasRW.TheDef->getValueAsListOfDefs("Variants");
1076 TransVariant(AliasRW.TheDef, SchedRW.Index, AliasProcIdx, 0));
1118 PrintFatalError(SchedRW.TheDef->getLoc(), "No variant of this type has "
1521 if (SchedRW.TheDef) {
1522 if (!IsRead && SchedRW.TheDef->isSubClassOf("SchedWriteRes")) {
1525 addWriteRes(SchedRW.TheDef, *PI);
1528 else if (IsRead && SchedRW.TheDef->isSubClassOf("SchedReadAdvance")) {
1531 addReadAdvance(SchedRW.TheDef, *PI);