Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DError.cpp101 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(Lo in CheckAssert()
[all...]
H A DTGLexer.cpp73 PrintError(Loc, Msg); in ReturnError()
121 PrintError(getLoc(), in getNextChar()
399 PrintError(getLoc(), "Expected filename after include"); in LexInclude()
410 PrintError(getLoc(), "Could not find include file '" + Filename + "'"); in LexInclude()
442 PrintError(TokStart, "Unterminated comment!"); in SkipCComment()
770 PrintError(TokStart, "double #else"); in lexPreprocessor()
1016 PrintError(CurPtr, "Unexpected character"); in prepSkipDirectiveEnd()
1051 PrintError(CurBuf.end(), "Reached EOF without matching #endif"); in prepReportPreprocessorStackError()
1052 PrintError(PrepControl.SrcPos, "The latest preprocessor control is here"); in prepReportPreprocessorStackError()
H A DTGParser.cpp101 PrintError(R.getLoc(), in checkConcrete()
445 PrintError(Loop.Loc, in resolve()
465 PrintError(Loop.Loc, Twine("attempting to loop over '") + in resolve()
547 PrintError(Rec->getLoc(), in addDefOne()
559 PrintError(Rec->getLoc(), Twine("record name '") + in addDefOne()
577 PrintError(Rec->getLoc(), Twine("adding record of incompatible type '") + in addDefOne()
3517 PrintError(SemiLoc, "A class or def body should not end with a semicolon"); in ParseBody()
4187 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.cpp1401 PrintError(CurRec->getLoc(), in Fold()
1741 PrintError(CurRec->getLoc(), "Step of !range can't be 0"); in Fold()
1767 PrintError(CurRec->getLoc(), in Fold()
1772 PrintError(CurRec->getLoc(), "!substr length must be nonnegative"); in Fold()
1787 PrintError(CurRec->getLoc(), in Fold()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DPatterns.cpp38 PrintError(DiagLoc, DiagCtx + ": invalid operand name format '" + in get()
49 PrintError(DiagLoc, DiagCtx + ": unknown type '" + R->getName() + "'"); in get()
208 PrintError(Loc, Msg); in diagnoseAllSpecialTypes()
218 PrintError(Locs, "pattern '" + getName() + "' ('" + getInstName() + in reportUnreachable()
227 PrintError(Loc, +"'" + getInstName() + "' expected at least " + in checkSemantics()
233 PrintError(Loc, +"'" + getInstName() + "' expected " + in checkSemantics()
431 PrintError(DiagLoc, "conflicting types for operand '" + in check()
520 PrintError("wip_match_opcode cannot be used in " + ClassName); in checkSemantics()
523 PrintError("Builtin instructions cannot be used in " + ClassName); in checkSemantics()
537 PrintError("nested " + ClassName + " are not supported"); 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()
177 PrintError(DiagLoc, "Empty wip_match_opcode"); in parseWipMatchOpcodeMatcher()
190 PrintError(DiagLoc, "Arguments to wip_match_opcode must be instructions"); in parseWipMatchOpcodeMatcher()
201 PrintError(DiagLoc, in parseInstructionPatternOperand()
229 PrintError(DiagLoc, "out operand of '" + IP.getInstName() + in parseInstructionPatternOperand()
246 PrintError(DiagLoc, "expected an operand name after '" + in parseInstructionPatternOperand()
272 PrintError(DiagLoc, in parseInstructionPatternMIFlags()
280 PrintError(DiagLoc, "'" + R->getName() + "' is not a subclass of '" + in parseInstructionPatternMIFlags()
[all …]
H A DCodeExpander.cpp63 PrintError(Loc, in emit()
H A DPatterns.h613 void PrintError(Twine Msg) const;
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DError.h34 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);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelCombinerEmitter.cpp305 PrintError(RuleDef.getLoc(), "'" + OpName + "' ('" + Ty.str() + in processApplyPattern()
671 void PrintError(Twine Msg) const { ::PrintError(&RuleDef, Msg); } in PrintError() function in __anon569e2aa20111::CombineRuleBuilder
844 PrintError("C++ code cannot be the root of a rule!"); in emitRuleMatchers()
979 PrintError("'" + Name + "' apply pattern defined more than once!"); in addApplyPattern()
984 PrintError("'" + Name + in addApplyPattern()
990 PrintError("'" + Name + "': using " + PatFrag::ClassName + in addApplyPattern()
1005 PrintError("'" + Name + "' match pattern defined more than once!"); in addMatchPattern()
1011 PrintError("'" + BP->getInstName() + in addMatchPattern()
1127 PrintError("cannot emit rule '" + RuleDef.getName() + "'; " + in buildPermutationsToEmit()
1162 PrintError( in checkSemantics()
[all …]
H A DGlobalISelCombinerMatchTableEmitter.cpp
H A DGICombinerEmitter.cpp
H A DPseudoLoweringEmitter.cpp95 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in addDagOperandMapping()
143 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
150 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
160 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
168 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
207 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
H A DDisassemblerEmitter.cpp112 PrintError(Target.getTargetRecord()->getLoc(), "Primary decode conflict"); in EmitDisassembler()
H A DDirectiveEmitter.cpp94 PrintError("enumClauseValue field not set in Clause" + in GenerateEnumClauseVal()
135 PrintError("Clause " + VerClause.getClause().getRecordName() + in HasDuplicateClauses()
320 PrintError("At least one " + Enum + " must be defined as default."); in GenerateGetKind()
359 PrintError("At least one val in Clause " + C.getFormattedName() + in GenerateGetKindClauseVal()
367 PrintError("enumClauseValue field not set in Clause" + in GenerateGetKindClauseVal()
H A DCodeEmitterGen.cpp130 PrintError(R, Twine("No operand named ") + VarName + " in record " + in addCodeToMergeInOperand()
136 PrintError(R, in addCodeToMergeInOperand()
H A DAsmMatcherEmitter.cpp1404 PrintError(Rec->getLoc(), "Invalid super class reference!"); in buildOperandClasses()
1410 PrintError(Rec->getLoc(), "Invalid super class reference!"); in buildOperandClasses()
2799 PrintError( in emitMnemonicAliasVariant()
H A DDecoderEmitter.cpp2108 PrintError(EncodingDef.getLoc(), in populateInstruction()
2140 PrintError(EncodingDef.getLoc(), in populateInstruction()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DOptEmitter.cpp77 PrintError(A->getLoc(), Twine("Option is equivalent to")); in CompareOptionRecords()
78 PrintError(B->getLoc(), Twine("Other defined here")); in CompareOptionRecords()
H A DCodeGenHwModes.cpp46 PrintError( in HwModeSelect()
H A DCodeGenSchedule.cpp267 PrintError(R->getLoc(), "STIPredicate " + Name + " multiply declared."); in checkSTIPredicates()
470 PrintError(TIIPred->getLoc(), in checkMCInstPredicates()
483 PrintError(RCU->getLoc(), in collectRetireControlUnits()
499 PrintError(Queue->getLoc(), "Expected a single LoadQueue definition"); in collectLoadStoreQueueInfo()
509 PrintError(Queue->getLoc(), "Expected a single StoreQueue definition"); in collectLoadStoreQueueInfo()
1086 PrintError( in createInstRWClass()
1122 PrintError( in createInstRWClass()
1991 PrintError(Inst->TheDef->getLoc(), in checkCompleteness()
2012 PrintError(Inst->TheDef->getLoc(), "'" + ProcModel.ModelName + in checkCompleteness()
H A DCodeGenDAGPatterns.cpp2824 PrintError(TheRecord->getLoc(), "In " + TheRecord->getName() + ": " + Msg); in error()
3655 PrintError(PatDef->getLoc(), "Pattern doesn't match hasSideEffects = " + in InferFromPattern()
3662 PrintError(PatDef->getLoc(), in InferFromPattern()
3671 PrintError(PatDef->getLoc(), in InferFromPattern()
4127 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags()
4130 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags()
4133 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags()
4185 PrintError( in VerifyInstructionFlags()
4192 PrintError(Instr->getLoc(), "defined here"); in VerifyInstructionFlags()
4196 PrintError(InstInfo.InferredFrom->getLoc(), "inferred from pattern"); in VerifyInstructionFlags()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchTree.cpp
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp1284 PrintError(&Diag, in verifyDiagnosticWording()
1293 PrintError(&Diag, "Diagnostics should not end with punctuation; '" + in verifyDiagnosticWording()

12