Lines Matching refs:ErrorLoc

959   SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc();  in generateImmOutOfRangeError()  local
960 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError()
1004 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
1007 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1009 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1010 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
1011 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1013 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
1021 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
1023 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1031 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1032 return Error(ErrorLoc, "operand must be a constant 64-bit integer"); in MatchAndEmitInstruction()
1038 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1039 return Error(ErrorLoc, "immediate must be zero"); in MatchAndEmitInstruction()
1131 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1133 ErrorLoc, in MatchAndEmitInstruction()
1137 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1139 ErrorLoc, in MatchAndEmitInstruction()
1143 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1144 return Error(ErrorLoc, "operand must be a bare symbol name"); in MatchAndEmitInstruction()
1147 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1148 return Error(ErrorLoc, "operand must be a valid jump target"); in MatchAndEmitInstruction()
1151 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1152 return Error(ErrorLoc, "operand must be a bare symbol name"); in MatchAndEmitInstruction()
1155 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1156 return Error(ErrorLoc, "operand must be a symbol with %tprel_add modifier"); in MatchAndEmitInstruction()
1159 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1161 ErrorLoc, in MatchAndEmitInstruction()
1166 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
1167 return Error(ErrorLoc, "operand must be v0.t"); in MatchAndEmitInstruction()
2464 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[3]).getStartLoc(); in checkPseudoAddTPRel() local
2465 return Error(ErrorLoc, "the second input operand must be tp/x4 when using " in checkPseudoAddTPRel()