Lines Matching refs:DiagnosticType
206 std::string DiagnosticType;
1141 Entry->DiagnosticType = "";
1278 CI->DiagnosticType = "";
1311 Init *DiagnosticType = Def->getValueInit("DiagnosticType");
1312 if (StringInit *SI = dyn_cast<StringInit>(DiagnosticType))
1313 CI->DiagnosticType = std::string(SI->getValue());
1321 if (!CI->DiagnosticString.empty() && CI->DiagnosticType.empty())
1322 CI->DiagnosticType = RC.getName();
1403 Init *DiagnosticType = Rec->getValueInit("DiagnosticType");
1404 if (StringInit *SI = dyn_cast<StringInit>(DiagnosticType))
1405 CI->DiagnosticType = std::string(SI->getValue());
1409 // If we have a DiagnosticString, we need a DiagnosticType for use within
1411 if (!CI->DiagnosticString.empty() && CI->DiagnosticType.empty())
1412 CI->DiagnosticType = CI->ClassName;
2405 assert(!CI.DiagnosticType.empty() &&
2406 "DiagnosticString set without DiagnosticType");
2408 << "AsmParser::Match_" << CI.DiagnosticType << ":\n";
2424 return CI.isRegisterClass() && !CI.DiagnosticType.empty();
2430 if (CI.isRegisterClass() && !CI.DiagnosticType.empty()) {
2433 << CI.DiagnosticType << ";\n";
2478 if (!CI.DiagnosticType.empty()) {
2481 << CI.DiagnosticType << ";\n";
2656 if (!OpClassEntry.second->DiagnosticType.empty())
2657 Types.insert(OpClassEntry.second->DiagnosticType);
2660 if (!OpClassEntry.second->DiagnosticType.empty())
2661 Types.insert(OpClassEntry.second->DiagnosticType);