reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
387 bool error(const Twine &Msg);
572 return error(Twine("expected ") + toString(TokenKind)); 660 return error("expected a basic block definition before instructions"); 672 return error("basic block definition should be located at the start of " 683 return error("extraneous closing brace ('}')"); 690 return error("expected '}'"); // FIXME: Report a note that shows '{'. 704 return error("expected a named register"); 714 return error("expected a lane mask"); 719 return error("invalid lane mask value"); 737 return error("expected a machine basic block reference"); 746 return error("expected an integer literal after '('"); 794 return error("expected line break at the end of a list"); 823 return error("nested instruction bundles are not allowed"); 923 return error("expected ',' before the next machine operand"); 947 return error("expected a metadata node after 'debug-location'"); 949 return error("referenced metadata is not a DILocation"); 965 return error("expected ',' before the next machine memory operand"); 996 return error("expected a machine basic block reference"); 1001 return error( 1009 return error("expected a named register"); 1014 return error("expected end of string after the register reference"); 1021 return error("expected a virtual register"); 1026 return error("expected end of string after the register reference"); 1034 return error("expected either a named or virtual register"); 1042 return error("expected end of string after the register reference"); 1049 return error("expected a stack object"); 1053 return error("expected end of string after the stack object reference"); 1069 return error("expected a metadata node"); 1071 return error("expected end of string after the metadata node"); 1173 return error("expected a machine instruction"); 1176 return error(Twine("unknown machine instruction name '") + InstrName + "'"); 1185 return error(Twine("unknown register name '") + Name + "'"); 1230 return error("expected '_', register class, or register bank name"); 1325 return error("duplicate '" + Token.stringValue() + "' register flag"); 1334 return error("expected a subregister index after '.'"); 1338 return error(Twine("use of unknown subregister index '") + Name + "'"); 1347 return error("expected an integer literal after 'tied-def'"); 1402 return error("expected a register after register flags"); 1413 return error("subregister index expects a virtual register"); 1417 return error("register class specification expects a virtual register"); 1432 return error("expected tied-def or low-level type after '('"); 1438 return error("inconsistent type for generic virtual register"); 1447 return error("unexpected type on physical register"); 1457 return error("inconsistent type for generic virtual register"); 1467 return error("generic virtual registers must have a type"); 1482 return error("integer literal is too large to be an immediate operand"); 1523 return error("expected integers after 's'/'p' type character"); 1529 return error("invalid size for scalar type"); 1538 return error("invalid address space number"); 1555 return error("invalid number of vector elements"); 1567 return error("expected integers after 's'/'p' type character"); 1572 return error("invalid size for scalar type"); 1578 return error("invalid address space number"); 1598 return error( 1602 return error("expected integers after 'i'/'s'/'p' type character"); 1609 return error("expected an integer literal"); 1623 return error("expected a floating point literal"); 1636 return error("expected 32-bit integer (too large)"); 1645 return error("expected 32-bit integer (too large)"); 1660 return error(Twine("use of undefined machine basic block #") + 1666 return error(Twine("the name of machine basic block #") + Twine(Number) + 1687 return error(Twine("use of undefined stack object '%stack.") + Twine(ID) + 1694 return error(Twine("the name of the stack object '%stack.") + Twine(ID) + 1716 return error(Twine("use of undefined fixed stack object '%fixed-stack.") + 1737 return error(Twine("use of undefined global value '") + Token.range() + 1746 return error(Twine("use of undefined global value '@") + Twine(GVIdx) + 1775 return error("use of undefined constant '%const." + Twine(ID) + "'"); 1790 return error("use of undefined jump table '%jump-table." + Twine(ID) + "'"); 1821 return error(Twine("unknown subregister index '") + Name + "'"); 1833 return error("expected metadata id after '!'"); 1868 return error(Twine("invalid DWARF op '") + Token.stringValue() + "'"); 1873 return error("expected unsigned integer"); 1877 return error("element too large, limit is " + Twine(UINT64_MAX)); 1914 return error("expected unsigned integer"); 1926 return error("expected unsigned integer"); 1936 return error("expected metadata node"); 1938 return error("expected DIScope node"); 1952 return error("expected metadata node"); 1954 return error("expected DILocation node"); 1962 return error("expected true/false"); 1971 return error("expected true/false"); 1976 return error(Twine("invalid DILocation argument '") + 1985 return error("DILocation requires line number"); 1987 return error("DILocation requires a scope"); 2009 return error("expected a cfi offset"); 2011 return error("expected a 32 bit integer (the cfi offset is too large)"); 2019 return error("expected a cfi register"); 2027 return error("invalid DWARF register"); 2036 return error("expected a hexadecimal literal"); 2041 return error("expected a 8-bit integer (too large)"); 2154 return error(Twine("use of undefined IR block '") + Token.range() + "'"); 2163 return error(Twine("use of undefined IR block '%ir-block.") + 2180 return error("expected a global value"); 2186 return error("expected an IR function reference"); 2192 return error("expected an IR block reference"); 2208 return error("expected syntax intrinsic(@llvm.whatever)"); 2211 return error("expected syntax intrinsic(@llvm.whatever)"); 2217 return error("expected ')' to terminate intrinsic name"); 2227 return error("unknown intrinsic name"); 2239 return error("expected syntax intpred(whatever) or floatpred(whatever"); 2242 return error("whatever"); 2265 return error("invalid floating-point predicate"); 2280 return error("invalid integer predicate"); 2286 return error("predicate should be terminated by ')'."); 2296 return error("expected syntax shufflemask(<integer or undef>, ...)"); 2316 return error("expected integer constant"); 2322 return error("shufflemask should be terminated by ')'."); 2340 return error("expected the name of the target index"); 2343 return error("use of undefined target index '" + Token.stringValue() + "'"); 2362 return error("expected a named register"); 2388 return error("expected a named register"); 2496 return error("expected a machine operand"); 2511 return error("expected the name of the target flag"); 2514 return error("use of undefined target flag '" + Token.stringValue() + 2521 return error("expected the name of the target flag"); 2524 return error("use of undefined target flag '" + Token.stringValue() + 2551 return error("expected an integer literal after '" + Sign + "'"); 2553 return error("expected 64-bit integer (too large)"); 2565 return error("expected an integer literal after 'align'"); 2571 return error("expected a power-of-2 literal after 'align'"); 2580 return error("expected an integer literal after 'addrspace'"); 2627 return error(Twine("use of undefined IR value '") + Token.range() + "'"); 2634 return error("expected 64-bit integer (too large)"); 2643 return error("expected 64-bit integer (too large)"); 2685 return error("use of undefined target MMO flag '" + Token.stringValue() + 2696 return error("duplicate '" + Token.stringValue() + "' memory operand flag"); 2747 return error( 2776 return error("expected an IR value reference"); 2781 return error("expected a pointer IR value"); 2796 return error("expected '(' in syncscope"); 2804 return error("expected ')' in syncscope"); 2829 return error("expected an atomic scope, ordering or a size specification"); 2842 return error("expected 'load' or 'store' memory operation"); 2870 return error("expected the size integer literal or 'unknown-size' after " 2889 return error(Twine("expected '") + Word + "'"); 2930 return error("expected 'align' or '!tbaa' or '!alias.scope' or " 2947 return error("expected a symbol after 'pre-instr-symbol'"); 2954 return error("expected ',' before the next machine operand"); 3039 return error("expected string constant");