Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DELFAsmParser.cpp183 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
193 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
220 return TokError("expected identifier in directive"); in ParseDirectiveSize()
224 return TokError("unexpected token in directive"); in ParseDirectiveSize()
232 return TokError("unexpected token in directive"); in ParseDirectiveSize()
383 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()
399 return TokError("expected '@<type>', '%<type>' or \"<type>\""); in maybeParseSectionType()
401 return TokError("expected '%<type>' or \"<type>\""); in maybeParseSectionType()
409 return TokError("expected identifier in directive"); in maybeParseSectionType()
415 return TokError("expected the entry size"); in parseMergeSize()
[all …]
DDarwinAsmParser.cpp477 return TokError("unexpected token in section switching directive"); in parseSectionSwitch()
505 return TokError("expected identifier in directive"); in parseDirectiveAltEntry()
511 return TokError(".alt_entry must preceed symbol definition"); in parseDirectiveAltEntry()
514 return TokError("unable to emit symbol attribute"); in parseDirectiveAltEntry()
525 return TokError("expected identifier in directive"); in parseDirectiveDesc()
531 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
539 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
564 return TokError("expected identifier in .indirect_symbol directive"); in parseDirectiveIndirectSymbol()
570 return TokError("non-local symbol required in directive"); in parseDirectiveIndirectSymbol()
573 return TokError("unable to emit indirect symbol attribute for: " + Name); in parseDirectiveIndirectSymbol()
[all …]
DCOFFAsmParser.cpp185 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
192 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
241 return TokError("unknown flag"); in ParseSectionFlags()
283 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
293 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
314 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
351 return TokError("expected identifier in directive"); in ParseDirectiveSection()
361 return TokError("expected string in directive"); in ParseDirectiveSection()
379 return TokError("expected comdat type such as 'discard' or 'largest' " in ParseDirectiveSection()
386 return TokError("expected comma in directive"); in ParseDirectiveSection()
[all …]
DWasmAsmParser.cpp109 return TokError("expected identifier in directive"); in parseSectionDirective()
161 return TokError("expected identifier in directive"); in parseDirectiveSize()
207 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
211 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
233 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
239 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
DAsmParser.cpp1046 return TokError("expected ')' in parentheses expression"); in parseParenExpr()
1077 return TokError("unknown token in expression"); in parsePrimaryExpr()
1182 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1198 return TokError("invalid variant '" + Split.second + "'"); in parsePrimaryExpr()
1237 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
1286 return TokError("expected '(' after operator"); in parsePrimaryExpr()
1291 return TokError("expected ')'"); in parsePrimaryExpr()
1321 TokError("invalid variant on expression '" + getTok().getIdentifier() + in applyModifierToExpr()
1420 return TokError("unexpected symbol modifier following '@'"); in parseExpression()
1425 return TokError("invalid variant '" + getTok().getIdentifier() + "'"); in parseExpression()
[all …]
DMCAsmParser.cpp60 return TokError(Msg); in parseIntToken()
83 bool MCAsmParser::TokError(const Twine &Msg, SMRange Range) { in TokError() function in MCAsmParser
/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 …]
/external/llvm-project/llvm/lib/MC/MCParser/
DELFAsmParser.cpp183 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
193 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
220 return TokError("expected identifier in directive"); in ParseDirectiveSize()
224 return TokError("unexpected token in directive"); in ParseDirectiveSize()
232 return TokError("unexpected token in directive"); in ParseDirectiveSize()
383 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()
399 return TokError("expected '@<type>', '%<type>' or \"<type>\""); in maybeParseSectionType()
401 return TokError("expected '%<type>' or \"<type>\""); in maybeParseSectionType()
409 return TokError("expected identifier in directive"); in maybeParseSectionType()
415 return TokError("expected the entry size"); in parseMergeSize()
[all …]
DDarwinAsmParser.cpp477 return TokError("unexpected token in section switching directive"); in parseSectionSwitch()
505 return TokError("expected identifier in directive"); in parseDirectiveAltEntry()
511 return TokError(".alt_entry must preceed symbol definition"); in parseDirectiveAltEntry()
514 return TokError("unable to emit symbol attribute"); in parseDirectiveAltEntry()
525 return TokError("expected identifier in directive"); in parseDirectiveDesc()
531 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
539 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
564 return TokError("expected identifier in .indirect_symbol directive"); in parseDirectiveIndirectSymbol()
570 return TokError("non-local symbol required in directive"); in parseDirectiveIndirectSymbol()
573 return TokError("unable to emit indirect symbol attribute for: " + Name); in parseDirectiveIndirectSymbol()
[all …]
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 …]
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()
DWasmAsmParser.cpp109 return TokError("expected identifier in directive"); in parseSectionDirective()
163 return TokError("expected identifier in directive"); in parseDirectiveSize()
209 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
213 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
235 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
241 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
DAsmParser.cpp1051 return TokError("expected ')' in parentheses expression"); in parseParenExpr()
1083 return TokError("unknown token in expression"); in parsePrimaryExpr()
1188 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1204 return TokError("invalid variant '" + Split.second + "'"); in parsePrimaryExpr()
1243 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
1292 return TokError("expected '(' after operator"); in parsePrimaryExpr()
1297 return TokError("expected ')'"); in parsePrimaryExpr()
1327 TokError("invalid variant on expression '" + getTok().getIdentifier() + in applyModifierToExpr()
1426 return TokError("unexpected symbol modifier following '@'"); in parseExpression()
1431 return TokError("invalid variant '" + getTok().getIdentifier() + "'"); in parseExpression()
[all …]
DMasmParser.cpp1409 return TokError("expected ')' in parentheses expression"); in parseParenExpr()
1443 return TokError("unknown token in expression"); in parsePrimaryExpr()
1589 return TokError("literal value out of range for directive"); in parsePrimaryExpr()
1605 return TokError("invalid variant '" + Split.second + "'"); in parsePrimaryExpr()
1658 return TokError("brackets expression not supported on this target"); in parsePrimaryExpr()
1707 return TokError("expected '(' after operator"); in parsePrimaryExpr()
1712 return TokError("expected ')'"); in parsePrimaryExpr()
2923 return TokError("unexpected token"); in parseMacroArgument()
2970 return TokError("unbalanced parentheses in argument"); in parseMacroArgument()
2974 return TokError("missing value for required parameter '" + MP->Name + in parseMacroArgument()
[all …]
/external/llvm-project/llvm/lib/TableGen/
DTGParser.cpp545 TokError("expected name for ClassID"); in ParseClassID()
553 TokError(Msg + ". Use 'defm' if you meant to use multiclass '" + in ParseClassID()
556 TokError(Msg); in ParseClassID()
570 TokError("expected name for MultiClassID"); in ParseMultiClassID()
576 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()
608 TokError("subclass reference requires a non-empty list of template values"); in ParseSubClassReference()
620 TokError("expected '>' in template value list"); in ParseSubClassReference()
651 TokError("subclass reference requires a non-empty list of template values"); in ParseSubMultiClassReference()
663 TokError("expected '>' in template value list"); in ParseSubMultiClassReference()
686 return TokError("expected integer or bitrange"); in ParseRangePiece()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGParser.cpp536 TokError("expected name for ClassID"); in ParseClassID()
544 TokError(Msg + ". Use 'defm' if you meant to use multiclass '" + in ParseClassID()
547 TokError(Msg); in ParseClassID()
561 TokError("expected name for MultiClassID"); in ParseMultiClassID()
567 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()
600 TokError("subclass reference requires a non-empty list of template values"); in ParseSubClassReference()
612 TokError("expected '>' in template value list"); in ParseSubClassReference()
645 TokError("subclass reference requires a non-empty list of template values"); in ParseSubMultiClassReference()
657 TokError("expected '>' in template value list"); in ParseSubMultiClassReference()
679 return TokError("expected integer or bitrange"); in ParseRangePiece()
[all …]
/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 …]
/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 …]
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h77 bool TokError(const Twine &Msg) { in TokError() function
78 return getParser().TokError(Msg); in TokError()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp320 default: return TokError("expected top-level entity"); in ParseTopLevelEntities()
373 default: return TokError("unknown target property"); in ParseTargetDefinition()
524 return TokError("expected 'global' or 'constant'"); in ParseGlobalType()
624 return TokError("expected comdat type"); in parseComdat()
629 return TokError("unknown selection kind"); in parseComdat()
744 return TokError("unexpected type in metadata definition"); in ParseStandaloneMetadata()
763 return TokError("Metadata id is already used"); in ParseStandaloneMetadata()
778 return TokError( in SkipModuleSummaryEntry()
796 return TokError("found end of file while parsing summary entry"); in SkipModuleSummaryEntry()
980 return TokError("unknown alias or ifunc property!"); in parseIndirectSymbol()
[all …]
/external/llvm-project/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h82 bool TokError(const Twine &Msg) { in TokError() function
83 return getParser().TokError(Msg); in TokError()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h82 bool TokError(const Twine &Msg) { in TokError() function
83 return getParser().TokError(Msg); in TokError()

123