reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/TableGen/TGParser.cpp
  534     TokError("expected name for ClassID");
  542       TokError(Msg + ". Use 'defm' if you meant to use multiclass '" +
  545       TokError(Msg);
  559     TokError("expected name for MultiClassID");
  565     TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
  598     TokError("subclass reference requires a non-empty list of template values");
  610     TokError("expected '>' in template value list");
  643     TokError("subclass reference requires a non-empty list of template values");
  655     TokError("expected '>' in template value list");
  677     return TokError("expected integer or bitrange");
  683     return TokError("invalid range, cannot be negative");
  695       TokError("expected integer value as end of range");
  709     return TokError("invalid range, cannot be negative");
  757     TokError("expected '>' at end of range list");
  779     TokError("expected '}' at end of bit list");
  799   default: TokError("Unknown token when expecting a type"); return nullptr;
  807     TokError("unknown class name");
  811       TokError("expected '<' after bits type");
  815       TokError("expected integer in bits<n> type");
  820       TokError("expected '>' at end of bits<n> type");
  828       TokError("expected '<' after list type");
  836       TokError("expected '>' at end of list<ty> type");
  902     TokError("unknown operation");
  921         TokError("did not get type for unary operator");
  946       TokError("expected '(' after unary operator");
  961         TokError("expected list or string type argument in unary operator");
  968           TokError("expected list or string type argument in unary operator");
  976           TokError("expected list type argument in unary operator");
  983           TokError("empty list argument in unary operator");
  990             TokError("untyped list element in unary operator");
  999             TokError("expected list type argument in unary operator");
 1008       TokError("expected ')' in unary operator");
 1024       TokError("expected '(' after type of !isa");
 1034       TokError("expected ')' in !isa");
 1137       TokError("expected '(' after binary operator");
 1221       TokError("expected ')' in operator");
 1258       TokError("expected '(' after !foreach");
 1263       TokError("first argument of !foreach must be an identifier");
 1270       TokError((Twine("iteration variable '") + LHS->getAsString() +
 1277       TokError("expected ',' in ternary operator");
 1287       TokError("expected ',' in ternary operator");
 1294       TokError("could not get type of !foreach input");
 1324       TokError("!foreach must have list or dag input");
 1344       TokError("expected ')' in binary operator");
 1355         TokError("could not get type of !foreach result");
 1388       TokError("expected '(' after ternary operator");
 1397       TokError("expected ',' in ternary operator");
 1408       TokError("expected ',' in ternary operator");
 1419       TokError("expected ')' in binary operator");
 1481         TokError("could not get type for !if");
 1487         TokError(Twine("inconsistent types '") + MHSTy->getAsString() +
 1496         TokError("could not get type for !subst");
 1513       TokError("expected '(' after !foldl");
 1524       TokError(Twine("could not get type of !foldl start: '") +
 1530       TokError("expected ',' in !foldl");
 1541       TokError(Twine("could not get type of !foldl list: '") +
 1548       TokError(Twine("!foldl list must be a list, but is of type '") +
 1554       TokError("expected ',' in !foldl");
 1559       TokError("third argument of !foldl must be an identifier");
 1565       TokError((Twine("left !foldl variable '") + A->getAsString() +
 1572       TokError("expected ',' in !foldl");
 1577       TokError("fourth argument of !foldl must be an identifier");
 1583       TokError((Twine("right !foldl variable '") + B->getAsString() +
 1590       TokError("expected ',' in !foldl");
 1614       TokError("could not get type of !foldl expression");
 1619       TokError(Twine("!foldl expression must be of same type as start (") +
 1626       TokError("expected ')' in fold operator");
 1646     TokError("expected type name for operator");
 1654     TokError("expected type name for operator");
 1659     TokError("expected type name for operator");
 1671      TokError("expected '(' after !cond operator");
 1691       TokError("expected ':'  following a condition in !cond operator");
 1707       TokError("expected ',' or ')' following a value in !cond operator");
 1714     TokError("there should be at least 1 'condition : value' in the !cond operator");
 1736           TokError(Twine("inconsistent types '") + Type->getAsString() +
 1746     TokError("could not determine type for !cond from its arguments");
 1777   default: TokError("Unknown token when parsing a value"); break;
 1822       TokError("expected non-empty value list");
 1840       TokError("expected '>' at end of value list");
 1889       TokError("expected '}' at end of bit list value");
 1940         TokError(Twine("Type mismatch for list, expected list type, got ") +
 1953       TokError("expected ']' at end of list value");
 1970         TokError("expected '>' at end of list element type");
 1984             TokError("Incompatible types in list elements");
 1997           TokError("Incompatible types in list elements");
 2006         TokError("No type for list");
 2014           TokError(Twine("Element type mismatch for list: element type '") +
 2028       TokError("expected identifier in dag init");
 2039         TokError("expected variable name in dag operator");
 2053       TokError("expected ')' in dag init");
 2133         TokError("expected '}' at end of bit range list");
 2154         TokError("expected ']' at end of list slice");
 2162         TokError("expected field identifier after '.'");
 2167         TokError("Cannot access field '" + Lex.getCurStrVal() + "' of value '" +
 2288           TokError("expected variable name in dag literal");
 2316       TokError("template argument provided to non-template class");
 2345         TokError("too many template arguments");
 2382     TokError("Expected identifier in declaration");
 2388     TokError("'" + Str + "' is a reserved variable name");
 2436     TokError("Expected identifier in foreach declaration");
 2445     TokError("Expected '=' in foreach declaration");
 2458       TokError("expected '}' at end of bit range list");
 2549     return TokError("expected '>' at end of template argument list");
 2564       return TokError("expected ';' after declaration");
 2571     return TokError("expected field identifier after let");
 2583     return TokError("expected '=' in let expression");
 2588     return TokError("Value '" + FieldName->getValue() + "' unknown!");
 2596     return TokError("expected ';' after let expression");
 2617     return TokError("Expected ';' or '{' to start body");
 2734     return TokError("expected identifier");
 2737     return TokError("def or global variable of this name already exists");
 2740     return TokError("expected '='");
 2742     return TokError("expected '{'");
 2753     TokError("expected '}' at end of defset");
 2779     return TokError("expected declaration in for");
 2782     return TokError("Unknown tok");
 2802       TokError("expected '}' at end of foreach command");
 2824     return TokError("expected class name after 'class' keyword");
 2832       return TokError("Class '" + CurRec->getNameInitAsString() +
 2861       TokError("expected identifier in let definition");
 2879       TokError("expected '=' in let expression");
 2917     return TokError("expected 'in' at end of top-level 'let'");
 2935       TokError("expected '}' at end of top level let command");
 2961     return TokError("expected identifier after multiclass for name");
 2969     return TokError("multiclass '" + Name + "' already defined");
 3006       return TokError("expected '{' in multiclass definition");
 3008       return TokError("expected ';' in multiclass definition");
 3012       return TokError("multiclass must contain at least one def");
 3017         return TokError("expected 'let', 'def', 'defm' or 'foreach' in "
 3056     return TokError("expected ':' after defm identifier");
 3113       return TokError("expected identifier");
 3157     return TokError("expected ';' at end of defm");
 3173     return TokError("Expected class, def, defm, defset, multiclass, let or "
 3181       return TokError("defset is not allowed inside multiclass");
 3185       return TokError("class is not allowed inside multiclass");
 3187       return TokError("class is not allowed inside foreach loop");
 3191       return TokError("multiclass is not allowed inside foreach loop");
 3214   return TokError("Unexpected input at top level");