Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp182 return TokError("expected identifier"); in ParseDirectiveSymbolAttribute()
198 return TokError("expected comma"); in ParseDirectiveSymbolAttribute()
225 return TokError("expected identifier"); in ParseDirectiveSize()
229 return TokError("expected comma"); in ParseDirectiveSize()
237 return TokError("unexpected token"); in ParseDirectiveSize()
408 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()
424 return TokError("expected '@<type>', '%<type>' or \"<type>\""); in maybeParseSectionType()
426 return TokError("expected '%<type>' or \"<type>\""); in maybeParseSectionType()
434 return TokError("expected identifier"); in maybeParseSectionType()
440 return TokError("expected the entry size"); in parseMergeSize()
[all …]
H A DCOFFAsmParser.cpp178 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
185 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
238 return TokError("unknown flag"); in ParseSectionFlags()
283 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
293 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
316 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
358 return TokError("expected identifier in directive"); in parseSectionArguments()
368 return TokError("expected string in directive"); in parseSectionArguments()
386 return TokError("expected comdat type such as 'discard' or 'largest' " in parseSectionArguments()
393 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()
512 return TokError(".alt_entry must preceed symbol definition"); in parseDirectiveAltEntry()
515 return TokError("unable to emit symbol attribute"); in parseDirectiveAltEntry()
526 return TokError("expected identifier in directive"); in parseDirectiveDesc()
532 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
540 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
565 return TokError("expected identifier in .indirect_symbol directive"); in parseDirectiveIndirectSymbol()
571 return TokError("non-local symbol required in directive"); in parseDirectiveIndirectSymbol()
574 return TokError("unable to emit indirect symbol attribute for: " + Name); 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()
273 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
277 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
299 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
[all …]
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()
52 return TokError("unexpected token in directive"); in ParseDirectiveCGProfile()
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.cpp1164 return TokError("unknown token in expression"); in parsePrimaryExpr()
1276 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1292 return TokError("invalid variant '" + Split.second + "'"); in parsePrimaryExpr()
1318 return TokError("cannot use . as current PC"); in parsePrimaryExpr()
1334 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
1383 return TokError("expected '(' after operator"); in parsePrimaryExpr()
1417 TokError("invalid variant on expression '" + getTok().getIdentifier() + in applyModifierToExpr()
1514 return TokError("unexpected symbol modifier following '@'"); in parseExpression()
1519 return TokError("invalid variant '" + getTok().getIdentifier() + "'"); in parseExpression()
1523 return TokError("invalid modifier '" + getTok().getIdentifier() + in parseExpression()
[all …]
H A DMasmParser.cpp1571 return TokError("unknown token in expression"); in parsePrimaryExpr()
1734 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1779 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
1828 return TokError("expected '(' after operator"); in parsePrimaryExpr()
3034 return TokError("unexpected token"); in parseMacroArgument()
3081 return TokError("unbalanced parentheses in argument"); in parseMacroArgument()
3085 return TokError("missing value for required parameter '" + MP->Name + in parseMacroArgument()
3118 return TokError("expected '=' after formal parameter identifier"); in parseMacroArguments()
3207 return TokError("too many positional arguments"); in parseMacroArguments()
3221 return TokError(MaxNestingDepthError.str()); in handleMacroEntry()
[all …]
H A DMCAsmParser.cpp74 return TokError(Msg); in parseIntToken()
97 bool MCAsmParser::TokError(const Twine &Msg, SMRange Range) { in TokError() function in MCAsmParser
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp710 TokError("expected name for ClassID"); in ParseClassID()
718 TokError(Msg + ". Use 'defm' if you meant to use multiclass '" + in ParseClassID()
721 TokError(Msg); in ParseClassID()
737 TokError("expected name for MultiClassID"); in ParseMultiClassID()
743 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.cpp3069 return TokError("immediate value expected for prefetch operand"); in tryParseRPRFMOperand()
3072 return TokError("prefetch operand out of range, [0," + utostr(MaxVal) + in tryParseRPRFMOperand()
3082 return TokError("prefetch hint expected"); in tryParseRPRFMOperand()
3086 return TokError("prefetch hint expected"); in tryParseRPRFMOperand()
3129 return TokError("immediate value expected for prefetch operand"); in tryParsePrefetch()
3132 return TokError("prefetch operand out of range, [0," + utostr(MaxVal) + in tryParsePrefetch()
3142 return TokError("prefetch hint expected"); in tryParsePrefetch()
3146 return TokError("prefetch hint expected"); in tryParsePrefetch()
3159 return TokError("invalid operand for instruction"); in tryParsePSBHint()
3163 return TokError("invalid operand for instruction"); in tryParsePSBHint()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h81 bool TokError(const Twine &Msg) { in TokError() function
82 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.cpp2876 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2880 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2886 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2896 return TokError("Invalid memory broadcast primitive."); in HandleAVX512Operand()
2899 return TokError("Expected } at this point"); in HandleAVX512Operand()
3570 return TokError("unexpected token in argument list"); in ParseInstruction()
4761 return Parser.TokError("expected symbol name"); in parseDirectiveFPOProc()
4765 return Parser.TokError("parameters size out of range"); in parseDirectiveFPOProc()
4870 return TokError("expected end of directive"); in parseDirectiveSEHPushReg()
4883 return TokError("you must specify a stack pointer offset"); in parseDirectiveSEHSetFrame()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp5341 return TokError("directive only supported for amdgcn architecture"); in ParseDirectiveAMDGCNTarget()
5428 return TokError("directive only supported for amdgcn architecture"); in ParseDirectiveAMDHSAKernel()
5431 return TokError("directive only supported for amdhsa OS"); in ParseDirectiveAMDHSAKernel()
5479 return TokError(".amdhsa_ directives cannot be repeated"); in ParseDirectiveAMDHSAKernel()
5799 return TokError(".amdhsa_next_free_vgpr directive is required"); in ParseDirectiveAMDHSAKernel()
5802 return TokError(".amdhsa_next_free_sgpr directive is required"); in ParseDirectiveAMDHSAKernel()
5837 return TokError("amdgpu_user_sgpr_count smaller than than implied by " in ParseDirectiveAMDHSAKernel()
5844 return TokError("too many user SGPRs enabled"); in ParseDirectiveAMDHSAKernel()
5852 return TokError("Kernarg size should be resolvable"); in ParseDirectiveAMDHSAKernel()
5856 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.cpp1965 return TokError("invalid floating point literal"); in parseFPImm()
1978 return TokError("invalid floating point immediate"); in parseFPImm()
1985 return TokError("invalid floating point representation"); in parseFPImm()
2354 return TokError("register must be even"); in parseGPRPair()
2370 return TokError( in parseFRMArg()
2377 return TokError( in parseFRMArg()
2441 return TokError("operand must be formed of letters selected in-order from " in parseFenceArg()
3162 return TokError("expected symbol name"); in parseDirectiveVariantCC()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp741 return TokError("unexpected token in directive"); in ParseDirectiveSubsection()
797 return TokError("expected identifier in directive"); in ParseDirectiveComm()
802 return TokError("unexpected token in directive"); in ParseDirectiveComm()
836 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.cpp1326 return TokError("unexpected token in '.machine' directive"); in ParseDirectiveMachine()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1356 return TokError("invalid register name"); in parseRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp4417 return TokError("immediate value expected for vector index"); in tryParseRegisterWithWriteBack()
4615 return TokError("Token is not a Left Curly Brace"); in parseRegisterList()
5933 return TokError("Token is not a Left Bracket"); in parseMemory()
12383 return TokError("expected variable after '.tlsdescseq' directive"); in parseDirectiveTLSDescSeq()