Lines Matching defs:Rec
635 ClassInfo *getOperandClass(Record *Rec, int SubOpIdx);
1001 Record *Rec = OI.Rec;
1003 Rec = cast<DefInit>(OI.MIOperandInfo->getArg(SubOpIdx))->getDef();
1004 return getOperandClass(Rec, SubOpIdx);
1008 AsmMatcherInfo::getOperandClass(Record *Rec, int SubOpIdx) {
1009 if (Rec->isSubClassOf("RegisterOperand")) {
1012 const RecordVal *R = Rec->getValue("ParserMatchClass");
1014 PrintFatalError("Record `" + Rec->getName() +
1024 Record *ClassRec = Rec->getValueAsDef("RegClass");
1026 PrintFatalError(Rec->getLoc(), "RegisterOperand `" + Rec->getName() +
1030 PrintFatalError(Rec->getLoc(), "register class has no class info!");
1034 if (Rec->isSubClassOf("RegisterClass")) {
1035 if (ClassInfo *CI = RegisterClassClasses[Rec])
1037 PrintFatalError(Rec->getLoc(), "register class has no class info!");
1040 if (!Rec->isSubClassOf("Operand"))
1041 PrintFatalError(Rec->getLoc(), "Operand `" + Rec->getName() +
1043 Record *MatchClass = Rec->getValueAsDef("ParserMatchClass");
1047 PrintFatalError(Rec->getLoc(), "operand has no match class!");
1069 Record *Rec = *it;
1070 RegisterSets.insert(std::set<Record*>(&Rec, &Rec + 1));
1165 Record *Rec = *it;
1166 ClassInfo *CI = RegisterClasses[Rec];
1170 CI->ClassName = Rec->getName();
1171 CI->Name = "MCK_" + Rec->getName();
1172 CI->ValueName = Rec->getName();
1174 CI->ValueName = CI->ValueName + "," + Rec->getName();
1453 Record *Rec = AllTokenAliases[i];
1454 ClassInfo *FromClass = getTokenClass(Rec->getValueAsString("FromToken"));
1455 ClassInfo *ToClass = getTokenClass(Rec->getValueAsString("ToToken"));
1457 PrintFatalError(Rec->getLoc(),
1486 Record *Rec = Operands[Idx].Rec;
1487 assert(Rec->isSubClassOf("Operand") && "Unexpected operand!");
1488 Record *MatchClass = Rec->getValueAsDef("ParserMatchClass");