Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp183 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
199 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
226 return TokError("expected identifier in directive"); in ParseDirectiveSize()
230 return TokError("unexpected token in directive"); in ParseDirectiveSize()
238 return TokError("unexpected token in directive"); in ParseDirectiveSize()
392 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()
408 return TokError("expected '@<type>', '%<type>' or \"<type>\""); in maybeParseSectionType()
410 return TokError("expected '%<type>' or \"<type>\""); in maybeParseSectionType()
418 return TokError("expected identifier in directive"); in maybeParseSectionType()
424 return TokError("expected the entry size"); in parseMergeSize()
[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 DCOFFAsmParser.cpp189 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
196 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
245 return TokError("unknown flag"); in ParseSectionFlags()
287 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
297 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
322 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
359 return TokError("expected identifier in directive"); in ParseDirectiveSection()
369 return TokError("expected string in directive"); in ParseDirectiveSection()
387 return TokError("expected comdat type such as 'discard' or 'largest' " in ParseDirectiveSection()
394 return TokError("expected comma in directive"); in ParseDirectiveSection()
[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.cpp1109 return TokError("expected ')' in parentheses expression"); in parseParenExpr()
1141 return TokError("unknown token in expression"); in parsePrimaryExpr()
1254 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1270 return TokError("invalid variant '" + Split.second + "'"); in parsePrimaryExpr()
1296 return TokError("cannot use . as current PC"); in parsePrimaryExpr()
1312 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
1361 return TokError("expected '(' after operator"); in parsePrimaryExpr()
1366 return TokError("expected ')'"); in parsePrimaryExpr()
1396 TokError("invalid variant on expression '" + getTok().getIdentifier() + in applyModifierToExpr()
1495 return TokError("unexpected symbol modifier following '@'"); in parseExpression()
[all …]
H A DMasmParser.cpp1411 return TokError("expected ')' in parentheses expression"); in parseParenExpr()
1445 return TokError("unknown token in expression"); in parsePrimaryExpr()
1597 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1613 return TokError("invalid variant '" + Split.second + "'"); in parsePrimaryExpr()
1666 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
1715 return TokError("expected '(' after operator"); in parsePrimaryExpr()
1720 return TokError("expected ')'"); in parsePrimaryExpr()
2931 return TokError("unexpected token"); in parseMacroArgument()
2978 return TokError("unbalanced parentheses in argument"); in parseMacroArgument()
2982 return TokError("missing value for required parameter '" + MP->Name + in parseMacroArgument()
[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
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp576 TokError("expected name for ClassID"); in ParseClassID()
584 TokError(Msg + ". Use 'defm' if you meant to use multiclass '" + in ParseClassID()
587 TokError(Msg); in ParseClassID()
601 TokError("expected name for MultiClassID"); in ParseMultiClassID()
607 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()
699 return TokError("expected integer or bitrange"); in ParseRangePiece()
705 return TokError("invalid range, cannot be negative"); in ParseRangePiece()
719 TokError("expected integer value as end of range"); in ParseRangePiece()
733 return TokError("invalid range, cannot be negative"); in ParseRangePiece()
776 TokError("expected '>' at end of range list"); in ParseOptionalRangeList()
[all …]
H A DTGParser.h176 bool TokError(const Twine &Msg) const { in TokError() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp2455 TokError("immediate value expected for prefetch operand"); in tryParsePrefetch()
2460 TokError("prefetch operand out of range, [0," + utostr(MaxVal) + in tryParsePrefetch()
2472 TokError("prefetch hint expected"); in tryParsePrefetch()
2478 TokError("prefetch hint expected"); in tryParsePrefetch()
2495 TokError("invalid operand for instruction"); in tryParsePSBHint()
2501 TokError("invalid operand for instruction"); in tryParsePSBHint()
2518 TokError("invalid operand for instruction"); in tryParseBTIHint()
2524 TokError("invalid operand for instruction"); in tryParseBTIHint()
2640 TokError("invalid floating point immediate"); in tryParseFPImm()
2647 TokError("encoded floating point value out of range"); in tryParseFPImm()
[all …]
/netbsd-src/external/apache2/llvm/dist/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.h255 bool TokError(const Twine &Msg, SMRange Range = None);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp4409 return TokError("invalid major version"); in ParseDirectiveMajorMinor()
4412 return TokError("minor version number required, comma expected"); in ParseDirectiveMajorMinor()
4415 return TokError("invalid minor version"); in ParseDirectiveMajorMinor()
4422 return TokError("directive only supported for amdgcn architecture"); in ParseDirectiveAMDGCNTarget()
4486 return TokError("directive only supported for amdgcn architecture"); in ParseDirectiveAMDHSAKernel()
4489 return TokError("directive only supported for amdhsa OS"); in ParseDirectiveAMDHSAKernel()
4523 return TokError(".amdhsa_ directives cannot be repeated"); in ParseDirectiveAMDHSAKernel()
4761 return TokError(".amdhsa_next_free_vgpr directive is required"); in ParseDirectiveAMDHSAKernel()
4764 return TokError(".amdhsa_next_free_sgpr directive is required"); in ParseDirectiveAMDHSAKernel()
4789 return TokError("too many user SGPRs enabled"); in ParseDirectiveAMDHSAKernel()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
2758 return TokError("Invalid memory broadcast primitive."); in HandleAVX512Operand()
2761 return TokError("Expected } at this point"); in HandleAVX512Operand()
3383 return TokError("unexpected token in argument list"); in ParseInstruction()
4774 return Parser.TokError("expected symbol name"); in parseDirectiveFPOProc()
4778 return Parser.TokError("parameters size out of range"); in parseDirectiveFPOProc()
4889 return TokError("unexpected token in directive"); in parseDirectiveSEHPushReg()
4902 return TokError("you must specify a stack pointer offset"); in parseDirectiveSEHSetFrame()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp430 return TokError("expected identifier in directive"); in ParseDirectiveRefSym()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1230 return TokError("invalid register name"); in ParseRegister()
/netbsd-src/external/apache2/llvm/dist/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()
11896 return TokError("expected variable after '.tlsdescseq' directive"); in parseDirectiveTLSDescSeq()