Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp181 return TokError("expected identifier"); in ParseDirectiveSymbolAttribute()
197 return TokError("expected comma"); in ParseDirectiveSymbolAttribute()
224 return TokError("expected identifier"); in ParseDirectiveSize()
228 return TokError("expected comma"); in ParseDirectiveSize()
236 return TokError("unexpected token"); in ParseDirectiveSize()
394 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()
410 return TokError("expected '@<type>', '%<type>' or \"<type>\""); in maybeParseSectionType()
412 return TokError("expected '%<type>' or \"<type>\""); in maybeParseSectionType()
420 return TokError("expected identifier"); in maybeParseSectionType()
426 return TokError("expected the entry size"); in parseMergeSize()
[all …]
H A DCOFFAsmParser.cpp187 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
194 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
247 return TokError("unknown flag"); in ParseSectionFlags()
291 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
301 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
326 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
363 return TokError("expected identifier in directive"); in ParseDirectiveSection()
373 return TokError("expected string in directive"); in ParseDirectiveSection()
391 return TokError("expected comdat type such as 'discard' or 'largest' " in ParseDirectiveSection()
398 return TokError("expected comma in directive"); in ParseDirectiveSection()
[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.cpp126 return TokError("expected group name"); in parseGroup()
132 return TokError("invalid group name"); in parseGroup()
138 return TokError("invalid linkage"); in parseGroup()
140 return TokError("Linkage must be 'comdat'"); in parseGroup()
148 return TokError("expected identifier in directive"); in parseSectionDirective()
176 return TokError("unknown flag"); in parseSectionDirective()
214 return TokError("expected identifier in directive"); in parseDirectiveSize()
269 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
273 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
295 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.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.cpp1167 return TokError("unknown token in expression"); in parsePrimaryExpr()
1279 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1295 return TokError("invalid variant '" + Split.second + "'"); in parsePrimaryExpr()
1321 return TokError("cannot use . as current PC"); in parsePrimaryExpr()
1337 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
1386 return TokError("expected '(' after operator"); in parsePrimaryExpr()
1420 TokError("invalid variant on expression '" + getTok().getIdentifier() + in applyModifierToExpr()
1519 return TokError("unexpected symbol modifier following '@'"); in parseExpression()
1524 return TokError("invalid variant '" + getTok().getIdentifier() + "'"); in parseExpression()
1528 return TokError("invalid modifier '" + getTok().getIdentifier() + in parseExpression()
[all …]
H A DMasmParser.cpp1570 return TokError("unknown token in expression"); in parsePrimaryExpr()
1745 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1790 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
1839 return TokError("expected '(' after operator"); in parsePrimaryExpr()
3065 return TokError("unexpected token"); in parseMacroArgument()
3112 return TokError("unbalanced parentheses in argument"); in parseMacroArgument()
3116 return TokError("missing value for required parameter '" + MP->Name + in parseMacroArgument()
3149 return TokError("expected '=' after formal parameter identifier"); in parseMacroArguments()
3238 return TokError("too many positional arguments"); in parseMacroArguments()
3252 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
/openbsd-src/gnu/llvm/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()
603 TokError("expected name for MultiClassID"); in ParseMultiClassID()
609 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()
701 return TokError("expected integer or bitrange"); in ParseRangePiece()
707 return TokError("invalid range, cannot be negative"); in ParseRangePiece()
721 TokError("expected integer value as end of range"); in ParseRangePiece()
735 return TokError("invalid range, cannot be negative"); in ParseRangePiece()
778 TokError("expected '>' at end of range list"); in ParseOptionalRangeList()
[all …]
H A DTGParser.h182 bool TokError(const Twine &Msg) const { in TokError() function
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp2985 TokError("immediate value expected for prefetch operand"); in tryParseRPRFMOperand()
2990 TokError("prefetch operand out of range, [0," + utostr(MaxVal) + in tryParseRPRFMOperand()
3002 TokError("prefetch hint expected"); in tryParseRPRFMOperand()
3008 TokError("prefetch hint expected"); in tryParseRPRFMOperand()
3054 TokError("immediate value expected for prefetch operand"); in tryParsePrefetch()
3059 TokError("prefetch operand out of range, [0," + utostr(MaxVal) + in tryParsePrefetch()
3071 TokError("prefetch hint expected"); in tryParsePrefetch()
3077 TokError("prefetch hint expected"); in tryParsePrefetch()
3093 TokError("invalid operand for instruction"); in tryParsePSBHint()
3099 TokError("invalid operand for instruction"); in tryParsePSBHint()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp4876 return TokError("invalid major version"); in ParseDirectiveMajorMinor()
4879 return TokError("minor version number required, comma expected"); in ParseDirectiveMajorMinor()
4882 return TokError("invalid minor version"); in ParseDirectiveMajorMinor()
4889 return TokError("directive only supported for amdgcn architecture"); in ParseDirectiveAMDGCNTarget()
4953 return TokError("directive only supported for amdgcn architecture"); in ParseDirectiveAMDHSAKernel()
4956 return TokError("directive only supported for amdhsa OS"); in ParseDirectiveAMDHSAKernel()
4997 return TokError(".amdhsa_ directives cannot be repeated"); in ParseDirectiveAMDHSAKernel()
5246 return TokError(".amdhsa_next_free_vgpr directive is required"); in ParseDirectiveAMDHSAKernel()
5249 return TokError(".amdhsa_next_free_sgpr directive is required"); in ParseDirectiveAMDHSAKernel()
5274 return TokError("amdgpu_user_sgpr_count smaller than than implied by " in ParseDirectiveAMDHSAKernel()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2800 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2804 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2810 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2820 return TokError("Invalid memory broadcast primitive."); in HandleAVX512Operand()
2823 return TokError("Expected } at this point"); in HandleAVX512Operand()
3452 return TokError("unexpected token in argument list"); in ParseInstruction()
4782 return Parser.TokError("expected symbol name"); in parseDirectiveFPOProc()
4786 return Parser.TokError("parameters size out of range"); in parseDirectiveFPOProc()
4891 return TokError("expected end of directive"); in parseDirectiveSEHPushReg()
4904 return TokError("you must specify a stack pointer offset"); in parseDirectiveSEHSetFrame()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp683 return TokError("unexpected token in directive"); in ParseDirectiveSubsection()
741 return TokError("expected identifier in directive"); in ParseDirectiveComm()
746 return TokError("unexpected token in directive"); in ParseDirectiveComm()
780 return TokError("unexpected token in '.comm' or '.lcomm' directive"); in ParseDirectiveComm()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp433 return TokError("expected identifier in directive"); in ParseDirectiveRefSym()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1314 return TokError("invalid register name"); in parseRegister()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp2305 return TokError("expected symbol name"); in parseDirectiveVariantCC()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp4275 return TokError("immediate value expected for vector index"); in tryParseRegisterWithWriteBack()
4480 return TokError("Token is not a Left Curly Brace"); in parseRegisterList()
5851 return TokError("Token is not a Left Bracket"); in parseMemory()
11969 return TokError("expected variable after '.tlsdescseq' directive"); in parseDirectiveTLSDescSeq()