• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/

Lines Matching refs:TokError

545     TokError("expected name for ClassID");
553 TokError(Msg + ". Use 'defm' if you meant to use multiclass '" +
556 TokError(Msg);
570 TokError("expected name for MultiClassID");
576 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
608 TokError("subclass reference requires a non-empty list of template values");
620 TokError("expected '>' in template value list");
651 TokError("subclass reference requires a non-empty list of template values");
663 TokError("expected '>' in template value list");
684 return TokError("expected integer or bitrange");
690 return TokError("invalid range, cannot be negative");
702 TokError("expected integer value as end of range");
716 return TokError("invalid range, cannot be negative");
759 TokError("expected '>' at end of range list");
778 TokError("expected '}' at end of bit list");
797 default: TokError("Unknown token when expecting a type"); return nullptr;
805 TokError("unknown class name");
809 TokError("expected '<' after bits type");
813 TokError("expected integer in bits<n> type");
818 TokError("expected '>' at end of bits<n> type");
826 TokError("expected '<' after list type");
834 TokError("expected '>' at end of list<ty> type");
905 TokError("unknown operation");
925 TokError("did not get type for unary operator");
957 TokError("did not get type for unary operator");
962 TokError("type for !getop must be a record type");
972 TokError("expected '(' after unary operator");
986 TokError("expected list or string type argument in unary operator");
993 TokError("expected list or string type argument in unary operator");
1001 TokError("expected list type argument in unary operator");
1008 TokError("empty list argument in unary operator");
1015 TokError("untyped list element in unary operator");
1024 TokError("expected list type argument in unary operator");
1033 TokError("expected ')' in unary operator");
1048 TokError("expected '(' after type of !isa");
1057 TokError("expected ')' in !isa");
1162 TokError("expected '(' after binary operator");
1261 TokError("expected ')' in operator");
1297 TokError("expected '(' after !foreach");
1302 TokError("first argument of !foreach must be an identifier");
1310 TokError((Twine("iteration variable '") + LHS->getAsString() +
1317 TokError("expected ',' in ternary operator");
1326 TokError("expected ',' in ternary operator");
1332 TokError("could not get type of !foreach input");
1362 TokError("!foreach must have list or dag input");
1382 TokError("expected ')' in binary operator");
1392 TokError("could not get type of !foreach result");
1425 TokError("expected '(' after ternary operator");
1433 TokError("expected ',' in ternary operator");
1443 TokError("expected ',' in ternary operator");
1453 TokError("expected ')' in binary operator");
1514 TokError("could not get type for !if");
1520 TokError(Twine("inconsistent types '") + MHSTy->getAsString() +
1529 TokError("could not get type for !subst");
1546 TokError("expected '(' after !foldl");
1556 TokError(Twine("could not get type of !foldl start: '") +
1562 TokError("expected ',' in !foldl");
1572 TokError(Twine("could not get type of !foldl list: '") +
1579 TokError(Twine("!foldl list must be a list, but is of type '") +
1585 TokError("expected ',' in !foldl");
1590 TokError("third argument of !foldl must be an identifier");
1596 TokError((Twine("left !foldl variable '") + A->getAsString() +
1603 TokError("expected ',' in !foldl");
1608 TokError("fourth argument of !foldl must be an identifier");
1614 TokError((Twine("right !foldl variable '") + B->getAsString() +
1621 TokError("expected ',' in !foldl");
1645 TokError("could not get type of !foldl expression");
1650 TokError(Twine("!foldl expression must be of same type as start (") +
1657 TokError("expected ')' in fold operator");
1676 TokError("expected type name for operator");
1683 TokError("expected type name for operator");
1688 TokError("expected type name for operator");
1699 TokError("expected '(' after !cond operator");
1716 TokError("expected ':' following a condition in !cond operator");
1729 TokError("expected ',' or ')' following a value in !cond operator");
1735 TokError("there should be at least 1 'condition : value' in the !cond operator");
1757 TokError(Twine("inconsistent types '") + Type->getAsString() +
1767 TokError("could not determine type for !cond from its arguments");
1798 default: TokError("Unknown token when parsing a value"); break;
1838 TokError("expected non-empty value list");
1856 TokError("expected '>' at end of value list");
1904 TokError("expected '}' at end of bit list value");
1954 TokError(Twine("Type mismatch for list, expected list type, got ") +
1967 TokError("expected ']' at end of list value");
1981 TokError("expected '>' at end of list element type");
1994 TokError("Incompatible types in list elements");
2007 TokError("Incompatible types in list elements");
2016 TokError("No type for list");
2024 TokError(Twine("Element type mismatch for list: element type '") +
2039 TokError("expected identifier in dag init");
2050 TokError("expected variable name in dag operator");
2064 TokError("expected ')' in dag init");
2145 TokError("expected '}' at end of bit range list");
2165 TokError("expected ']' at end of list slice");
2172 TokError("expected field identifier after '.'");
2177 TokError("Cannot access field '" + Lex.getCurStrVal() + "' of value '" +
2298 TokError("expected variable name in dag literal");
2326 TokError("template argument provided to non-template class");
2353 TokError("too many template arguments");
2389 TokError("Expected identifier in declaration");
2395 TokError("'" + Str + "' is a reserved variable name");
2442 TokError("Expected identifier in foreach declaration");
2451 TokError("Expected '=' in foreach declaration");
2463 TokError("expected '}' at end of bit range list");
2551 return TokError("expected '>' at end of template argument list");
2569 return TokError("expected ';' after declaration");
2575 return TokError("expected field identifier after let");
2587 return TokError("expected '=' in let expression");
2591 return TokError("Value '" + FieldName->getValue() + "' unknown!");
2604 return TokError("expected ';' after let expression");
2622 return TokError("Expected ';' or '{' to start body");
2741 return TokError("expected identifier");
2744 return TokError("def or global variable of this name already exists");
2747 return TokError("expected '='");
2749 return TokError("expected '{'");
2760 TokError("expected '}' at end of defset");
2778 return TokError("expected identifier");
2782 return TokError("local variable of this name already exists");
2785 return TokError("def or global variable of this name already exists");
2790 return TokError("expected '='");
2797 return TokError("expected ';'");
2823 return TokError("expected declaration in for");
2826 return TokError("Unknown tok");
2848 TokError("expected '}' at end of foreach command");
2879 return TokError("Unknown tok");
2957 TokError("expected '}' at end of '" + Kind + "' clause");
2975 return TokError("expected class name after 'class' keyword");
2983 return TokError("Class '" + CurRec->getNameInitAsString() +
3012 TokError("expected identifier in let definition");
3030 TokError("expected '=' in let expression");
3063 return TokError("expected 'in' at end of top-level 'let'");
3082 TokError("expected '}' at end of top level let command");
3109 return TokError("expected identifier after multiclass for name");
3117 return TokError("multiclass '" + Name + "' already defined");
3152 return TokError("expected '{' in multiclass definition");
3154 return TokError("expected ';' in multiclass definition");
3157 return TokError("multiclass must contain at least one def");
3165 return TokError("expected 'let', 'def', 'defm', 'defvar', 'foreach' "
3208 return TokError("expected ':' after defm identifier");
3265 return TokError("expected identifier");
3309 return TokError("expected ';' at end of defm");
3326 return TokError("Expected class, def, defm, defset, multiclass, let, "
3335 return TokError("defset is not allowed inside multiclass");
3341 return TokError("class is not allowed inside multiclass");
3343 return TokError("class is not allowed inside foreach loop");
3347 return TokError("multiclass is not allowed inside foreach loop");
3370 return TokError("Unexpected input at top level");