| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | Error.cpp | 101 void PrintError(const Twine &Msg) { WithColor::error() << Msg << "\n"; } in PrintError() function 103 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() function 107 void PrintError(const char *Loc, const Twine &Msg) { in PrintError() function 113 void PrintError(const Record *Rec, const Twine &Msg) { in PrintError() function 119 void PrintError(const RecordVal *RecVal, const Twine &Msg) { in PrintError() function 126 PrintError(Msg); in PrintFatalError() 133 PrintError(ErrorLoc, Msg); in PrintFatalError() 142 PrintError(Rec->getLoc(), Msg); in PrintFatalError() 151 PrintError(RecVal->getLoc(), Msg); in PrintFatalError() 163 PrintError(Loc, "assert condition must of type bit, bits, or int."); in CheckAssert() [all …]
|
| H A D | TGLexer.cpp | 69 PrintError(Loc, Msg); in ReturnError() 117 PrintError(getLoc(), in getNextChar() 393 PrintError(getLoc(), "Expected filename after include"); in LexInclude() 404 PrintError(getLoc(), "Could not find include file '" + Filename + "'"); in LexInclude() 436 PrintError(TokStart, "Unterminated comment!"); in SkipCComment() 748 PrintError(TokStart, "double #else"); in lexPreprocessor() 993 PrintError(CurPtr, "Unexpected character"); in prepSkipDirectiveEnd() 1033 PrintError(CurBuf.end(), "Reached EOF without matching #endif"); in prepReportPreprocessorStackError() 1034 PrintError(PrepControl.SrcPos, "The latest preprocessor control is here"); in prepReportPreprocessorStackError()
|
| H A D | TGParser.h | 176 PrintError(L, Msg); in Error()
|
| H A D | TGParser.cpp | 103 PrintError(R.getLoc(), in checkConcrete() 401 PrintError(Loop.Loc, Twine("attempting to loop over '") + in resolve() 471 PrintError(Rec->getLoc(), in addDefOne() 483 PrintError(Rec->getLoc(), Twine("record name '") + in addDefOne() 498 PrintError(Rec->getLoc(), Twine("adding record of incompatible type '") + in addDefOne() 3002 PrintError(SemiLoc, "A class or def body should not end with a semicolon"); in ParseBody() 3604 PrintError(SemiLoc, "A multiclass body should not end with a semicolon"); in ParseMultiClass()
|
| H A D | Record.cpp | 1450 PrintError(CurRec->getLoc(), in Fold() 1455 PrintError(CurRec->getLoc(), "!substr length must be nonnegative"); in Fold() 1470 PrintError(CurRec->getLoc(), in Fold()
|
| /llvm-project-15.0.7/llvm/include/llvm/TableGen/ |
| H A D | Error.h | 34 void PrintError(const Twine &Msg); 35 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg); 36 void PrintError(const char *Loc, const Twine &Msg); 37 void PrintError(const Record *Rec, const Twine &Msg); 38 void PrintError(const RecordVal *RecVal, const Twine &Msg);
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | GICombinerEmitter.cpp | 352 PrintError(TheDef.getLoc(), "Expected defs operator"); in parseDefs() 376 PrintError(TheDef.getLoc(), in parseDefs() 379 PrintError(TheDef.getLoc(), in parseDefs() 382 PrintError(TheDef.getLoc(), in parseDefs() 480 PrintError(TheDef.getLoc(), in parseWipMatchOpcodeMatcher() 499 PrintError(TheDef.getLoc(), "Matcher is empty"); in parseMatcher() 525 PrintError(TheDef.getLoc(), in parseMatcher() 536 PrintError(TheDef.getLoc(), in parseMatcher() 680 PrintError( in makeCombineRule() 710 PrintError(R->getLoc(), "Failed to parse rule"); in gatherRules() [all …]
|
| H A D | PseudoLoweringEmitter.cpp | 94 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in addDagOperandMapping() 142 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion() 149 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion() 159 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion() 167 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion() 206 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
|
| H A D | OptEmitter.cpp | 77 PrintError(A->getLoc(), Twine("Option is equivalent to")); in CompareOptionRecords() 78 PrintError(B->getLoc(), Twine("Other defined here")); in CompareOptionRecords()
|
| H A D | DirectiveEmitter.cpp | 87 PrintError("enumClauseValue field not set in Clause" + in GenerateEnumClauseVal() 128 PrintError("Clause " + VerClause.getClause().getRecordName() + in HasDuplicateClauses() 280 PrintError("At least one " + Enum + " must be defined as default."); in GenerateGetKind() 319 PrintError("At least one val in Clause " + C.getFormattedName() + in GenerateGetKindClauseVal() 327 PrintError("enumClauseValue field not set in Clause" + in GenerateGetKindClauseVal()
|
| H A D | DisassemblerEmitter.cpp | 119 PrintError(Target.getTargetRecord()->getLoc(), "Primary decode conflict"); in EmitDisassembler()
|
| H A D | CodeGenHwModes.cpp | 35 PrintError(R->getLoc(), "in record " + R->getName() + in HwModeSelect()
|
| H A D | CodeGenSchedule.cpp | 249 PrintError(R->getLoc(), "STIPredicate " + Name + " multiply declared."); in checkSTIPredicates() 453 PrintError(TIIPred->getLoc(), in checkMCInstPredicates() 466 PrintError(RCU->getLoc(), in collectRetireControlUnits() 482 PrintError(Queue->getLoc(), in collectLoadStoreQueueInfo() 493 PrintError(Queue->getLoc(), in collectLoadStoreQueueInfo() 1090 PrintError( in createInstRWClass() 1126 PrintError( in createInstRWClass() 1996 PrintError(Inst->TheDef->getLoc(), in checkCompleteness() 2017 PrintError(Inst->TheDef->getLoc(), "'" + ProcModel.ModelName + in checkCompleteness()
|
| H A D | CodeGenDAGPatterns.cpp | 2844 PrintError(TheRecord->getLoc(), "In " + TheRecord->getName() + ": " + Msg); in error() 3673 PrintError(PatDef->getLoc(), "Pattern doesn't match hasSideEffects = " + in InferFromPattern() 3680 PrintError(PatDef->getLoc(), "Pattern doesn't match mayStore = " + in InferFromPattern() 3689 PrintError(PatDef->getLoc(), "Pattern doesn't match mayLoad = " + in InferFromPattern() 4137 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags() 4140 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags() 4143 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags() 4196 PrintError(PTM.getSrcRecord()->getLoc(), Twine(Msg) + " on the " + in VerifyInstructionFlags() 4202 PrintError(Instr->getLoc(), "defined here"); in VerifyInstructionFlags() 4207 PrintError(InstInfo.InferredFrom->getLoc(), "inferred from pattern"); in VerifyInstructionFlags()
|
| H A D | CodeGenTarget.cpp | 783 PrintError(R->getLoc(), in CodeGenIntrinsic()
|
| H A D | SearchableTableEmitter.cpp | 704 PrintError(TypeOfRecordVal, in run()
|
| H A D | AsmMatcherEmitter.cpp | 1371 PrintError(Rec->getLoc(), "Invalid super class reference!"); in buildOperandClasses() 1377 PrintError(Rec->getLoc(), "Invalid super class reference!"); in buildOperandClasses() 2767 PrintError( in emitMnemonicAliasVariant()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | CFBundle.cpp | 151 auto PrintError = [&](CFTypeID TypeID) { in getBundleInfo() local 168 PrintError(TypeID); in getBundleInfo() 176 PrintError(TypeID); in getBundleInfo()
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangASTPropertiesEmitter.cpp | 315 PrintError(existingProperty.getLoc(), in validateNode() 328 PrintError(type.getLoc(), in validateType() 338 PrintError(valueType.getLoc(), in validateType() 342 PrintError(valueType.getLoc(), in validateType() 347 PrintError(type.getLoc(), "unknown generic property type"); in validateType()
|
| H A D | ClangAttrEmitter.cpp | 3263 PrintError(Spelling->getLoc(), "Standard attributes must have " in GenerateHasAttrSpellingStringSwitch() 3624 PrintError(R.getLoc(), in CalculateDiagnostic()
|
| H A D | MveEmitter.cpp | 1303 PrintError("bad DAG argument type for code generation"); in getCodeForDagArg()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/GlobalISel/ |
| H A D | CodeExpander.cpp | 66 PrintError(Loc, in emit()
|
| H A D | GIMatchTree.cpp | 246 PrintError("Leaf " + LeafI->getName() + " is unreachable"); in runStep() 286 PrintError("Leaf " + Leaf.getName() + " is not fully traversed"); in runStep()
|
| /llvm-project-15.0.7/llvm/docs/TableGen/ |
| H A D | BackGuide.rst | 686 * ``PrintError`` prints a message tagged as an error. 697 * ``PrintError(const Twine &Msg)``: 700 * ``PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg)``: 705 * ``PrintError(const Record *Rec, const Twine &Msg)``: 709 * ``PrintError(const RecordVal *RecVal, const Twine &Msg)``:
|