Lines Matching defs:AsmParser
713 /// The tablegen AsmParser record.
714 Record *AsmParser;
768 AsmMatcherInfo(Record *AsmParser,
1434 : Records(records), AsmParser(asmParser), Target(target) {
1480 bool HasMnemonicFirst = AsmParser->getValueAsBit("HasMnemonicFirst");
1482 AsmParser->getValueAsBit("ReportMultipleNearMisses");
2399 << "AsmParser::" << Info.Target.getName()
2408 << "AsmParser::Match_" << CI.DiagnosticType << ":\n";
2432 OS << " return " << Info.Target.getName() << "AsmParser::Match_"
2480 OS << " return " << Info.Target.getName() << "AsmParser::Match_"
2595 static void emitMatchRegisterName(CodeGenTarget &Target, Record *AsmParser,
2611 AsmParser->getValueAsBit("AllowDuplicateRegisterNames");
2620 static void emitMatchRegisterAltName(CodeGenTarget &Target, Record *AsmParser,
2644 AsmParser->getValueAsBit("AllowDuplicateRegisterNames");
3005 std::string(Info.AsmParser->getValueAsString("AsmParserClassName"));
3008 << AsmParserName << "&AsmParser,\n";
3027 OS << " if (!AsmParser.regsEqual(*SrcOp1, *SrcOp2)) {\n";
3128 Record *AsmParser = Target.getAsmParser();
3129 StringRef ClassName = AsmParser->getValueAsString("AsmParserClassName");
3132 AsmMatcherInfo Info(AsmParser, Target, Records);
3185 bool HasMnemonicFirst = AsmParser->getValueAsBit("HasMnemonicFirst");
3188 AsmParser->getValueAsBit("ReportMultipleNearMisses");
3259 if (AsmParser->getValueAsBit("ShouldEmitMatchRegisterName"))
3260 emitMatchRegisterName(Target, AsmParser, OS);
3262 if (AsmParser->getValueAsBit("ShouldEmitMatchRegisterAltName"))
3263 emitMatchRegisterAltName(Target, AsmParser, OS);
3858 StringRef InsnCleanupFn = AsmParser->getValueAsString("AsmParserInstCleanup");