Home
last modified time | relevance | path

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

12

/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp165 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
175 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
202 return TokError("expected identifier in directive"); in ParseDirectiveSize()
206 return TokError("unexpected token in directive"); in ParseDirectiveSize()
214 return TokError("unexpected token in directive"); in ParseDirectiveSize()
352 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()
365 return TokError("expected identifier in directive"); in ParseSectionArguments()
399 return TokError("expected string in directive"); in ParseSectionArguments()
408 return TokError("unknown flag"); in ParseSectionArguments()
414 return TokError("Section cannot specifiy a group name while also acting " in ParseSectionArguments()
[all …]
DDarwinAsmParser.cpp397 return TokError("unexpected token in section switching directive"); in parseSectionSwitch()
425 return TokError("expected identifier in directive"); in parseDirectiveAltEntry()
431 return TokError(".alt_entry must preceed symbol definition"); in parseDirectiveAltEntry()
434 return TokError("unable to emit symbol attribute"); in parseDirectiveAltEntry()
445 return TokError("expected identifier in directive"); in parseDirectiveDesc()
451 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
459 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
484 return TokError("expected identifier in .indirect_symbol directive"); in parseDirectiveIndirectSymbol()
490 return TokError("non-local symbol required in directive"); in parseDirectiveIndirectSymbol()
493 return TokError("unable to emit indirect symbol attribute for: " + Name); in parseDirectiveIndirectSymbol()
[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.cpp266 return TokError(ErrMsg); in parseEOL()
277 return TokError(ErrMsg); in parseToken()
284 return TokError(ErrMsg); in parseIntToken()
744 return TokError("unmatched .ifs or .elses"); in Run()
752 TokError("unassigned file number: " + Twine(Index) + in Run()
801 TokError("expected section directive before assembly directive"); in checkForValidSection()
846 return TokError("expected ')' in parentheses expression"); in parseParenExpr()
861 return TokError("expected ']' in brackets expression"); in parseBracketExpr()
878 return TokError("unknown token in expression"); in parsePrimaryExpr()
973 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
[all …]
DMCAsmParser.cpp36 bool MCAsmParser::TokError(const Twine &Msg, ArrayRef<SMRange> Ranges) { in TokError() function in MCAsmParser
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DELFAsmParser.cpp169 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
179 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
191 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
203 return TokError("expected identifier in directive"); in ParseDirectiveSize()
207 return TokError("unexpected token in directive"); in ParseDirectiveSize()
215 return TokError("unexpected token in directive"); in ParseDirectiveSize()
325 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()
334 return TokError("expected identifier in directive"); in ParseDirectiveSection()
352 return TokError("expected string in directive"); in ParseDirectiveSection()
359 return TokError("unknown flag"); in ParseDirectiveSection()
[all …]
DDarwinAsmParser.cpp301 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
330 return TokError("expected identifier in directive"); in ParseDirectiveDesc()
336 return TokError("unexpected token in '.desc' directive"); in ParseDirectiveDesc()
344 return TokError("unexpected token in '.desc' directive"); in ParseDirectiveDesc()
360 return TokError("expected string in '.dump' or '.load' directive"); in ParseDirectiveDumpOrLoad()
365 return TokError("unexpected token in '.dump' or '.load' directive"); in ParseDirectiveDumpOrLoad()
382 return TokError("expected identifier in directive"); in ParseDirectiveLsym()
388 return TokError("unexpected token in '.lsym' directive"); in ParseDirectiveLsym()
396 return TokError("unexpected token in '.lsym' directive"); in ParseDirectiveLsym()
404 return TokError("directive '.lsym' is unsupported"); in ParseDirectiveLsym()
[all …]
DCOFFAsmParser.cpp142 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
152 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
165 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
178 return TokError("expected identifier in directive"); in ParseDirectiveDef()
194 return TokError("unexpected token in directive"); in ParseDirectiveScl()
207 return TokError("unexpected token in directive"); in ParseDirectiveType()
226 return TokError("unexpected token in directive"); in ParseSEHDirectiveStartProc()
259 return TokError("you must specify one or both of @unwind or @except"); in ParseSEHDirectiveHandler()
270 return TokError("unexpected token in directive"); in ParseSEHDirectiveHandler()
291 return TokError("unexpected token in directive"); in ParseSEHDirectivePushReg()
[all …]
DAsmParser.cpp477 return TokError("unmatched .ifs or .elses"); in Run()
484 TokError("unassigned file number: " + Twine(i) + " for .file directives"); in Run()
520 TokError("expected section directive before assembly directive"); in CheckForValidSection()
558 return TokError("expected ')' in parentheses expression"); in ParseParenExpr()
572 return TokError("expected ']' in brackets expression"); in ParseBracketExpr()
587 return TokError("unknown token in expression"); in ParsePrimaryExpr()
616 return TokError("invalid variant '" + Split.second + "'"); in ParsePrimaryExpr()
678 return TokError("brackets expression not supported on this target"); in ParsePrimaryExpr()
721 TokError("invalid variant on expression '" + in ApplyModifierToExpr()
779 return TokError("unexpected symbol modifier following '@'"); in ParseExpression()
[all …]
DMCAsmParser.cpp36 bool MCAsmParser::TokError(const Twine &Msg) { in TokError() function in MCAsmParser
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGParser.cpp326 TokError("expected name for ClassID"); in ParseClassID()
332 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseClassID()
345 TokError("expected name for ClassID"); in ParseMultiClassID()
351 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()
359 TokError("expected multiclass name"); in ParseDefmID()
365 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseDefmID()
397 TokError("subclass reference requires a non-empty list of template values"); in ParseSubClassReference()
409 TokError("expected '>' in template value list"); in ParseSubClassReference()
439 TokError("subclass reference requires a non-empty list of template values"); in ParseSubMultiClassReference()
451 TokError("expected '>' in template value list"); in ParseSubMultiClassReference()
[all …]
DTGParser.h67 bool TokError(const Twine &Msg) const { in TokError() function
/external/llvm/lib/TableGen/
DTGParser.cpp398 TokError("Record name is not typed!"); in ParseObjectName()
414 TokError("expected name for ClassID"); in ParseClassID()
420 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseClassID()
433 TokError("expected name for MultiClassID"); in ParseMultiClassID()
439 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()
472 TokError("subclass reference requires a non-empty list of template values"); in ParseSubClassReference()
484 TokError("expected '>' in template value list"); in ParseSubClassReference()
517 TokError("subclass reference requires a non-empty list of template values"); in ParseSubMultiClassReference()
529 TokError("expected '>' in template value list"); in ParseSubMultiClassReference()
545 TokError("expected integer or bitrange"); in ParseRangePiece()
[all …]
DTGParser.h98 bool TokError(const Twine &Msg) const { in TokError() function
/external/llvm/lib/AsmParser/
DLLParser.cpp252 default: return TokError("expected top-level entity"); in ParseTopLevelEntities()
300 default: return TokError("unknown target property"); in ParseTargetDefinition()
452 return TokError("expected 'global' or 'constant'"); in ParseGlobalType()
545 return TokError("expected comdat type"); in parseComdat()
550 return TokError("unknown selection kind"); in parseComdat()
658 return TokError("unexpected type in metadata definition"); in ParseStandaloneMetadata()
677 return TokError("Metadata id is already used"); in ParseStandaloneMetadata()
940 return TokError("unknown global variable property!"); in ParseGlobal()
955 return TokError("expected attribute group id"); in ParseUnnamedAttrGrp()
1243 return TokError(ErrMsg); in ParseToken()
[all …]
DLLParser.h161 bool TokError(const Twine &Msg) const { in TokError() function
254 return TokError("expected index"); in ParseIndexList()
/external/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/
DMCAsmParserExtension.h65 bool TokError(const Twine &Msg) { in TokError() function
66 return getParser().TokError(Msg); in TokError()
DMCAsmParser.h92 bool TokError(const Twine &Msg);
/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/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp170 default: return TokError("expected top-level entity"); in ParseTopLevelEntities()
253 default: return TokError("unknown target property"); in ParseTargetDefinition()
384 return TokError("expected 'global' or 'constant'"); in ParseGlobalType()
553 return TokError("Metadata id is already used"); in ParseStandaloneMetadata()
735 TokError("unknown global variable property!"); in ParseGlobal()
838 return TokError(ErrMsg); in ParseToken()
847 return TokError("expected string constant"); in ParseStringConstant()
857 return TokError("expected integer"); in ParseUInt32()
860 return TokError("expected 32-bit integer (too large)"); in ParseUInt32()
1069 return TokError("expected metadata after comma"); in ParseInstructionMetadata()
[all …]
DLLParser.h139 bool TokError(const Twine &Msg) const { in TokError() function
191 return TokError("expected index"); in ParseIndexList()
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp1992 TokError("vector register expected"); in tryMatchVectorRegister()
2007 TokError("invalid vector kind qualifier"); in tryMatchVectorRegister()
2016 TokError("vector register expected"); in tryMatchVectorRegister()
2067 TokError("immediate value expected for prefetch operand"); in tryParsePrefetch()
2072 TokError("prefetch operand out of range, [0,31] expected"); in tryParsePrefetch()
2083 TokError("pre-fetch hint expected"); in tryParsePrefetch()
2089 TokError("pre-fetch hint expected"); in tryParsePrefetch()
2106 TokError("invalid operand for instruction"); in tryParsePSBHint()
2112 TokError("invalid operand for instruction"); in tryParsePSBHint()
2225 TokError("expected compatible register or floating-point constant"); in tryParseFPImm()
[all …]
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1186 return TokError("invalid major version"); in ParseDirectiveMajorMinor()
1192 return TokError("minor version number required, comma expected"); in ParseDirectiveMajorMinor()
1196 return TokError("invalid minor version"); in ParseDirectiveMajorMinor()
1239 return TokError("stepping version number required, comma expected"); in ParseDirectiveHSACodeObjectISA()
1243 return TokError("invalid stepping version"); in ParseDirectiveHSACodeObjectISA()
1249 return TokError("vendor name required, comma expected"); in ParseDirectiveHSACodeObjectISA()
1253 return TokError("invalid vendor name"); in ParseDirectiveHSACodeObjectISA()
1259 return TokError("arch name required, comma expected"); in ParseDirectiveHSACodeObjectISA()
1263 return TokError("invalid arch name"); in ParseDirectiveHSACodeObjectISA()
1278 return TokError(Err.str()); in ParseAMDKernelCodeTValue()
[all …]
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp892 return TokError("unexpected token in directive"); in ParseDirectiveSubsection()
961 return TokError("unexpected token in directive"); in ParseDirectiveValue()
984 return TokError("expected identifier in directive"); in ParseDirectiveComm()
989 return TokError("unexpected token in directive"); in ParseDirectiveComm()
1023 return TokError("unexpected token in '.comm' or '.lcomm' directive"); in ParseDirectiveComm()

12