Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:Error

635   bool Error(SMLoc L, const Twine &Msg,
640 return Parser.Error(L, Msg, Ranges);
648 return Error(L, Msg, Ranges, MatchingInlineAsm);
652 Error(Loc, Msg);
854 // Again, return true and let another error happen.
875 return Error(StartLoc, "invalid register name",
895 return Error(StartLoc, "register %"
913 return Error(IntTok.getLoc(), "expected stack index");
923 default: return Error(IntTok.getLoc(), "invalid stack index");
927 return Error(Parser.getTok().getLoc(), "expected ')'");
960 return Error(StartLoc, "invalid register name",
1142 return Error(Tok.getLoc(), "unknown token in expression");
1162 return Error(Tok.getLoc(), "Unexpected identifier!");
1178 return Error(Tok.getLoc(), "Unexpected identifier!");
1199 return Error(Loc, "invalid reference to undefined symbol");
1205 return Error(Loc, ErrMsg);
1209 return Error(Loc, ErrMsg);
1230 return Error(Tok.getLoc(), "unknown token in expression");
1300 Error(StartInBrac, ErrMsg);
1481 Error(Start, "cannot use more than one symbol in memory operand");
1485 Error(Start, "cannot use base register with variable reference");
1489 Error(Start, "cannot use index register with variable reference");
1513 return Error(Tok.getLoc(), "Non-constant offsets are not supported!");
1530 return Error(Tok.getLoc(), "Unable to lookup field reference!");
1533 return Error(Tok.getLoc(), "Unexpected token type!");
1722 Error(Start, "%eiz and %riz can only be used as index registers",
1894 Error(StartLoc, "eiz and riz can only be used as index registers",
1918 Error(Parser.getTok().getLoc(),
1929 Error(Loc, "expected scale expression");
1936 Error(Loc, "scale factor in 16-bit address must be 1");
1940 Error(Loc, "scale factor in address must be 1, 2, 4 or 8");
1963 Error(Parser.getTok().getLoc(), "unexpected token in memory operand");
1976 Error(BaseLoc, "invalid 16-bit base register");
1981 Error(IndexLoc, "16-bit memory operand may not include only index register");
1987 Error(BaseLoc, ErrMsg);
2257 return Error(Op.getStartLoc(),
2283 return Error(Op.getStartLoc(),
2370 Error(Op.getStartLoc(), "interrupt vector must be in range [0-255]");
2515 return Error(IDLoc, OS.str(), EmptyRanges, MatchingInlineAsm);
2614 // Otherwise, the match failed, try to produce a decent error message.
2636 Error(IDLoc, OS.str(), EmptyRanges, MatchingInlineAsm);
2648 return Error(IDLoc, "invalid instruction mnemonic '" + Base + "'",
2655 return Error(IDLoc, "too few operands for instruction",
2661 return Error(Operand.getStartLoc(), "invalid operand for instruction",
2666 return Error(IDLoc, "invalid operand for instruction", EmptyRanges,
2683 return Error(IDLoc, "invalid operand for instruction", EmptyRanges,
2688 Error(IDLoc, "unknown use of instruction mnemonic without a size suffix",
2776 return Error(IDLoc, "invalid instruction mnemonic '" + Mnemonic + "'",
2805 return Error(UnsizedMemOp->getStartLoc(),
2823 return Error(IDLoc, "invalid operand for instruction", EmptyRanges,
2828 return Error(IDLoc, "unknown instruction mnemonic", EmptyRanges,
2848 return Error(DirectiveID.getLoc(), "'.att_syntax noprefix' is not "
2860 return Error(DirectiveID.getLoc(), "'.intel_syntax prefix' is not "
2886 Error(L, "unexpected token in directive");
2920 Error(L, "unknown directive " + IDVal);