Lines Matching refs:tokError

484       return tokError("expected top-level entity");  in parseTopLevelEntities()
567 return tokError("unknown target property"); in parseTargetDefinition()
698 return tokError("expected 'global' or 'constant'"); in parseGlobalType()
805 return tokError("expected comdat type"); in parseComdat()
810 return tokError("unknown selection kind"); in parseComdat()
906 return tokError("found DIArgList outside of function"); in parseNamedMetadata()
930 return tokError("unexpected type in metadata definition"); in parseStandaloneMetadata()
960 return tokError("Metadata id is already used"); in parseStandaloneMetadata()
977 return tokError( in skipModuleSummaryEntry()
1000 return tokError("found end of file while parsing summary entry"); in skipModuleSummaryEntry()
1195 return tokError("unknown alias or ifunc property!"); in parseAliasOrIFunc()
1257 return tokError("non-sanitizer token passed to LLParser::parseSanitizer()"); in parseSanitizer()
1402 return tokError("unknown global variable property!"); in parseGlobal()
1427 return tokError("expected attribute group id"); in parseUnnamedAttrGrp()
1773 return tokError(ErrMsg); in parseToken()
1782 return tokError("expected string constant"); in parseStringConstant()
1792 return tokError("expected integer"); in parseUInt32()
1795 return tokError("expected 32-bit integer (too large)"); in parseUInt32()
1805 return tokError("expected integer"); in parseUInt64()
1818 return tokError("expected localdynamic, initialexec or localexec"); in parseTLSModel()
1870 return tokError("invalid symbolic addrspace '" + AddrSpaceStr + "'"); in parseOptionalAddrSpace()
1876 return tokError("expected integer or string constant"); in parseOptionalAddrSpace()
2199 return tokError("expected metadata after comma"); in parseInstructionMetadata()
2289 return tokError(ErrMsg); in parseOptionalCodeModel()
2409 tokError("expected '('"); in parseMemoryAttr()
2419 tokError("expected ':' after location"); in parseMemoryAttr()
2427 tokError("expected memory location (argmem, inaccessiblemem) " in parseMemoryAttr()
2430 tokError("expected access kind (none, read, write, readwrite)"); in parseMemoryAttr()
2440 tokError("default access kind must be specified first"); in parseMemoryAttr()
2450 tokError("unterminated memory attribute"); in parseMemoryAttr()
2498 tokError("expected '('"); in parseNoFPClassAttr()
2685 return tokError("Expected ordering on atomic instruction"); in parseOrdering()
2736 return tokError("expected ',' as start of index list"); in parseIndexList()
2741 return tokError("expected index"); in parseIndexList()
2763 return tokError(Msg); in parseType()
2780 return tokError("ptr* is invalid - use ptr instead"); in parseType()
2859 return tokError("basic block pointers are invalid"); in parseType()
2861 return tokError("pointers to void are invalid - use i8* instead"); in parseType()
2863 return tokError("pointer to this type is invalid"); in parseType()
2871 return tokError("basic block pointers are invalid"); in parseType()
2873 return tokError("pointers to void are invalid; use i8* instead"); in parseType()
2875 return tokError("pointer to this type is invalid"); in parseType()
2915 return tokError(Twine(Msg) + "non-musttail call"); in parseParameterList()
2917 return tokError(Twine(Msg) + "musttail call in non-varargs function"); in parseParameterList()
2944 return tokError("expected '...' at end of argument list for musttail call " in parseParameterList()
3103 return tokError("invalid function return type"); in parseFunctionType()
3251 return tokError("expected number in address space"); in parseArrayVectorType()
3323 return tokError("expected uint32 param"); in parseTargetExtType()
3600 return tokError("expected value token"); in parseValID()
4213 return tokError("expected comdat variable"); in parseOptionalComdat()
4220 return tokError("comdat cannot be unnamed"); in parseOptionalComdat()
4458 return tokError("expected integer"); in parseMDField()
4469 return tokError("expected unsigned integer"); in parseMDField()
4473 return tokError("value for '" + Name + "' too large, limit is " + in parseMDField()
4496 return tokError("expected DWARF tag"); in parseMDField()
4500 return tokError("invalid DWARF tag" + Twine(" '") + Lex.getStrVal() + "'"); in parseMDField()
4515 return tokError("expected DWARF macinfo type"); in parseMDField()
4519 return tokError("invalid DWARF macinfo type" + Twine(" '") + in parseMDField()
4535 return tokError("expected DWARF virtuality code"); in parseMDField()
4539 return tokError("invalid DWARF virtuality code" + Twine(" '") + in parseMDField()
4553 return tokError("expected DWARF language"); in parseMDField()
4557 return tokError("invalid DWARF language" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4571 return tokError("expected DWARF calling convention"); in parseMDField()
4575 return tokError("invalid DWARF calling convention" + Twine(" '") + in parseMDField()
4590 return tokError("expected emission kind"); in parseMDField()
4594 return tokError("invalid emission kind" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4609 return tokError("expected nameTable kind"); in parseMDField()
4613 return tokError("invalid nameTable kind" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4628 return tokError("expected DWARF type attribute encoding"); in parseMDField()
4632 return tokError("invalid DWARF type attribute encoding" + Twine(" '") + in parseMDField()
4657 return tokError("expected debug info flag"); in parseMDField()
4661 return tokError(Twine("invalid debug info flag '") + Lex.getStrVal() + in parseMDField()
4697 return tokError("expected debug info flag"); in parseMDField()
4701 return tokError(Twine("invalid subprogram debug info flag '") + in parseMDField()
4723 return tokError("expected signed integer"); in parseMDField()
4727 return tokError("value for '" + Name + "' too small, limit is " + in parseMDField()
4730 return tokError("value for '" + Name + "' too large, limit is " + in parseMDField()
4743 return tokError("expected 'true' or 'false'"); in parseMDField()
4759 return tokError("'" + Name + "' cannot be null"); in parseMDField()
4827 return tokError("invalid checksum kind" + Twine(" '") + Lex.getStrVal() + in parseMDField()
4841 return tokError("expected field label here"); in parseMDFieldsImplBody()
4868 return tokError("field '" + Name + "' cannot be specified more than once"); in parseMDField()
4883 return tokError("expected metadata type"); in parseSpecializedMDNode()
4901 return tokError(Twine("invalid field '") + Lex.getStrVal() + \
5045 return tokError("unsigned enumerator with negative value"); in parseDIEnumerator()
5588 return tokError(Twine("invalid DWARF op '") + Lex.getStrVal() + "'"); in parseDIExpression()
5597 return tokError(Twine("invalid DWARF attribute encoding '") + in parseDIExpression()
5602 return tokError("expected unsigned integer"); in parseDIExpression()
5606 return tokError("element too large, limit is " + Twine(UINT64_MAX)); in parseDIExpression()
6082 return tokError("function expected to be numbered '%" + in parseFunctionHeader()
6085 return tokError("expected function name"); in parseFunctionHeader()
6091 return tokError("expected '(' in function argument list"); in parseFunctionHeader()
6307 return tokError("expected '{' in function body"); in parseFunctionBody()
6323 return tokError("function body requires at least one basic block"); in parseFunctionBody()
6424 return tokError("found end of file when expecting more instructions"); in parseInstruction()
6635 return tokError("expected fcmp predicate (e.g. 'oeq')"); in parseCmpPredicate()
6656 return tokError("expected icmp predicate (e.g. 'eq')"); in parseCmpPredicate()
7034 return tokError("expected scope value for catchswitch"); in parseCatchSwitch()
7082 return tokError("expected scope value for catchpad"); in parseCatchPad()
7105 return tokError("expected scope value for cleanuppad"); in parseCleanupPad()
7504 return tokError("expected 'catch' or 'filter' clause type"); in parseLandingPad()
7848 return tokError("invalid cmpxchg success ordering"); in parseCmpXchg()
7850 return tokError("invalid cmpxchg failure ordering"); in parseCmpXchg()
7890 return tokError("expected binary operation in atomicrmw"); in parseAtomicRMW()
7935 return tokError("atomicrmw cannot be unordered"); in parseAtomicRMW()
7988 return tokError("fence cannot be unordered"); in parseFence()
7990 return tokError("fence cannot be monotonic"); in parseFence()
9112 return tokError("expected integer"); in parseFlag()
9265 return tokError("Expected only one of hotness or relbf"); in parseOptionalCalls()
9394 return tokError("expected integer"); in parseParamAccessOffset()