Lines Matching refs:Rec
643 ClassInfo *getOperandClass(Record *Rec, int SubOpIdx);
1016 Record *Rec = OI.Rec;
1018 Rec = cast<DefInit>(OI.MIOperandInfo->getArg(SubOpIdx))->getDef();
1019 return getOperandClass(Rec, SubOpIdx);
1023 AsmMatcherInfo::getOperandClass(Record *Rec, int SubOpIdx) {
1024 if (Rec->isSubClassOf("RegisterOperand")) {
1027 const RecordVal *R = Rec->getValue("ParserMatchClass");
1029 PrintFatalError("Record `" + Rec->getName() +
1039 Record *ClassRec = Rec->getValueAsDef("RegClass");
1041 PrintFatalError(Rec->getLoc(), "RegisterOperand `" + Rec->getName() +
1045 PrintFatalError(Rec->getLoc(), "register class has no class info!");
1049 if (Rec->isSubClassOf("RegisterClass")) {
1050 if (ClassInfo *CI = RegisterClassClasses[Rec])
1052 PrintFatalError(Rec->getLoc(), "register class has no class info!");
1055 if (!Rec->isSubClassOf("Operand"))
1056 PrintFatalError(Rec->getLoc(), "Operand `" + Rec->getName() +
1058 Record *MatchClass = Rec->getValueAsDef("ParserMatchClass");
1062 PrintFatalError(Rec->getLoc(), "operand has no match class!");
1098 Record *Rec = *it;
1099 RegisterSets.insert(RegisterSet(&Rec, &Rec + 1));
1196 Record *Rec = *it;
1197 ClassInfo *CI = RegisterClasses[Rec];
1201 CI->ClassName = Rec->getName();
1202 CI->Name = "MCK_" + Rec->getName();
1203 CI->ValueName = Rec->getName();
1205 CI->ValueName = CI->ValueName + "," + Rec->getName();
1486 Record *Rec = AllTokenAliases[i];
1487 ClassInfo *FromClass = getTokenClass(Rec->getValueAsString("FromToken"));
1488 ClassInfo *ToClass = getTokenClass(Rec->getValueAsString("ToToken"));
1490 PrintFatalError(Rec->getLoc(),
1519 Record *Rec = Operands[Idx].Rec;
1520 assert(Rec->isSubClassOf("Operand") && "Unexpected operand!");
1521 Record *MatchClass = Rec->getValueAsDef("ParserMatchClass");