Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp436 return TokError("expected group name"); in parseGroup()
442 return TokError("invalid group name"); in parseGroup()
448 return TokError("invalid linkage"); in parseGroup()
488 return TokError("expected 'unique'"); in maybeParseUniqueID()
490 return TokError("expected commma"); in maybeParseUniqueID()
497 return TokError("unique id is too large"); in maybeParseUniqueID()
561 return TokError("unknown flag"); in ParseSectionArguments()
644 return TokError("unknown section type"); in ParseSectionArguments()
804 return TokError("expected a comma"); in ParseDirectiveSymver()
823 return TokError("expected 'remove'"); in ParseDirectiveSymver()
[all …]
H A DDarwinAsmParser.cpp515 return TokError("unable to emit symbol attribute"); in parseDirectiveAltEntry()
660 return TokError("directive '.lsym' is unsupported"); in parseDirectiveLsym()
838 return TokError("unexpected token in directive"); in parseDirectiveTBSS()
890 return TokError("unexpected token in directive"); in parseDirectiveZerofill()
911 return TokError("unexpected token in directive"); in parseDirectiveZerofill()
923 return TokError("unexpected token in directive"); in parseDirectiveZerofill()
1016 return TokError(Twine("invalid ") + VersionName + in parseMajorMinorVersionComponent()
1024 return TokError(Twine(VersionName) + in parseMajorMinorVersionComponent()
1029 return TokError(Twine("invalid ") + VersionName + in parseMajorMinorVersionComponent()
1045 return TokError(Twine("invalid ") + ComponentName + in parseOptionalTrailingVersionComponent()
[all …]
H A DCOFFAsmParser.cpp245 return TokError("unknown flag"); in ParseSectionFlags()
394 return TokError("expected comma in directive"); in ParseDirectiveSection()
402 return TokError("unexpected token in directive"); in ParseDirectiveSection()
434 return TokError("unexpected token in directive"); in ParseDirectiveScl()
447 return TokError("unexpected token in directive"); in ParseDirectiveType()
474 return TokError("unexpected token in directive"); in ParseDirectiveSecRel32()
526 return TokError("unexpected token in directive"); in ParseDirectiveSafeSEH()
541 return TokError("unexpected token in directive"); in ParseDirectiveSecIdx()
556 return TokError("unexpected token in directive"); in ParseDirectiveSymIdx()
608 return TokError("unexpected token in directive"); in ParseDirectiveLinkOnce()
[all …]
H A DWasmAsmParser.cpp118 return TokError("expected group name"); in parseGroup()
124 return TokError("invalid group name"); in parseGroup()
130 return TokError("invalid linkage"); in parseGroup()
132 return TokError("Linkage must be 'comdat'"); in parseGroup()
140 return TokError("expected identifier in directive"); in parseSectionDirective()
168 return TokError("unknown flag"); in parseSectionDirective()
206 return TokError("expected identifier in directive"); in parseDirectiveSize()
256 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
260 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
282 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
[all …]
H A DMCAsmParserExtension.cpp29 return TokError("expected identifier in directive"); in ParseDirectiveCGProfile()
32 return TokError("expected a comma"); in ParseDirectiveCGProfile()
38 return TokError("expected identifier in directive"); in ParseDirectiveCGProfile()
41 return TokError("expected a comma"); in ParseDirectiveCGProfile()
50 return TokError("unexpected token in directive"); in ParseDirectiveCGProfile()
H A DAsmParser.cpp1145 return TokError("unknown token in expression"); in parsePrimaryExpr()
1301 return TokError("cannot use . as current PC"); in parsePrimaryExpr()
1371 return TokError("expected ')'"); in parsePrimaryExpr()
2125 return TokError(Twine(IDVal) + in parseStatement()
2262 return TokError(Twine(IDVal) + in parseStatement()
2874 return TokError(MaxNestingDepthError.str()); in handleMacroEntry()
3235 return TokError(Lexer.getErr()); in parseRealValue()
3475 return TokError("negative file number"); in parseDirectiveFile()
4128 return TokError("expected symbol name"); in parseDirectiveCVFPOData()
5227 return TokError( in parseDirectiveIfeqs()
[all …]
H A DMasmParser.cpp1842 return TokError("expected ')'"); in parsePrimaryExpr()
3085 return TokError("unexpected token"); in parseMacroArgument()
3882 return TokError(Lexer.getErr()); in parseRealValue()
5504 return TokError("expected symbol name"); in parseDirectiveCVFPOData()
6243 return TokError( in parseDirectiveIfidn()
6450 return TokError( in parseDirectiveElseIfidn()
6457 return TokError( in parseDirectiveElseIfidn()
6459 return TokError( in parseDirectiveElseIfidn()
6466 return TokError( in parseDirectiveElseIfidn()
6628 return TokError( in parseDirectiveErrorIfidn()
[all …]
H A DCOFFMasmParser.cpp245 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
257 return TokError("expected identifier in directive"); in ParseDirectiveSegment()
286 return TokError("expected identifier in directive"); in ParseDirectiveSegmentEnd()
299 return TokError("expected identifier in includelib directive"); in ParseDirectiveIncludelib()
H A DMCAsmParser.cpp72 return TokError(Msg); in parseIntToken()
95 bool MCAsmParser::TokError(const Twine &Msg, SMRange Range) { in TokError() function in MCAsmParser
/freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp587 TokError(Msg); in ParseClassID()
822 TokError("unknown class name"); in ParseType()
921 TokError("unknown bang operator"); in ParseOperation()
3064 return TokError("expected '='"); in ParseDefset()
3066 return TokError("expected '{'"); in ParseDefset()
3107 return TokError("expected '='"); in ParseDefvar()
3114 return TokError("expected ';'"); in ParseDefvar()
3143 return TokError("Unknown tok"); in ParseForeach()
3196 return TokError("Unknown tok"); in ParseIf()
3305 return TokError("expected ';'"); in ParseAssert()
[all …]
H A DTGParser.h176 bool TokError(const Twine &Msg) const { in TokError() function
/freebsd-13.1/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.h256 bool TokError(const Twine &Msg, SMRange Range = None);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp2774 TokError("prefetch hint expected"); in tryParsePrefetch()
2780 TokError("prefetch hint expected"); in tryParsePrefetch()
3362 return TokError("invalid operand"); in parseSysAlias()
3379 return TokError(Str.c_str()); in parseSysAlias()
3389 return TokError(Str.c_str()); in parseSysAlias()
3399 return TokError(Str.c_str()); in parseSysAlias()
3409 return TokError(Str.c_str()); in parseSysAlias()
3420 return TokError(Str.c_str()); in parseSysAlias()
3460 TokError("'csync' operand expected"); in tryParseBarrierOperand()
3507 TokError("'csync' operand expected"); in tryParseBarrierOperand()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp4448 return TokError("invalid major version"); in ParseDirectiveMajorMinor()
4454 return TokError("invalid minor version"); in ParseDirectiveMajorMinor()
4828 return TokError("too many user SGPRs enabled"); in ParseDirectiveAMDHSAKernel()
4885 return TokError("invalid stepping version"); in ParseDirectiveHSACodeObjectISA()
4888 return TokError("vendor name required, comma expected"); in ParseDirectiveHSACodeObjectISA()
4894 return TokError("arch name required, comma expected"); in ParseDirectiveHSACodeObjectISA()
4916 return TokError(Err.str()); in ParseAMDKernelCodeTValue()
5082 return TokError(Twine("expected directive ") + in ParseToEndDirective()
5116 return TokError(Twine("invalid value in ") + in ParseDirectivePALMetadata()
5124 return TokError(Twine("invalid value in ") + in ParseDirectivePALMetadata()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2739 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2743 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2749 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2761 return TokError("Expected } at this point"); in HandleAVX512Operand()
3384 return TokError("unexpected token in argument list"); in ParseInstruction()
4775 return Parser.TokError("expected symbol name"); in parseDirectiveFPOProc()
4884 return TokError("unexpected token in directive"); in parseDirectiveSEHPushReg()
4904 return TokError("unexpected token in directive"); in parseDirectiveSEHSetFrame()
4924 return TokError("unexpected token in directive"); in parseDirectiveSEHSaveReg()
4944 return TokError("unexpected token in directive"); in parseDirectiveSEHSaveXMM()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp685 return TokError("unexpected token in directive"); in ParseDirectiveSubsection()
743 return TokError("expected identifier in directive"); in ParseDirectiveComm()
748 return TokError("unexpected token in directive"); in ParseDirectiveComm()
782 return TokError("unexpected token in '.comm' or '.lcomm' directive"); in ParseDirectiveComm()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp430 return TokError("expected identifier in directive"); in ParseDirectiveRefSym()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1243 return TokError("invalid register name"); in ParseRegister()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp4265 return TokError("immediate value expected for vector index"); in tryParseRegisterWithWriteBack()
4470 return TokError("Token is not a Left Curly Brace"); in parseRegisterList()
5831 return TokError("Token is not a Left Bracket"); in parseMemory()
11897 return TokError("expected variable after '.tlsdescseq' directive"); in parseDirectiveTLSDescSeq()