Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp198 return TokError("expected comma"); in ParseDirectiveSymbolAttribute()
229 return TokError("expected comma"); in ParseDirectiveSize()
237 return TokError("unexpected token"); in ParseDirectiveSize()
464 return TokError("invalid linkage"); in parseGroup()
504 return TokError("expected 'unique'"); in maybeParseUniqueID()
506 return TokError("expected commma"); in maybeParseUniqueID()
594 return TokError("unknown flag"); in ParseSectionArguments()
817 return TokError("expected string"); in ParseDirectiveIdent()
839 return TokError("expected a comma"); in ParseDirectiveSymver()
872 return TokError("expected string"); in ParseDirectiveVersion()
[all …]
H A DCOFFAsmParser.cpp255 return TokError("unknown flag"); in ParseSectionFlags()
412 return TokError("expected comma in directive"); in parseSectionArguments()
420 return TokError("unexpected token in directive"); in parseSectionArguments()
469 return TokError("unexpected token in directive"); in ParseDirectiveScl()
482 return TokError("unexpected token in directive"); in ParseDirectiveType()
509 return TokError("unexpected token in directive"); in ParseDirectiveSecRel32()
561 return TokError("unexpected token in directive"); in ParseDirectiveSafeSEH()
576 return TokError("unexpected token in directive"); in ParseDirectiveSecIdx()
591 return TokError("unexpected token in directive"); in ParseDirectiveSymIdx()
643 return TokError("unexpected token in directive"); in ParseDirectiveLinkOnce()
[all …]
H A DDarwinAsmParser.cpp515 return TokError("unable to emit symbol attribute"); in parseDirectiveAltEntry()
660 return TokError("directive '.lsym' is unsupported"); in parseDirectiveLsym()
837 return TokError("unexpected token in directive"); in parseDirectiveTBSS()
889 return TokError("unexpected token in directive"); in parseDirectiveZerofill()
910 return TokError("unexpected token in directive"); in parseDirectiveZerofill()
922 return TokError("unexpected token in directive"); in parseDirectiveZerofill()
1015 return TokError(Twine("invalid ") + VersionName + in parseMajorMinorVersionComponent()
1023 return TokError(Twine(VersionName) + in parseMajorMinorVersionComponent()
1028 return TokError(Twine("invalid ") + VersionName + in parseMajorMinorVersionComponent()
1044 return TokError(Twine("invalid ") + ComponentName + in parseOptionalTrailingVersionComponent()
[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 DWasmAsmParser.cpp127 return TokError("expected group name"); in parseGroup()
133 return TokError("invalid group name"); in parseGroup()
139 return TokError("invalid linkage"); in parseGroup()
141 return TokError("Linkage must be 'comdat'"); in parseGroup()
149 return TokError("expected identifier in directive"); in parseSectionDirective()
177 return TokError("unknown flag"); in parseSectionDirective()
215 return TokError("expected identifier in directive"); in parseDirectiveSize()
270 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
274 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
296 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
[all …]
H A DCOFFMasmParser.cpp231 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
245 return TokError("expected identifier in directive"); in ParseDirectiveSegment()
381 return TokError("expected identifier in directive"); in ParseDirectiveSegmentEnd()
394 return TokError("expected identifier in includelib directive"); in ParseDirectiveIncludelib()
414 return TokError("expected identifier for option name"); in ParseDirectiveOption()
418 return TokError("expected :macroId after OPTION PROLOGUE"); in ParseDirectiveOption()
424 return TokError("OPTION PROLOGUE is currently unsupported"); in ParseDirectiveOption()
429 return TokError("expected :macroId after OPTION EPILOGUE"); in ParseDirectiveOption()
435 return TokError("OPTION EPILOGUE is currently unsupported"); in ParseDirectiveOption()
437 return TokError("OPTION '" + Option + "' is currently unsupported"); in ParseDirectiveOption()
H A DAsmParser.cpp1165 return TokError("unknown token in expression"); in parsePrimaryExpr()
1319 return TokError("cannot use . as current PC"); in parsePrimaryExpr()
2134 return TokError(Twine(IDVal) + in parseStatement()
2271 return TokError(Twine(IDVal) + in parseStatement()
2872 return TokError("too many positional arguments"); in parseMacroArguments()
2885 return TokError(MaxNestingDepthError.str()); in handleMacroEntry()
3262 return TokError(Lexer.getErr()); in parseRealValue()
3519 return TokError("negative file number"); in parseDirectiveFile()
4168 return TokError("expected symbol name"); in parseDirectiveCVFPOData()
5265 return TokError( in parseDirectiveIfeqs()
[all …]
H A DMasmParser.cpp3033 return TokError("unexpected token"); in parseMacroArgument()
3828 return TokError(Lexer.getErr()); in parseRealValue()
4777 return TokError("negative file number"); in parseDirectiveFile()
5432 return TokError("expected symbol name"); in parseDirectiveCVFPOData()
6200 return TokError( in parseDirectiveIfidn()
6404 return TokError( in parseDirectiveElseIfidn()
6411 return TokError( in parseDirectiveElseIfidn()
6413 return TokError( in parseDirectiveElseIfidn()
6420 return TokError( in parseDirectiveElseIfidn()
6580 return TokError( in parseDirectiveErrorIfidn()
[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-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp721 TokError(Msg); in ParseClassID()
1109 TokError("unknown class name"); in ParseType()
3646 return TokError("expected '='"); in ParseDefset()
3648 return TokError("expected '{'"); in ParseDefset()
3696 return TokError("expected '='"); in ParseDefvar()
3703 return TokError("expected ';'"); in ParseDefvar()
3732 return TokError("Unknown tok"); in ParseForeach()
3785 return TokError("Unknown tok"); in ParseIf()
3896 return TokError("expected ';'"); in ParseAssert()
4274 return TokError( in ParseObject()
[all …]
H A DTGParser.h193 bool TokError(const Twine &Msg) const { in TokError() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp3451 return TokError(Msg); in parseCondCode()
3500 return TokError( in tryParseMatrixRegister()
3536 return TokError( in tryParseMatrixRegister()
3783 return TokError("invalid operand"); in parseSysAlias()
3799 return TokError(Str); in parseSysAlias()
3809 return TokError(Str); in parseSysAlias()
3819 return TokError(Str); in parseSysAlias()
3829 return TokError(Str); in parseSysAlias()
3916 return TokError(Str); in parseSyspAlias()
4346 return TokError( in tryParseMatrixTileList()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp5240 return TokError("directive only supported for amdhsa OS"); in ParseDirectiveAMDHSAKernel()
5283 return TokError(".amdhsa_ directives cannot be repeated"); in ParseDirectiveAMDHSAKernel()
5567 return TokError(".amdhsa_next_free_vgpr directive is required"); in ParseDirectiveAMDHSAKernel()
5602 return TokError("too many user SGPRs enabled"); in ParseDirectiveAMDHSAKernel()
5626 return TokError("shared_vgpr_count directive not valid on " in ParseDirectiveAMDHSAKernel()
5630 return TokError("shared_vgpr_count*2 + " in ParseDirectiveAMDHSAKernel()
5663 return TokError(Err.str()); in ParseAMDKernelCodeTValue()
5823 return TokError(Twine("expected directive ") + in ParseToEndDirective()
5857 return TokError(Twine("invalid value in ") + in ParseDirectivePALMetadata()
5865 return TokError(Twine("invalid value in ") + in ParseDirectivePALMetadata()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2809 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2813 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2819 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2832 return TokError("Expected } at this point"); in HandleAVX512Operand()
3493 return TokError("unexpected token in argument list"); in ParseInstruction()
4675 return Parser.TokError("expected symbol name"); in parseDirectiveFPOProc()
4784 return TokError("expected end of directive"); in parseDirectiveSEHPushReg()
4804 return TokError("expected end of directive"); in parseDirectiveSEHSetFrame()
4824 return TokError("expected end of directive"); in parseDirectiveSEHSaveReg()
4844 return TokError("expected end of directive"); in parseDirectiveSEHSaveXMM()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp1920 return TokError("invalid floating point literal"); in parseFPImm()
1933 return TokError("invalid floating point immediate"); in parseFPImm()
1940 return TokError("invalid floating point representation"); in parseFPImm()
2293 return TokError("register must be even"); in parseGPRPair()
2309 return TokError( in parseFRMArg()
2316 return TokError( in parseFRMArg()
2380 return TokError("operand must be formed of letters selected in-order from " in parseFenceArg()
3066 return TokError("expected symbol name"); in parseDirectiveVariantCC()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp682 return TokError("unexpected token in directive"); in ParseDirectiveSubsection()
740 return TokError("expected identifier in directive"); in ParseDirectiveComm()
745 return TokError("unexpected token in directive"); in ParseDirectiveComm()
779 return TokError("unexpected token in '.comm' or '.lcomm' directive"); in ParseDirectiveComm()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp426 return TokError("expected identifier in directive"); in ParseDirectiveRefSym()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp1326 return TokError("unexpected token in '.machine' directive"); in ParseDirectiveMachine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1354 return TokError("invalid register name"); in parseRegister()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp4261 return TokError("immediate value expected for vector index"); in tryParseRegisterWithWriteBack()
4459 return TokError("Token is not a Left Curly Brace"); in parseRegisterList()
5695 return TokError("Token is not a Left Bracket"); in parseMemory()
12124 return TokError("expected variable after '.tlsdescseq' directive"); in parseDirectiveTLSDescSeq()