Home
last modified time | relevance | path

Searched refs:PrintError (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DError.cpp104 void PrintError(const Twine &Msg) { WithColor::error() << Msg << "\n"; } in PrintError() function
106 void PrintError(function_ref<void(raw_ostream &OS)> PrintMsg) { in PrintError() function
110 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() function
114 void PrintError(const char *Loc, const Twine &Msg) { in PrintError() function
120 void PrintError(const Record *Rec, const Twine &Msg) { in PrintError() function
126 void PrintError(const RecordVal *RecVal, const Twine &Msg) { in PrintError() function
133 PrintError(Msg); in PrintFatalError()
138 PrintError(PrintMsg); in PrintFatalError()
143 PrintError(ErrorLoc, Msg); in PrintFatalError()
150 PrintError(Rec->getLoc(), Msg); in PrintFatalError()
[all …]
H A DTGLexer.cpp107 PrintError(Loc, Msg); in ReturnError()
155 PrintError(getLoc(), in getNextChar()
432 PrintError(getLoc(), "expected filename after include"); in LexInclude()
443 PrintError(getLoc(), "could not find include file '" + Filename + "'"); in LexInclude()
474 PrintError(TokStart, "unterminated comment"); in SkipCComment()
788 PrintError(TokStart, "double #else"); in lexPreprocessor()
1017 PrintError(CurPtr, "unexpected character"); in prepSkipDirectiveEnd()
1044 PrintError(CurBuf.end(), "reached EOF without matching #endif"); in prepReportPreprocessorStackError()
1045 PrintError(PrepControl.SrcPos, "the latest preprocessor control is here"); in prepReportPreprocessorStackError()
H A DTGParser.cpp101 PrintError(R.getLoc(), in checkConcrete()
439 PrintError(Loop.Loc, in resolve()
459 PrintError(Loop.Loc, Twine("attempting to loop over '") + in resolve()
541 PrintError(Rec->getLoc(), in addDefOne()
553 PrintError(Rec->getLoc(), Twine("record name '") + in addDefOne()
571 PrintError(Rec->getLoc(), Twine("adding record of incompatible type '") + in addDefOne()
3604 PrintError(SemiLoc, "A class or def body should not end with a semicolon"); in ParseBody()
4273 PrintError(SemiLoc, "A multiclass body should not end with a semicolon"); in ParseMultiClass()
H A DTGParser.h191 PrintError(L, Msg); in Error()
H A DRecord.cpp1492 PrintError(CurRec->getLoc(), in Fold()
1846 PrintError(CurRec->getLoc(), "Step of !range can't be 0"); in Fold()
1872 PrintError(CurRec->getLoc(), in Fold()
1877 PrintError(CurRec->getLoc(), "!substr length must be nonnegative"); in Fold()
1892 PrintError(CurRec->getLoc(), in Fold()
3238 PrintError(this, "assertion failed in this record"); in checkRecordAssertions()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DPatterns.cpp38 PrintError(DiagLoc, DiagCtx + ": invalid operand name format '" + in get()
54 PrintError( in get()
63 PrintError(DiagLoc, DiagCtx + ": maximum number of arguments (" + in get()
76 PrintError(DiagLoc, DiagCtx + ": unknown type '" + R->getName() + "'"); in get()
246 PrintError(Loc, Msg); in diagnoseAllSpecialTypes()
256 PrintError(Locs, "pattern '" + getName() + "' ('" + getInstName() + in reportUnreachable()
265 PrintError(Loc, +"'" + getInstName() + "' expected at least " + in checkSemantics()
271 PrintError(Loc, +"'" + getInstName() + "' expected " + in checkSemantics()
469 PrintError(DiagLoc, "conflicting types for operand '" + in check()
558 PrintError("wip_match_opcode cannot be used in " + ClassName); in checkSemantics()
[all …]
H A DPatternParser.cpp48 PrintError(DiagLoc, "Expected " + Operator + " operator"); in parsePatternList()
53 PrintError(DiagLoc, Operator + " pattern list is empty"); in parsePatternList()
85 PrintError(DiagLoc, in parsePatternList()
166 PrintError(DiagLoc, "Empty wip_match_opcode"); in parseWipMatchOpcodeMatcher()
179 PrintError(DiagLoc, "Arguments to wip_match_opcode must be instructions"); in parseWipMatchOpcodeMatcher()
190 PrintError(DiagLoc, in parseInstructionPatternOperand()
218 PrintError(DiagLoc, "out operand of '" + IP.getInstName() + in parseInstructionPatternOperand()
235 PrintError(DiagLoc, "expected an operand name after '" + in parseInstructionPatternOperand()
261 PrintError(DiagLoc, in parseInstructionPatternMIFlags()
269 PrintError(DiagLoc, "'" + R->getName() + "' is not a subclass of '" + in parseInstructionPatternMIFlags()
[all …]
H A DCodeExpander.cpp63 PrintError(Loc, in emit()
H A DPatterns.h637 void PrintError(Twine Msg) const;
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DError.h38 void PrintError(const Twine &Msg);
39 void PrintError(function_ref<void(raw_ostream &OS)> PrintMsg);
40 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
41 void PrintError(const char *Loc, const Twine &Msg);
42 void PrintError(const Record *Rec, const Twine &Msg);
43 void PrintError(const RecordVal *RecVal, const Twine &Msg);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelCombinerEmitter.cpp298 PrintError(RuleDef.getLoc(), "'" + OpName + "' ('" + Ty.str() + in processApplyPattern()
667 void PrintError(Twine Msg) const { ::PrintError(&RuleDef, Msg); } in PrintError() function in __anon569e2aa20111::CombineRuleBuilder
830 PrintError("'combine' action needs at least one pattern to match, and " in parseAll()
835 PrintError("expected both a 'match' and 'apply' action in combine rule, " in parseAll()
868 PrintError("C++ code cannot be the root of a rule!"); in emitRuleMatchers()
998 PrintError("type '" + PT.str() + "' is ill-formed: '" + in getLLTCodeGenOrTempType()
1021 PrintError("'" + Name + "' apply pattern defined more than once!"); in addApplyPattern()
1026 PrintError("'" + Name + in addApplyPattern()
1032 PrintError("'" + Name + "': using " + PatFrag::ClassName + in addApplyPattern()
1047 PrintError("'" + Name + "' match pattern defined more than once!"); in addMatchPattern()
[all …]
H A DGlobalISelCombinerMatchTableEmitter.cpp
H A DGICombinerEmitter.cpp
H A DDisassemblerEmitter.cpp110 PrintError(Target.getTargetRecord()->getLoc(), "Primary decode conflict"); in emitDisassembler()
H A DCodeEmitterGen.cpp132 PrintError(R, Twine("No operand named ") + VarName + " in record " + in addCodeToMergeInOperand()
138 PrintError(R, in addCodeToMergeInOperand()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DOptEmitter.cpp46 PrintError(A->getLoc(), Twine("Option is equivalent to")); in IsOptionRecordsLess()
47 PrintError(B->getLoc(), Twine("Other defined here")); in IsOptionRecordsLess()
H A DUtils.cpp46 PrintError(Second, ObjectName + " `" + Name + "` is already defined."); in sortAndReportDuplicates()
H A DCodeGenSchedule.cpp263 PrintError(R->getLoc(), "STIPredicate " + Name + " multiply declared."); in checkSTIPredicates()
455 PrintError(TIIPred->getLoc(), in checkMCInstPredicates()
467 PrintError(RCU->getLoc(), in collectRetireControlUnits()
481 PrintError(Queue->getLoc(), "Expected a single LoadQueue definition"); in collectLoadStoreQueueInfo()
491 PrintError(Queue->getLoc(), "Expected a single StoreQueue definition"); in collectLoadStoreQueueInfo()
1044 PrintError( in createInstRWClass()
1080 PrintError( in createInstRWClass()
1933 PrintError(Inst->TheDef->getLoc(), in checkCompleteness()
1954 PrintError(Inst->TheDef->getLoc(), "'" + ProcModel.ModelName + in checkCompleteness()
H A DCodeGenDAGPatterns.cpp2897 PrintError(TheRecord->getLoc(), "In " + TheRecord->getName() + ": " + Msg); in error()
3711 PrintError(PatDef->getLoc(), "Pattern doesn't match hasSideEffects = " + in InferFromPattern()
3718 PrintError(PatDef->getLoc(), in InferFromPattern()
3727 PrintError(PatDef->getLoc(), in InferFromPattern()
4173 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags()
4176 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags()
4179 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags()
4231 PrintError( in VerifyInstructionFlags()
4238 PrintError(Instr->getLoc(), "defined here"); in VerifyInstructionFlags()
4242 PrintError(InstInfo.InferredFrom->getLoc(), "inferred from pattern"); in VerifyInstructionFlags()
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/
H A Drtsan_diagnostics.cpp53 static void PrintError(const Decorator &decorator, in PrintError() function
86 PrintError(d, info); in PrintDiagnostics()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangASTPropertiesEmitter.cpp309 PrintError(existingProperty.getLoc(), in validateNode()
322 PrintError(type.getLoc(), in validateType()
332 PrintError(valueType.getLoc(), in validateType()
336 PrintError(valueType.getLoc(), in validateType()
341 PrintError(type.getLoc(), "unknown generic property type"); in validateType()
H A DClangDiagnosticsEmitter.cpp1404 PrintError(&Diag, in verifyDiagnosticWording()
1413 PrintError(&Diag, "Diagnostics should not end with punctuation; '" + in verifyDiagnosticWording()
1647 PrintError(&R, in EmitClangDiagsEnums()
1661 PrintError(&R, in EmitClangDiagsEnums()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DCodeGenIntrinsics.cpp101 PrintError(Second.TheDef, in CheckDuplicateIntrinsics()
234 PrintError(Int.TheDef->getLoc(), in CheckOverloadSuffixConflicts()
H A DDirectiveEmitter.cpp176 PrintError("enumClauseValue field not set in Clause" + in generateClauseEnumVal()
213 PrintError("Clause " + Name + " already defined on directive " + in hasDuplicateClauses()
445 PrintError("At least one " + Enum + " must be defined as default."); in generateGetKind()
502 PrintError("At least one val in Clause " + C.getRecordName() + in generateGetClauseVal()
510 PrintError("enumClauseValue field not set in Clause" + C.getRecordName() + in generateGetClauseVal()
H A DRuntimeLibcallsEmitter.cpp414 PrintError(R, "entry for SystemLibrary is not a RuntimeLibcallImpl"); in emitSystemRuntimeLibrarySetCalls()
575 PrintError( in expand()

12