Lines Matching refs:TokError
326 TokError("expected name for ClassID");
332 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'");
345 TokError("expected name for ClassID");
351 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'");
359 TokError("expected multiclass name");
365 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
397 TokError("subclass reference requires a non-empty list of template values");
409 TokError("expected '>' in template value list");
439 TokError("subclass reference requires a non-empty list of template values");
451 TokError("expected '>' in template value list");
466 TokError("expected integer or bitrange");
473 return TokError("invalid range, cannot be negative");
481 TokError("expected integer value as end of range");
491 return TokError("invalid range, cannot be negative");
540 TokError("expected '>' at end of range list");
562 TokError("expected '}' at end of bit list");
583 default: TokError("Unknown token when expecting a type"); return 0;
594 TokError("expected '<' after bits type");
598 TokError("expected integer in bits<n> type");
603 TokError("expected '>' at end of bits<n> type");
611 TokError("expected '<' after list type");
619 TokError("expected '>' at end of list<ty> type");
686 TokError("unknown operation");
705 TokError("did not get type for unary operator");
725 TokError("expected '(' after unary operator");
740 TokError("expected list or string type argument in unary operator");
747 TokError("expected list or string type argumnet in unary operator");
755 TokError("expected list type argumnet in unary operator");
760 TokError("empty list argument in unary operator");
767 TokError("untyped list element in unary operator");
779 TokError("expected list type argumnet in unary operator");
792 TokError("expected ')' in unary operator");
826 TokError("expected '(' after binary operator");
844 TokError("expected ')' in operator");
889 TokError("expected '(' after ternary operator");
898 TokError("expected ',' in ternary operator");
907 TokError("expected ',' in ternary operator");
916 TokError("expected ')' in binary operator");
955 TokError("could not get type for !if");
964 TokError("inconsistent types for !if");
972 TokError("could not get type for !foreach");
981 TokError("could not get type for !subst");
992 TokError("could not parse operation");
1005 TokError("expected type name for operator");
1013 TokError("expected type name for operator");
1018 TokError("expected type name for operator");
1047 default: TokError("Unknown token when parsing a value"); break;
1078 TokError("expected non-empty value list");
1095 TokError("expected '>' at end of value list");
1128 TokError("expected '}' at end of bit list value");
1159 TokError(s.str());
1171 TokError("expected ']' at end of list value");
1188 TokError("expected '>' at end of list element type");
1201 TokError("Untyped list element");
1207 TokError("Incompatible types in list elements");
1219 TokError("Incompatible types in list elements");
1228 TokError("No type for list");
1236 TokError("Element type mismatch for list");
1248 TokError("expected identifier in dag init");
1259 TokError("expected variable name in dag operator");
1273 TokError("expected ')' in dag init");
1332 TokError("expected '}' at end of bit range list");
1352 TokError("expected ']' at end of list slice");
1360 TokError("expected field identifier after '.'");
1364 TokError("Cannot access field '" + Lex.getCurStrVal() + "' of value '" +
1391 TokError("expected variable name in dag literal");
1439 TokError("too many template arguments");
1475 TokError("Expected identifier in declaration");
1541 return TokError("expected '>' at end of template argument list");
1557 return TokError("expected ';' after declaration");
1564 return TokError("expected field identifier after let");
1576 return TokError("expected '=' in let expression");
1581 return TokError("Value '" + FieldName + "' unknown!");
1589 return TokError("expected ';' after let expression");
1610 return TokError("Expected ';' or '{' to start body");
1732 return TokError("expected class name after 'class' keyword");
1740 return TokError("Class '" + CurRec->getName() + "' already defined");
1768 TokError("expected identifier in let definition");
1782 TokError("expected '=' in let expression");
1815 return TokError("expected 'in' at end of top-level 'let'");
1833 TokError("expected '}' at end of top level let command");
1854 return TokError("expected identifier after multiclass for name");
1858 return TokError("multiclass '" + Name + "' already defined");
1896 return TokError("expected '{' in multiclass definition");
1898 return TokError("expected ';' in multiclass definition");
1903 return TokError("multiclass must contain at least one def");
1908 return TokError("expected 'let', 'def' or 'defm' in multiclass body");
2048 return TokError("expected ':' after defm identifier");
2149 return TokError("expected ';' at end of defm");
2165 return TokError("Expected class, def, defm, multiclass or let definition");
2192 return TokError("Unexpected input at top level");