Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp438 return TokError("expected group name"); in parseGroup()
444 return TokError("invalid group name"); in parseGroup()
450 return TokError("invalid linkage"); in parseGroup()
490 return TokError("expected 'unique'"); in maybeParseUniqueID()
492 return TokError("expected commma"); in maybeParseUniqueID()
499 return TokError("unique id is too large"); in maybeParseUniqueID()
580 return TokError("unknown flag"); in ParseSectionArguments()
665 return TokError("unknown section type"); in ParseSectionArguments()
823 return TokError("expected a comma"); in ParseDirectiveSymver()
842 return TokError("expected 'remove'"); in ParseDirectiveSymver()
[all …]
H A DCOFFAsmParser.cpp242 return TokError("unknown flag"); in ParseSectionFlags()
391 return TokError("expected comma in directive"); in ParseDirectiveSection()
399 return TokError("unexpected token in directive"); in ParseDirectiveSection()
431 return TokError("unexpected token in directive"); in ParseDirectiveScl()
444 return TokError("unexpected token in directive"); in ParseDirectiveType()
471 return TokError("unexpected token in directive"); in ParseDirectiveSecRel32()
523 return TokError("unexpected token in directive"); in ParseDirectiveSafeSEH()
538 return TokError("unexpected token in directive"); in ParseDirectiveSecIdx()
553 return TokError("unexpected token in directive"); in ParseDirectiveSymIdx()
605 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()
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 DWasmAsmParser.cpp125 return TokError("expected group name"); in parseGroup()
131 return TokError("invalid group name"); in parseGroup()
137 return TokError("invalid linkage"); in parseGroup()
139 return TokError("Linkage must be 'comdat'"); in parseGroup()
147 return TokError("expected identifier in directive"); in parseSectionDirective()
175 return TokError("unknown flag"); in parseSectionDirective()
213 return TokError("expected identifier in directive"); in parseDirectiveSize()
263 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
267 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
289 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 DAsmParser.cpp1161 return TokError("unknown token in expression"); in parsePrimaryExpr()
1315 return TokError("cannot use . as current PC"); in parsePrimaryExpr()
2139 return TokError(Twine(IDVal) + in parseStatement()
2276 return TokError(Twine(IDVal) + in parseStatement()
2875 return TokError("too many positional arguments"); in parseMacroArguments()
2888 return TokError(MaxNestingDepthError.str()); in handleMacroEntry()
3265 return TokError(Lexer.getErr()); in parseRealValue()
3510 return TokError("negative file number"); in parseDirectiveFile()
4159 return TokError("expected symbol name"); in parseDirectiveCVFPOData()
5250 return TokError( in parseDirectiveIfeqs()
[all …]
H A DMasmParser.cpp3050 return TokError("unexpected token"); in parseMacroArgument()
3845 return TokError(Lexer.getErr()); in parseRealValue()
4795 return TokError("negative file number"); in parseDirectiveFile()
5450 return TokError("expected symbol name"); in parseDirectiveCVFPOData()
6216 return TokError( in parseDirectiveIfidn()
6420 return TokError( in parseDirectiveElseIfidn()
6427 return TokError( in parseDirectiveElseIfidn()
6429 return TokError( in parseDirectiveElseIfidn()
6436 return TokError( in parseDirectiveElseIfidn()
6596 return TokError( in parseDirectiveErrorIfidn()
[all …]
H A DCOFFMasmParser.cpp238 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
250 return TokError("expected identifier in directive"); in ParseDirectiveSegment()
279 return TokError("expected identifier in directive"); in ParseDirectiveSegmentEnd()
292 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
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGParser.cpp588 TokError(Msg); in ParseClassID()
832 TokError("unknown class name"); in ParseType()
932 TokError("unknown bang operator"); in ParseOperation()
3123 return TokError("expected '='"); in ParseDefset()
3125 return TokError("expected '{'"); in ParseDefset()
3166 return TokError("expected '='"); in ParseDefvar()
3173 return TokError("expected ';'"); in ParseDefvar()
3202 return TokError("Unknown tok"); in ParseForeach()
3255 return TokError("Unknown tok"); in ParseIf()
3365 return TokError("expected ';'"); in ParseAssert()
[all …]
H A DTGParser.h179 bool TokError(const Twine &Msg) const { in TokError() function
/llvm-project-15.0.7/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.h256 bool TokError(const Twine &Msg, SMRange Range = None);
/llvm-project-15.0.7/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp2769 TokError("prefetch hint expected"); in tryParsePrefetch()
2775 TokError("prefetch hint expected"); in tryParsePrefetch()
3094 return TokError(Msg); in parseCondCode()
3373 return TokError("invalid operand"); in parseSysAlias()
3389 return TokError(Str); in parseSysAlias()
3399 return TokError(Str); in parseSysAlias()
3409 return TokError(Str); in parseSysAlias()
3419 return TokError(Str); in parseSysAlias()
3430 return TokError(Str); in parseSysAlias()
3470 TokError("'csync' operand expected"); in tryParseBarrierOperand()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp4796 return TokError("invalid major version"); in ParseDirectiveMajorMinor()
4802 return TokError("invalid minor version"); in ParseDirectiveMajorMinor()
5201 return TokError("too many user SGPRs enabled"); in ParseDirectiveAMDHSAKernel()
5224 return TokError("shared_vgpr_count*2 + " in ParseDirectiveAMDHSAKernel()
5271 return TokError("invalid stepping version"); in ParseDirectiveHSACodeObjectISA()
5280 return TokError("arch name required, comma expected"); in ParseDirectiveHSACodeObjectISA()
5302 return TokError(Err.str()); in ParseAMDKernelCodeTValue()
5468 return TokError(Twine("expected directive ") + in ParseToEndDirective()
5502 return TokError(Twine("invalid value in ") + in ParseDirectivePALMetadata()
5510 return TokError(Twine("invalid value in ") + in ParseDirectivePALMetadata()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2799 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2803 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2809 return TokError("Expected 1to<NUM> at this point"); in HandleAVX512Operand()
2822 return TokError("Expected } at this point"); in HandleAVX512Operand()
3451 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 …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp674 return TokError("unexpected token in directive"); in ParseDirectiveSubsection()
732 return TokError("expected identifier in directive"); in ParseDirectiveComm()
737 return TokError("unexpected token in directive"); in ParseDirectiveComm()
771 return TokError("unexpected token in '.comm' or '.lcomm' directive"); in ParseDirectiveComm()
/llvm-project-15.0.7/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp432 return TokError("expected identifier in directive"); in ParseDirectiveRefSym()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1230 return TokError("invalid register name"); in ParseRegister()
/llvm-project-15.0.7/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp4274 return TokError("immediate value expected for vector index"); in tryParseRegisterWithWriteBack()
4479 return TokError("Token is not a Left Curly Brace"); in parseRegisterList()
5850 return TokError("Token is not a Left Bracket"); in parseMemory()
11940 return TokError("expected variable after '.tlsdescseq' directive"); in parseDirectiveTLSDescSeq()