Lines Matching defs:Error
637 bool Error(SMLoc L, const Twine &Msg,
641 return Parser.Error(L, Msg, Ranges);
648 return Error(L, Msg, Ranges, MatchingInlineAsm);
652 Error(Loc, Msg);
827 // Again, return true and let another error happen.
847 return Error(StartLoc, "invalid register name",
867 return Error(StartLoc, "register %"
885 return Error(IntTok.getLoc(), "expected stack index");
895 default: return Error(IntTok.getLoc(), "invalid stack index");
899 return Error(Parser.getTok().getLoc(), "expected ')'");
932 return Error(StartLoc, "invalid register name",
1101 return Error(Tok.getLoc(), "unknown token in expression");
1121 return Error(Tok.getLoc(), "Unexpected identifier!");
1137 return Error(Tok.getLoc(), "Unexpected identifier!");
1158 return Error(Loc, "invalid reference to undefined symbol");
1164 return Error(Loc, ErrMsg);
1168 return Error(Loc, ErrMsg);
1189 return Error(Tok.getLoc(), "unknown token in expression");
1258 Error(StartInBrac, ErrMsg);
1392 Error(Start, "cannot use more than one symbol in memory operand");
1396 Error(Start, "cannot use base register with variable reference");
1400 Error(Start, "cannot use index register with variable reference");
1423 return Error(Tok.getLoc(), "Non-constant offsets are not supported!");
1440 return Error(Tok.getLoc(), "Unable to lookup field reference!");
1443 return Error(Tok.getLoc(), "Unexpected token type!");
1622 Error(Start, "%eiz and %riz can only be used as index registers",
1778 Error(StartLoc, "eiz and riz can only be used as index registers",
1802 Error(Parser.getTok().getLoc(),
1813 Error(Loc, "expected scale expression");
1820 Error(Loc, "scale factor in 16-bit address must be 1");
1824 Error(Loc, "scale factor in address must be 1, 2, 4 or 8");
1847 Error(Parser.getTok().getLoc(), "unexpected token in memory operand");
1860 Error(BaseLoc, "invalid 16-bit base register");
1865 Error(IndexLoc, "16-bit memory operand may not include only index register");
1871 Error(BaseLoc, ErrMsg);
2094 return Error(Op.getStartLoc(),
2120 return Error(Op.getStartLoc(),
2347 // Special case the error message for the very common case where only
2358 return Error(IDLoc, Msg, EmptyRanges, MatchingInlineAsm);
2434 // Otherwise, the match failed, try to produce a decent error message.
2457 Error(IDLoc, OS.str(), EmptyRanges, MatchingInlineAsm);
2470 return Error(IDLoc, "invalid instruction mnemonic '" + Base + "'",
2477 return Error(IDLoc, "too few operands for instruction",
2483 return Error(Operand.getStartLoc(), "invalid operand for instruction",
2488 return Error(IDLoc, "invalid operand for instruction", EmptyRanges,
2505 return Error(IDLoc, Msg, EmptyRanges, MatchingInlineAsm);
2512 Error(IDLoc, "invalid operand for instruction", EmptyRanges,
2518 Error(IDLoc, "unknown use of instruction mnemonic without a size suffix",
2561 Error(L, "unexpected token in directive");
2594 Error(L, "unknown directive " + IDVal);