Lines Matching refs:ErrorLoc
1487 SMLoc ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError() local
1488 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError()
1526 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
1529 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1531 ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1532 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
1533 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1535 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
1543 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
1545 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1714 SMLoc ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1715 return Error(ErrorLoc, "operand must be a 32 bit immediate"); in MatchAndEmitInstruction()
1718 SMLoc ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1719 return Error(ErrorLoc, "operand must be a 64 bit immediate"); in MatchAndEmitInstruction()
1722 SMLoc ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1723 return Error(ErrorLoc, "operand must be a bare symbol name"); in MatchAndEmitInstruction()
1726 SMLoc ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1727 return Error(ErrorLoc, "operand must be a symbol with %le_add_r modifier"); in MatchAndEmitInstruction()