Lines Matching refs:TokError

421       TokError("Record name is not typed!");
437 TokError("expected name for ClassID");
443 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'");
456 TokError("expected name for MultiClassID");
462 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
495 TokError("subclass reference requires a non-empty list of template values");
507 TokError("expected '>' in template value list");
540 TokError("subclass reference requires a non-empty list of template values");
552 TokError("expected '>' in template value list");
568 TokError("expected integer or bitrange");
575 return TokError("invalid range, cannot be negative");
583 TokError("expected integer value as end of range");
593 return TokError("invalid range, cannot be negative");
642 TokError("expected '>' at end of range list");
664 TokError("expected '}' at end of bit list");
685 default: TokError("Unknown token when expecting a type"); return nullptr;
696 TokError("expected '<' after bits type");
700 TokError("expected integer in bits<n> type");
705 TokError("expected '>' at end of bits<n> type");
713 TokError("expected '<' after list type");
721 TokError("expected '>' at end of list<ty> type");
793 TokError("unknown operation");
811 TokError("did not get type for unary operator");
831 TokError("expected '(' after unary operator");
846 TokError("expected list or string type argument in unary operator");
853 TokError("expected list or string type argument in unary operator");
861 TokError("expected list type argument in unary operator");
866 TokError("empty list argument in unary operator");
873 TokError("untyped list element in unary operator");
885 TokError("expected list type argument in unary operator");
898 TokError("expected ')' in unary operator");
939 TokError("expected '(' after binary operator");
957 TokError("expected ')' in operator");
1015 TokError("expected '(' after ternary operator");
1024 TokError("expected ',' in ternary operator");
1034 TokError("expected ',' in ternary operator");
1044 TokError("expected ')' in binary operator");
1076 TokError("could not get type for !if");
1085 TokError("inconsistent types for !if");
1093 TokError("could not get type for !foreach");
1102 TokError("could not get type for !subst");
1124 TokError("expected type name for operator");
1132 TokError("expected type name for operator");
1137 TokError("expected type name for operator");
1169 default: TokError("Unknown token when parsing a value"); break;
1205 TokError("expected non-empty value list");
1222 TokError("expected '>' at end of value list");
1282 TokError("expected '}' at end of bit list value");
1314 TokError(ss.str());
1326 TokError("expected ']' at end of list value");
1343 TokError("expected '>' at end of list element type");
1356 TokError("Untyped list element");
1362 TokError("Incompatible types in list elements");
1374 TokError("Incompatible types in list elements");
1383 TokError("No type for list");
1391 TokError("Element type mismatch for list");
1403 TokError("expected identifier in dag init");
1414 TokError("expected variable name in dag operator");
1428 TokError("expected ')' in dag init");
1493 TokError("expected '}' at end of bit range list");
1513 TokError("expected ']' at end of list slice");
1521 TokError("expected field identifier after '.'");
1525 TokError("Cannot access field '" + Lex.getCurStrVal() + "' of value '" +
1612 TokError("expected variable name in dag literal");
1643 TokError("template argument provided to non-template class");
1664 TokError("too many template arguments");
1700 TokError("Expected identifier in declaration");
1746 TokError("Expected identifier in foreach declaration");
1755 TokError("Expected '=' in foreach declaration");
1764 default: TokError("Unknown token when expecting a range list"); return nullptr;
1769 TokError("Expected a Value list");
1775 TokError("Value list is not of list type");
1792 TokError("expected '}' at end of bit range list");
1846 return TokError("expected '>' at end of template argument list");
1862 return TokError("expected ';' after declaration");
1869 return TokError("expected field identifier after let");
1881 return TokError("expected '=' in let expression");
1886 return TokError("Value '" + FieldName + "' unknown!");
1894 return TokError("expected ';' after let expression");
1915 return TokError("Expected ';' or '{' to start body");
2073 return TokError("expected declaration in for");
2076 return TokError("Unknown tok");
2097 TokError("expected '}' at end of foreach command");
2118 return TokError("expected class name after 'class' keyword");
2126 return TokError("Class '" + CurRec->getNameInitAsString()
2155 TokError("expected identifier in let definition");
2169 TokError("expected '=' in let expression");
2202 return TokError("expected 'in' at end of top-level 'let'");
2220 TokError("expected '}' at end of top level let command");
2246 return TokError("expected identifier after multiclass for name");
2250 return TokError("multiclass '" + Name + "' already defined");
2288 return TokError("expected '{' in multiclass definition");
2290 return TokError("expected ';' in multiclass definition");
2295 return TokError("multiclass must contain at least one def");
2300 return TokError("expected 'let', 'def' or 'defm' in multiclass body");
2491 return TokError("expected ':' after defm identifier");
2546 return TokError("expected identifier");
2595 return TokError("expected ';' at end of defm");
2611 return TokError("Expected class, def, defm, multiclass or let definition");
2639 return TokError("Unexpected input at top level");