Home
last modified time | relevance | path

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

/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp165 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
175 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
201 return TokError("expected identifier in directive"); in ParseDirectiveSize()
205 return TokError("unexpected token in directive"); in ParseDirectiveSize()
213 return TokError("unexpected token in directive"); in ParseDirectiveSize()
350 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()
363 return TokError("expected identifier in directive"); in ParseSectionArguments()
397 return TokError("expected string in directive"); in ParseSectionArguments()
406 return TokError("unknown flag"); in ParseSectionArguments()
412 return TokError("Section cannot specifiy a group name while also acting " in ParseSectionArguments()
[all …]
DDarwinAsmParser.cpp388 return TokError("unexpected token in section switching directive"); in parseSectionSwitch()
416 return TokError("expected identifier in directive"); in parseDirectiveDesc()
422 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
430 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
454 return TokError("expected identifier in .indirect_symbol directive"); in parseDirectiveIndirectSymbol()
460 return TokError("non-local symbol required in directive"); in parseDirectiveIndirectSymbol()
463 return TokError("unable to emit indirect symbol attribute for: " + Name); in parseDirectiveIndirectSymbol()
466 return TokError("unexpected token in '.indirect_symbol' directive"); in parseDirectiveIndirectSymbol()
479 return TokError("expected string in '.dump' or '.load' directive"); in parseDirectiveDumpOrLoad()
484 return TokError("unexpected token in '.dump' or '.load' directive"); in parseDirectiveDumpOrLoad()
[all …]
DCOFFAsmParser.cpp183 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
190 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
235 return TokError("unknown flag"); in ParseSectionFlags()
274 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
284 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
305 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
341 return TokError("expected identifier in directive"); in ParseDirectiveSection()
351 return TokError("expected string in directive"); in ParseDirectiveSection()
369 return TokError("expected comdat type such as 'discard' or 'largest' " in ParseDirectiveSection()
376 return TokError("expected comma in directive"); in ParseDirectiveSection()
[all …]
DAsmParser.cpp668 return TokError("unmatched .ifs or .elses"); in Run()
676 TokError("unassigned file number: " + Twine(Index) + in Run()
711 TokError("expected section directive before assembly directive"); in checkForValidSection()
756 return TokError("expected ')' in parentheses expression"); in parseParenExpr()
771 return TokError("expected ']' in brackets expression"); in parseBracketExpr()
788 return TokError("unknown token in expression"); in parsePrimaryExpr()
883 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
899 return TokError("invalid variant '" + Split.second + "'"); in parsePrimaryExpr()
937 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
984 TokError("invalid variant on expression '" + getTok().getIdentifier() + in applyModifierToExpr()
[all …]
DMCAsmParser.cpp36 bool MCAsmParser::TokError(const Twine &Msg, ArrayRef<SMRange> Ranges) { in TokError() function in MCAsmParser
/external/llvm/lib/TableGen/
DTGParser.cpp403 TokError("Record name is not typed!"); in ParseObjectName()
419 TokError("expected name for ClassID"); in ParseClassID()
425 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseClassID()
438 TokError("expected name for MultiClassID"); in ParseMultiClassID()
444 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()
477 TokError("subclass reference requires a non-empty list of template values"); in ParseSubClassReference()
489 TokError("expected '>' in template value list"); in ParseSubClassReference()
522 TokError("subclass reference requires a non-empty list of template values"); in ParseSubMultiClassReference()
534 TokError("expected '>' in template value list"); in ParseSubMultiClassReference()
550 TokError("expected integer or bitrange"); in ParseRangePiece()
[all …]
DTGParser.h98 bool TokError(const Twine &Msg) const { in TokError() function
/external/llvm/lib/AsmParser/
DLLParser.cpp214 default: return TokError("expected top-level entity"); in ParseTopLevelEntities()
298 default: return TokError("unknown target property"); in ParseTargetDefinition()
424 return TokError("expected 'global' or 'constant'"); in ParseGlobalType()
511 return TokError("expected comdat type"); in parseComdat()
516 return TokError("unknown selection kind"); in parseComdat()
624 return TokError("unexpected type in metadata definition"); in ParseStandaloneMetadata()
643 return TokError("Metadata id is already used"); in ParseStandaloneMetadata()
882 return TokError("unknown global variable property!"); in ParseGlobal()
897 return TokError("expected attribute group id"); in ParseUnnamedAttrGrp()
1173 return TokError(ErrMsg); in ParseToken()
[all …]
DLLParser.h158 bool TokError(const Twine &Msg) const { in TokError() function
252 return TokError("expected index"); in ParseIndexList()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h77 bool TokError(const Twine &Msg) { in TokError() function
78 return getParser().TokError(Msg); in TokError()
DMCAsmParser.h149 bool TokError(const Twine &Msg, ArrayRef<SMRange> Ranges = None);
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp676 return TokError("invalid major version"); in ParseDirectiveMajorMinor()
682 return TokError("minor version number required, comma expected"); in ParseDirectiveMajorMinor()
686 return TokError("invalid minor version"); in ParseDirectiveMajorMinor()
729 return TokError("stepping version number required, comma expected"); in ParseDirectiveHSACodeObjectISA()
733 return TokError("invalid stepping version"); in ParseDirectiveHSACodeObjectISA()
739 return TokError("vendor name required, comma expected"); in ParseDirectiveHSACodeObjectISA()
743 return TokError("invalid vendor name"); in ParseDirectiveHSACodeObjectISA()
749 return TokError("arch name required, comma expected"); in ParseDirectiveHSACodeObjectISA()
753 return TokError("invalid arch name"); in ParseDirectiveHSACodeObjectISA()
767 return TokError("expected '='"); in ParseAMDKernelCodeTValue()
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp2006 TokError("vector register expected"); in tryMatchVectorRegister()
2021 TokError("invalid vector kind qualifier"); in tryMatchVectorRegister()
2030 TokError("vector register expected"); in tryMatchVectorRegister()
2081 TokError("immediate value expected for prefetch operand"); in tryParsePrefetch()
2086 TokError("prefetch operand out of range, [0,31] expected"); in tryParsePrefetch()
2100 TokError("pre-fetch hint expected"); in tryParsePrefetch()
2109 TokError("pre-fetch hint expected"); in tryParsePrefetch()
2126 TokError("invalid operand for instruction"); in tryParsePSBHint()
2135 TokError("invalid operand for instruction"); in tryParsePSBHint()
2248 TokError("expected compatible register or floating-point constant"); in tryParseFPImm()
[all …]
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp912 return TokError("unexpected token in directive"); in ParseDirectiveSubsection()
980 return TokError("unexpected token in directive"); in ParseDirectiveValue()
1003 return TokError("expected identifier in directive"); in ParseDirectiveComm()
1008 return TokError("unexpected token in directive"); in ParseDirectiveComm()
1042 return TokError("unexpected token in '.comm' or '.lcomm' directive"); in ParseDirectiveComm()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp3104 return TokError("immediate value expected for vector index"); in tryParseRegisterWithWriteBack()
9579 TokError("unexpected token in directive"); in parseDirectiveEven()
9741 TokError("expected variable after '.tlsdescseq' directive"); in parseDirectiveTLSDescSeq()
9881 TokError("expected identifier after '.thumb_set'"); in parseDirectiveThumbSet()
9887 TokError("expected comma after name '" + Name + "'"); in parseDirectiveThumbSet()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp2859 TokError("unexpected token in directive"); in parseDirectiveEven()