Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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(Loc, "assert condition must of type bit, bits, or int."); in CheckAssert()
[all …]
H A DTGLexer.cpp71 PrintError(Loc, Msg); in ReturnError()
119 PrintError(getLoc(), in getNextChar()
395 PrintError(getLoc(), "Expected filename after include"); in LexInclude()
406 PrintError(getLoc(), "Could not find include file '" + Filename + "'"); in LexInclude()
438 PrintError(TokStart, "Unterminated comment!"); in SkipCComment()
749 PrintError(TokStart, "double #else"); in lexPreprocessor()
994 PrintError(CurPtr, "Unexpected character"); in prepSkipDirectiveEnd()
1036 PrintError(CurBuf.end(), "Reached EOF without matching #endif"); in prepReportPreprocessorStackError()
1037 PrintError(PrepControl.SrcPos, "The latest preprocessor control is here"); in prepReportPreprocessorStackError()
H A DTGParser.h173 PrintError(L, Msg); in Error()
H A DTGParser.cpp104 PrintError(R.getLoc(), in checkConcrete()
400 PrintError(Loop.Loc, Twine("attempting to loop over '") + in resolve()
470 PrintError(Rec->getLoc(), in addDefOne()
482 PrintError(Rec->getLoc(), Twine("record name '") + in addDefOne()
497 PrintError(Rec->getLoc(), Twine("adding record of incompatible type '") + in addDefOne()
2946 PrintError(SemiLoc, "A class or def body should not end with a semicolon"); in ParseBody()
3540 PrintError(SemiLoc, "A multiclass body should not end with a semicolon"); in ParseMultiClass()
H A DRecord.cpp1390 PrintError(CurRec->getLoc(), in Fold()
1395 PrintError(CurRec->getLoc(), "!substr length must be nonnegative"); in Fold()
1410 PrintError(CurRec->getLoc(), in Fold()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DError.h37 void PrintError(const Twine &Msg);
38 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
39 void PrintError(const char *Loc, const Twine &Msg);
40 void PrintError(const Record *Rec, const Twine &Msg);
41 void PrintError(const RecordVal *RecVal, const Twine &Msg);
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DGICombinerEmitter.cpp248 PrintError(TheDef.getLoc(), "One or more roots are unnecessary"); in reorientToRoots()
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()
389 PrintError(TheDef.getLoc(), "Combine rules must have at least one root"); in parseDefs()
480 PrintError(TheDef.getLoc(), in parseWipMatchOpcodeMatcher()
494 PrintError(TheDef.getLoc(), "Expected match operator"); in parseMatcher()
499 PrintError(TheDef.getLoc(), "Matcher is empty"); in parseMatcher()
525 PrintError(TheDef.getLoc(), in parseMatcher()
[all …]
H A DPseudoLoweringEmitter.cpp94 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in addDagOperandMapping()
141 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
148 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
158 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
166 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
205 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion()
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 DDirectiveEmitter.cpp87 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 DDisassemblerEmitter.cpp120 PrintError(Target.getTargetRecord()->getLoc(), "Primary decode conflict"); in EmitDisassembler()
H A DCodeGenSchedule.cpp250 PrintError(R->getLoc(), "STIPredicate " + Name + " multiply declared."); in checkSTIPredicates()
454 PrintError(TIIPred->getLoc(), in checkMCInstPredicates()
467 PrintError(RCU->getLoc(), in collectRetireControlUnits()
483 PrintError(Queue->getLoc(), in collectLoadStoreQueueInfo()
494 PrintError(Queue->getLoc(), in collectLoadStoreQueueInfo()
1082 PrintError( in createInstRWClass()
1118 PrintError( in createInstRWClass()
1989 PrintError(Inst->TheDef->getLoc(), in checkCompleteness()
2010 PrintError(Inst->TheDef->getLoc(), "'" + ProcModel.ModelName + in checkCompleteness()
H A DCodeGenHwModes.cpp35 PrintError(R->getLoc(), "in record " + R->getName() + in HwModeSelect()
H A DCodeGenDAGPatterns.cpp2768 PrintError(TheRecord->getLoc(), "In " + TheRecord->getName() + ": " + Msg); in error()
3595 PrintError(PatDef->getLoc(), "Pattern doesn't match hasSideEffects = " + in InferFromPattern()
3602 PrintError(PatDef->getLoc(), "Pattern doesn't match mayStore = " + in InferFromPattern()
3611 PrintError(PatDef->getLoc(), "Pattern doesn't match mayLoad = " + in InferFromPattern()
4059 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags()
4062 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags()
4065 PrintError(InstInfo->TheDef->getLoc(), in InferInstructionFlags()
4118 PrintError(PTM.getSrcRecord()->getLoc(), Twine(Msg) + " on the " + in VerifyInstructionFlags()
4124 PrintError(Instr->getLoc(), "defined here"); in VerifyInstructionFlags()
4129 PrintError(InstInfo.InferredFrom->getLoc(), "inferred from pattern"); in VerifyInstructionFlags()
H A DAsmMatcherEmitter.cpp1361 PrintError(Rec->getLoc(), "Invalid super class reference!"); in buildOperandClasses()
1367 PrintError(Rec->getLoc(), "Invalid super class reference!"); in buildOperandClasses()
2754 PrintError(ToVec[AliasWithNoPredicate]->getLoc(), in emitMnemonicAliasVariant()
H A DCodeGenTarget.cpp765 PrintError(R->getLoc(), in CodeGenIntrinsic()
H A DSearchableTableEmitter.cpp699 PrintError(TypeOfRecordVal, in run()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DCFBundle.cpp151 auto PrintError = [&](CFTypeID TypeID) { in getBundleInfo() local
168 PrintError(TypeID); in getBundleInfo()
176 PrintError(TypeID); in getBundleInfo()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangASTPropertiesEmitter.cpp315 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 DClangAttrEmitter.cpp3094 PrintError(Spelling->getLoc(), "Standard attributes must have " in GenerateHasAttrSpellingStringSwitch()
3439 PrintError(R.getLoc(), in CalculateDiagnostic()
H A DMveEmitter.cpp1297 PrintError("bad DAG argument type for code generation"); in getCodeForDagArg()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
H A DCodeExpander.cpp67 PrintError(Loc, in emit()
H A DGIMatchTree.cpp246 PrintError("Leaf " + LeafI->getName() + " is unreachable"); in runStep()
286 PrintError("Leaf " + Leaf.getName() + " is not fully traversed"); in runStep()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/TableGen/
H A DBackGuide.rst686 * ``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)``: