Lines Matching refs:ErrorLoc
739 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError() local
740 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError()
762 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
765 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
767 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
768 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
769 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
771 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
779 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
781 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
789 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
790 return Error(ErrorLoc, "operand must be a constant 64-bit integer"); in MatchAndEmitInstruction()
876 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
878 ErrorLoc, in MatchAndEmitInstruction()
882 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
884 ErrorLoc, in MatchAndEmitInstruction()
888 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
889 return Error(ErrorLoc, "operand must be a bare symbol name"); in MatchAndEmitInstruction()