Lines Matching defs:Error
72 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); }
1956 Error(S, "Expected cN operand where 0 <= N <= 15");
1962 Error(S, "Expected cN operand where 0 <= N <= 15");
1969 Error(S, "Expected cN operand where 0 <= N <= 15");
2052 Error(S, "gotpage label reference not allowed an addend");
2061 Error(S, "page or gotpage label reference expected");
2165 // Operand should start from # or should be integer, emit error otherwise.
2193 Error(Parser.getTok().getLoc(), "only 'lsl #+N' valid after immediate");
2205 Error(Parser.getTok().getLoc(), "only 'lsl #+N' valid after immediate");
2212 Error(Parser.getTok().getLoc(), "positive shift amount required");
2323 Error(Parser.getTok().getLoc(),
2607 Error(ExprLoc, "immediate value expected for barrier operand");
2611 Error(ExprLoc, "barrier operand out of range");
2693 Error(E, "']' expected");
2758 Error(Parser.getTok().getLoc(),
2803 Error(Parser.getTok().getLoc(),
2811 Error(Parser.getTok().getLoc(), "expect ':' after relocation specifier");
2848 return Error(Loc, "mismatched register size suffix");
2853 return Error(Loc, "invalid number of vectors");
2869 return Error(Loc, "mismatched register size suffix");
2874 return Error(Loc, "registers must be sequential");
2882 return Error(getLoc(), "'}' expected");
2886 return Error(S, "invalid number of vectors");
2912 Error(E, "']' expected");
2951 Error(getLoc(), "index must be absent or #0");
2958 Error(getLoc(), "index must be absent or #0");
2977 // there was a match, but an error occurred, in which case, just return that
2989 return Error(S, "invalid operand");
3084 return Error(Loc, "unexpected token in operand");
3151 // We always return 'error' for this, as we're done with this
3182 return Error(SuffixLoc, "invalid condition code");
3267 return Error(Loc, "unexpected token in argument list");
3293 return Error(Loc[0], "unpredictable LDP instruction, writeback base "
3296 return Error(Loc[1], "unpredictable LDP instruction, writeback base "
3309 return Error(Loc[1], "unpredictable LDP instruction, Rt2==Rt");
3322 return Error(Loc[1], "unpredictable LDP instruction, Rt2==Rt");
3339 return Error(Loc[0], "unpredictable STP instruction, writeback base "
3342 return Error(Loc[1], "unpredictable STP instruction, writeback base "
3371 return Error(Loc[0], "unpredictable LDR instruction, writeback base "
3390 return Error(Loc[0], "unpredictable STR instruction, writeback base "
3416 return Error(Loc[2], "invalid immediate expression");
3439 return Error(Loc[2], "invalid immediate expression");
3451 return Error(Loc,
3454 return Error(Loc, "invalid operand for instruction");
3456 return Error(Loc, "invalid type suffix for instruction");
3458 return Error(Loc, "expected AArch64 condition code");
3460 return Error(Loc,
3463 return Error(Loc,
3466 return Error(Loc,
3469 return Error(Loc, "expected compatible register or logical immediate");
3471 return Error(Loc, "expected 'lsl' with optional integer 0 or 16");
3473 return Error(Loc, "expected 'lsl' with optional integer 0, 16, 32 or 48");
3475 return Error(Loc,
3478 return Error(Loc,
3481 return Error(Loc,
3484 return Error(Loc, "index must be an integer in range [-256, 255].");
3486 return Error(Loc, "index must be a multiple of 4 in range [-256, 252].");
3488 return Error(Loc, "index must be a multiple of 8 in range [-512, 504].");
3490 return Error(Loc, "index must be a multiple of 16 in range [-1024, 1008].");
3492 return Error(Loc,
3495 return Error(Loc,
3498 return Error(Loc,
3501 return Error(Loc,
3504 return Error(Loc,
3507 return Error(Loc,
3510 return Error(Loc,
3513 return Error(Loc,
3516 return Error(Loc,
3519 return Error(Loc,
3522 return Error(Loc, "index must be an integer in range [0, 4095].");
3524 return Error(Loc, "index must be a multiple of 2 in range [0, 8190].");
3526 return Error(Loc, "index must be a multiple of 4 in range [0, 16380].");
3528 return Error(Loc, "index must be a multiple of 8 in range [0, 32760].");
3530 return Error(Loc, "index must be a multiple of 16 in range [0, 65520].");
3532 return Error(Loc, "immediate must be an integer in range [0, 7].");
3534 return Error(Loc, "immediate must be an integer in range [0, 15].");
3536 return Error(Loc, "immediate must be an integer in range [0, 31].");
3538 return Error(Loc, "immediate must be an integer in range [0, 63].");
3540 return Error(Loc, "immediate must be an integer in range [0, 127].");
3542 return Error(Loc, "immediate must be an integer in range [0, 65535].");
3544 return Error(Loc, "immediate must be an integer in range [1, 8].");
3546 return Error(Loc, "immediate must be an integer in range [1, 16].");
3548 return Error(Loc, "immediate must be an integer in range [1, 32].");
3550 return Error(Loc, "immediate must be an integer in range [1, 64].");
3552 return Error(Loc, "expected lane specifier '[1]'");
3554 return Error(Loc, "vector lane must be an integer in range [0, 15].");
3556 return Error(Loc, "vector lane must be an integer in range [0, 7].");
3558 return Error(Loc, "vector lane must be an integer in range [0, 3].");
3560 return Error(Loc, "vector lane must be an integer in range [0, 1].");
3562 return Error(Loc, "expected label or encodable integer pc offset");
3564 return Error(Loc, "expected readable system register");
3566 return Error(Loc, "expected writable system register or pstate");
3568 return Error(Loc, "unrecognized instruction mnemonic");
3570 llvm_unreachable("unexpected error code!");
3641 return Error(Op3.getStartLoc(),
3644 return Error(Op4.getStartLoc(),
3657 return Error(Op4.getStartLoc(),
3706 return Error(Op3.getStartLoc(),
3709 return Error(Op4.getStartLoc(),
3715 return Error(Op4.getStartLoc(),
3826 // Special case the error message for the very common case where only
3837 return Error(IDLoc, Msg);
3845 return Error(IDLoc, "too few operands for instruction");
3907 return Error(IDLoc, "too few operands for instruction");
3957 return Error(L, "unexpected token in directive");
3971 return Error(L, "expected symbol after directive");
4057 Error(SRegLoc, "vector register without type specifier expected");
4065 Error(SRegLoc, "register name or alias expected");
4071 Error(Parser.getTok().getLoc(), "unexpected input in .req directive");
4089 Error(Parser.getTok().getLoc(), "unexpected input in .unreq directive.");