• Home
  • Raw
  • Download

Lines Matching refs:TokError

398       TokError("Record name is not typed!");  in ParseObjectName()
414 TokError("expected name for ClassID"); in ParseClassID()
420 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseClassID()
433 TokError("expected name for MultiClassID"); in ParseMultiClassID()
439 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'"); in ParseMultiClassID()
472 TokError("subclass reference requires a non-empty list of template values"); in ParseSubClassReference()
484 TokError("expected '>' in template value list"); in ParseSubClassReference()
517 TokError("subclass reference requires a non-empty list of template values"); in ParseSubMultiClassReference()
529 TokError("expected '>' in template value list"); in ParseSubMultiClassReference()
545 TokError("expected integer or bitrange"); in ParseRangePiece()
552 return TokError("invalid range, cannot be negative"); in ParseRangePiece()
560 TokError("expected integer value as end of range"); in ParseRangePiece()
570 return TokError("invalid range, cannot be negative"); in ParseRangePiece()
618 TokError("expected '>' at end of range list"); in ParseOptionalRangeList()
640 TokError("expected '}' at end of bit list"); in ParseOptionalBitList()
661 default: TokError("Unknown token when expecting a type"); return nullptr; in ParseType()
672 TokError("expected '<' after bits type"); in ParseType()
676 TokError("expected integer in bits<n> type"); in ParseType()
681 TokError("expected '>' at end of bits<n> type"); in ParseType()
689 TokError("expected '<' after list type"); in ParseType()
697 TokError("expected '>' at end of list<ty> type"); in ParseType()
767 TokError("unknown operation"); in ParseOperation()
785 TokError("did not get type for unary operator"); in ParseOperation()
805 TokError("expected '(' after unary operator"); in ParseOperation()
820 TokError("expected list or string type argument in unary operator"); in ParseOperation()
827 TokError("expected list or string type argument in unary operator"); in ParseOperation()
834 TokError("expected list type argument in unary operator"); in ParseOperation()
839 TokError("empty list argument in unary operator"); in ParseOperation()
846 TokError("untyped list element in unary operator"); in ParseOperation()
855 TokError("expected list type argument in unary operator"); in ParseOperation()
864 TokError("expected ')' in unary operator"); in ParseOperation()
907 TokError("expected '(' after binary operator"); in ParseOperation()
925 TokError("expected ')' in operator"); in ParseOperation()
983 TokError("expected '(' after ternary operator"); in ParseOperation()
992 TokError("expected ',' in ternary operator"); in ParseOperation()
1002 TokError("expected ',' in ternary operator"); in ParseOperation()
1012 TokError("expected ')' in binary operator"); in ParseOperation()
1044 TokError("could not get type for !if"); in ParseOperation()
1053 TokError("inconsistent types for !if"); in ParseOperation()
1061 TokError("could not get type for !foreach"); in ParseOperation()
1070 TokError("could not get type for !subst"); in ParseOperation()
1092 TokError("expected type name for operator"); in ParseOperatorType()
1100 TokError("expected type name for operator"); in ParseOperatorType()
1105 TokError("expected type name for operator"); in ParseOperatorType()
1137 default: TokError("Unknown token when parsing a value"); break; in ParseSimpleValue()
1182 TokError("expected non-empty value list"); in ParseSimpleValue()
1199 TokError("expected '>' at end of value list"); in ParseSimpleValue()
1261 TokError("expected '}' at end of bit list value"); in ParseSimpleValue()
1312 TokError(Twine("Type mismatch for list, expected list type, got ") + in ParseSimpleValue()
1325 TokError("expected ']' at end of list value"); in ParseSimpleValue()
1342 TokError("expected '>' at end of list element type"); in ParseSimpleValue()
1353 TokError("Untyped list element"); in ParseSimpleValue()
1359 TokError("Incompatible types in list elements"); in ParseSimpleValue()
1371 TokError("Incompatible types in list elements"); in ParseSimpleValue()
1380 TokError("No type for list"); in ParseSimpleValue()
1388 TokError("Element type mismatch for list"); in ParseSimpleValue()
1400 TokError("expected identifier in dag init"); in ParseSimpleValue()
1411 TokError("expected variable name in dag operator"); in ParseSimpleValue()
1425 TokError("expected ')' in dag init"); in ParseSimpleValue()
1491 TokError("expected '}' at end of bit range list"); in ParseValue()
1511 TokError("expected ']' at end of list slice"); in ParseValue()
1519 TokError("expected field identifier after '.'"); in ParseValue()
1523 TokError("Cannot access field '" + Lex.getCurStrVal() + "' of value '" + in ParseValue()
1610 TokError("expected variable name in dag literal"); in ParseDagArgList()
1641 TokError("template argument provided to non-template class"); in ParseValueList()
1662 TokError("too many template arguments"); in ParseValueList()
1698 TokError("Expected identifier in declaration"); in ParseDeclaration()
1746 TokError("Expected identifier in foreach declaration"); in ParseForeachDeclaration()
1755 TokError("Expected '=' in foreach declaration"); in ParseForeachDeclaration()
1764 default: TokError("Unknown token when expecting a range list"); return nullptr; in ParseForeachDeclaration()
1769 TokError("Expected a Value list"); in ParseForeachDeclaration()
1775 TokError("Value list is not of list type"); in ParseForeachDeclaration()
1792 TokError("expected '}' at end of bit range list"); in ParseForeachDeclaration()
1846 return TokError("expected '>' at end of template argument list"); in ParseTemplateArgList()
1862 return TokError("expected ';' after declaration"); in ParseBodyItem()
1869 return TokError("expected field identifier after let"); in ParseBodyItem()
1881 return TokError("expected '=' in let expression"); in ParseBodyItem()
1886 return TokError("Value '" + FieldName + "' unknown!"); in ParseBodyItem()
1894 return TokError("expected ';' after let expression"); in ParseBodyItem()
1915 return TokError("Expected ';' or '{' to start body"); in ParseBody()
2064 return TokError("expected declaration in for"); in ParseForeach()
2067 return TokError("Unknown tok"); in ParseForeach()
2087 TokError("expected '}' at end of foreach command"); in ParseForeach()
2108 return TokError("expected class name after 'class' keyword"); in ParseClass()
2116 return TokError("Class '" + CurRec->getNameInitAsString() + in ParseClass()
2147 TokError("expected identifier in let definition"); in ParseLetList()
2161 TokError("expected '=' in let expression"); in ParseLetList()
2194 return TokError("expected 'in' at end of top-level 'let'"); in ParseTopLevelLet()
2212 TokError("expected '}' at end of top level let command"); in ParseTopLevelLet()
2238 return TokError("expected identifier after multiclass for name"); in ParseMultiClass()
2246 return TokError("multiclass '" + Name + "' already defined"); in ParseMultiClass()
2283 return TokError("expected '{' in multiclass definition"); in ParseMultiClass()
2285 return TokError("expected ';' in multiclass definition"); in ParseMultiClass()
2289 return TokError("multiclass must contain at least one def"); in ParseMultiClass()
2294 return TokError("expected 'let', 'def' or 'defm' in multiclass body"); in ParseMultiClass()
2508 return TokError("expected ':' after defm identifier"); in ParseDefm()
2574 return TokError("expected identifier"); in ParseDefm()
2621 return TokError("expected ';' at end of defm"); in ParseDefm()
2637 return TokError("Expected class, def, defm, multiclass or let definition"); in ParseObject()
2665 return TokError("Unexpected input at top level"); in ParseFile()