Lines Matching refs:ErrorLoc
284 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError() local
285 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError()
325 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
328 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
330 ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
331 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
332 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
334 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
342 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
344 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
371 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
372 return Error(ErrorLoc, "operand must be a symbol name"); in MatchAndEmitInstruction()
375 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
376 return Error(ErrorLoc, "operand must be a constpool symbol name"); in MatchAndEmitInstruction()