Home
last modified time | relevance | path

Searched refs:TokError (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMCAsmParserExtension.cpp31 return TokError("expected identifier in directive"); in parseDirectiveCGProfile()
34 return TokError("expected a comma"); in parseDirectiveCGProfile()
40 return TokError("expected identifier in directive"); in parseDirectiveCGProfile()
43 return TokError("expected a comma"); in parseDirectiveCGProfile()
51 return TokError("unexpected token in directive"); in parseDirectiveCGProfile()
69 return TokError("expected identifier"); in maybeParseUniqueID()
71 return TokError("expected 'unique'"); in maybeParseUniqueID()
73 return TokError("expected commma"); in maybeParseUniqueID()
78 return TokError("unique id must be positive"); in maybeParseUniqueID()
80 return TokError("unique id is too large"); in maybeParseUniqueID()
H A DELFAsmParser.cpp159 return TokError("expected identifier"); in parseDirectiveSymbolAttribute()
175 return TokError("expected comma"); in parseDirectiveSymbolAttribute()
202 return TokError("expected identifier"); in parseDirectiveSize()
205 return TokError("expected comma"); in parseDirectiveSize()
213 return TokError("unexpected token"); in parseDirectiveSize()
387 return TokError(".popsection without corresponding .pushsection"); in parseDirectivePopSection()
403 return TokError("expected '%<type>' or \"<type>\""); in maybeParseSectionType()
405 return TokError("expected '@<type>', '%<type>' or \"<type>\""); in maybeParseSectionType()
413 return TokError("expected identifier"); in maybeParseSectionType()
419 return TokError("expected the entry size"); in parseMergeSize()
[all …]
H A DCOFFAsmParser.cpp194 return TokError("conflicting section flags 'b' and 'd'."); in parseSectionFlags()
201 return TokError("conflicting section flags 'b' and 'd'."); in parseSectionFlags()
254 return TokError("unknown flag"); in parseSectionFlags()
299 return TokError("expected identifier in directive"); in parseDirectiveSymbolAttribute()
307 return TokError("unexpected token in directive"); in parseDirectiveSymbolAttribute()
332 return TokError("unexpected token in section switching directive"); in parseSectionSwitch()
374 return TokError("expected identifier in directive"); in parseSectionArguments()
384 return TokError("expected string in directive"); in parseSectionArguments()
403 return TokError("expected comdat type such as 'discard' or 'largest' " in parseSectionArguments()
410 return TokError("expected comma in directive"); in parseSectionArguments()
[all …]
H A DDarwinAsmParser.cpp478 return TokError("unexpected token in section switching directive"); in parseSectionSwitch()
506 return TokError("expected identifier in directive"); in parseDirectiveAltEntry()
509 return TokError(".alt_entry must preceed symbol definition"); in parseDirectiveAltEntry()
512 return TokError("unable to emit symbol attribute"); in parseDirectiveAltEntry()
523 return TokError("expected identifier in directive"); in parseDirectiveDesc()
526 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
534 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
559 return TokError("expected identifier in .indirect_symbol directive"); in parseDirectiveIndirectSymbol()
563 return TokError("non-local symbol required in directive"); in parseDirectiveIndirectSymbol()
566 return TokError("unable to emit indirect symbol attribute for: " + in parseDirectiveIndirectSymbol()
[all …]
H A DWasmAsmParser.cpp130 return TokError("expected group name"); in parseGroup()
136 return TokError("invalid group name"); in parseGroup()
142 return TokError("invalid linkage"); in parseGroup()
144 return TokError("Linkage must be 'comdat'"); in parseGroup()
152 return TokError("expected identifier in directive"); in parseSectionDirective()
180 return TokError("unknown flag"); in parseSectionDirective()
218 return TokError("expected identifier in directive"); in parseDirectiveSize()
271 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
275 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
297 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
[all …]
H A DCOFFMasmParser.cpp225 return TokError("unexpected token in section switching directive"); in parseSectionSwitch()
239 return TokError("expected identifier in directive"); in parseDirectiveSegment()
375 return TokError("expected identifier in directive"); in parseDirectiveSegmentEnd()
388 return TokError("expected identifier in includelib directive"); in parseDirectiveIncludelib()
407 return TokError("expected identifier for option name"); in parseDirectiveOption()
411 return TokError("expected :macroId after OPTION PROLOGUE"); in parseDirectiveOption()
417 return TokError("OPTION PROLOGUE is currently unsupported"); in parseDirectiveOption()
422 return TokError("expected :macroId after OPTION EPILOGUE"); in parseDirectiveOption()
428 return TokError("OPTION EPILOGUE is currently unsupported"); in parseDirectiveOption()
430 return TokError("OPTION '" + Option + "' is currently unsupported"); in parseDirectiveOption()
H A DAsmParser.cpp1139 return TokError("unknown token in expression"); in parsePrimaryExpr()
1248 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1264 return TokError("invalid variant '" + Split.second + "'"); in parsePrimaryExpr()
1291 return TokError("cannot use . as current PC"); in parsePrimaryExpr()
1307 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
1354 TokError("invalid variant on expression '" + getTok().getIdentifier() + in applySpecifier()
1435 return TokError("expected specifier following '@'"); in parseAtSpecifier()
1439 return TokError("invalid specifier '@" + getTok().getIdentifier() + "'"); in parseAtSpecifier()
1471 return TokError("unexpected symbol modifier following '@'"); in parseExpression()
1475 return TokError("invalid variant '" + getTok().getIdentifier() + "'"); in parseExpression()
[all …]
H A DMasmParser.cpp1391 return TokError("unknown token in expression"); in parsePrimaryExpr()
1522 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1567 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
2597 return TokError("unexpected token"); in parseMacroArgument()
2619 return TokError("unbalanced parentheses in argument"); in parseMacroArgument()
2623 return TokError("missing value for required parameter '" + MP->Name + in parseMacroArgument()
2656 return TokError("expected '=' after formal parameter identifier"); in parseMacroArguments()
2745 return TokError("too many positional arguments"); in parseMacroArguments()
2759 return TokError(MaxNestingDepthError.str()); in handleMacroEntry()
2942 return TokError("expected text item"); in parseDirectiveEquate()
[all …]
H A DMCAsmParser.cpp77 return TokError(Msg); in parseIntToken()
100 bool MCAsmParser::TokError(const Twine &Msg, SMRange Range) { in TokError() function in MCAsmParser
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp708 TokError("expected name for ClassID"); in ParseClassID()
716 TokError(Msg + ". Use 'defm' if you meant to use multiclass '" + in ParseClassID()
719 TokError(Msg); in ParseClassID()
735 TokError("expected name for MultiClassID"); in ParseMultiClassID()
741 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()
858 TokError("invalid range, cannot be negative"); in ParseSliceElement()
977 return TokError("expected integer or bitrange"); in ParseRangePiece()
983 return TokError("invalid range, cannot be negative"); in ParseRangePiece()
997 TokError("expected integer value as end of range"); in ParseRangePiece()
1011 return TokError("invalid range, cannot be negative"); in ParseRangePiece()
[all …]
H A DTGParser.h194 bool TokError(const Twine &Msg) const { in TokError() function
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp3130 return TokError("immediate value expected for prefetch operand"); in tryParseRPRFMOperand()
3133 return TokError("prefetch operand out of range, [0," + utostr(MaxVal) + in tryParseRPRFMOperand()
3143 return TokError("prefetch hint expected"); in tryParseRPRFMOperand()
3147 return TokError("prefetch hint expected"); in tryParseRPRFMOperand()
3190 return TokError("immediate value expected for prefetch operand"); in tryParsePrefetch()
3193 return TokError("prefetch operand out of range, [0," + utostr(MaxVal) + in tryParsePrefetch()
3203 return TokError("prefetch hint expected"); in tryParsePrefetch()
3207 return TokError("prefetch hint expected"); in tryParsePrefetch()
3220 return TokError("invalid operand for instruction"); in tryParsePSBHint()
3224 return TokError("invalid operand for instruction"); in tryParsePSBHint()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h82 bool TokError(const Twine &Msg) { in TokError() function
83 return getParser().TokError(Msg); in TokError()
H A DMCAsmParser.h258 bool TokError(const Twine &Msg, SMRange Range = std::nullopt);
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2898 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2902 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2908 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2918 return TokError("Invalid memory broadcast primitive."); in HandleAVX512Operand()
2921 return TokError("Expected } at this point"); in HandleAVX512Operand()
3597 return TokError("unexpected token in argument list"); in parseInstruction()
4858 return Parser.TokError("expected symbol name"); in parseDirectiveFPOProc()
4862 return Parser.TokError("parameters size out of range"); in parseDirectiveFPOProc()
4967 return TokError("expected end of directive"); in parseDirectiveSEHPushReg()
4980 return TokError("you must specify a stack pointer offset"); in parseDirectiveSEHSetFrame()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp5703 return TokError("directive only supported for amdgcn architecture"); in ParseDirectiveAMDGCNTarget()
5790 return TokError("directive only supported for amdgcn architecture"); in ParseDirectiveAMDHSAKernel()
5793 return TokError("directive only supported for amdhsa OS"); in ParseDirectiveAMDHSAKernel()
5841 return TokError(".amdhsa_ directives cannot be repeated"); in ParseDirectiveAMDHSAKernel()
6173 return TokError(".amdhsa_next_free_vgpr directive is required"); in ParseDirectiveAMDHSAKernel()
6176 return TokError(".amdhsa_next_free_sgpr directive is required"); in ParseDirectiveAMDHSAKernel()
6222 return TokError("amdgpu_user_sgpr_count smaller than than implied by " in ParseDirectiveAMDHSAKernel()
6226 return TokError("too many user SGPRs enabled"); in ParseDirectiveAMDHSAKernel()
6234 return TokError("Kernarg size should be resolvable"); in ParseDirectiveAMDHSAKernel()
6238 return TokError("Kernarg preload length + offset is larger than the " in ParseDirectiveAMDHSAKernel()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp2032 return TokError("invalid floating point literal"); in parseFPImm()
2045 return TokError("invalid floating point immediate"); in parseFPImm()
2052 return TokError("invalid floating point representation"); in parseFPImm()
2109 return TokError("expected '%' relocation specifier"); in parseExprWithSpecifier()
2113 return TokError("invalid relocation specifier"); in parseExprWithSpecifier()
2496 return TokError("double precision floating point operands must use even " in parseGPRPairAsFPR64()
2541 return TokError("register must be even"); in parseGPRPair()
2557 return TokError( in parseFRMArg()
2564 return TokError( in parseFRMArg()
2628 return TokError("operand must be formed of letters selected in-order from " in parseFenceArg()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp743 return TokError("unexpected token in directive"); in ParseDirectiveSubsection()
799 return TokError("expected identifier in directive"); in ParseDirectiveComm()
804 return TokError("unexpected token in directive"); in ParseDirectiveComm()
838 return TokError("unexpected token in '.comm' or '.lcomm' directive"); in ParseDirectiveComm()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp426 return TokError("expected identifier in directive"); in ParseDirectiveRefSym()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp1376 return TokError("unexpected token in '.machine' directive"); in parseDirectiveMachine()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1353 return TokError("invalid register name"); in parseRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp4423 return TokError("immediate value expected for vector index"); in tryParseRegisterWithWriteBack()
4622 return TokError("Token is not a Left Curly Brace"); in parseRegisterList()
5964 return TokError("Token is not a Left Bracket"); in parseMemory()
12440 return TokError("expected variable after '.tlsdescseq' directive"); in parseDirectiveTLSDescSeq()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc16214 {"_ZN4llvm11MCAsmParser8TokErrorERKNS_5TwineE", "llvm::MCAsmParser::TokError(llvm::Twine const&)"},