Lines Matching refs:ErrorLoc
653 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError() local
654 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError()
692 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
695 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
697 ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
698 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
699 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
701 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
709 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
711 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
791 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
792 return Error(ErrorLoc, "operand must be a symbol name"); in MatchAndEmitInstruction()
795 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
796 return Error(ErrorLoc, "operand must be a constpool symbol name"); in MatchAndEmitInstruction()
799 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
800 return Error(ErrorLoc, "psrset operand is not valid"); in MatchAndEmitInstruction()
803 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
804 return Error(ErrorLoc, "Register sequence is not valid"); in MatchAndEmitInstruction()
807 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
808 return Error(ErrorLoc, "register is out of range"); in MatchAndEmitInstruction()
811 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
812 return Error(ErrorLoc, "src and dst operand must be same"); in MatchAndEmitInstruction()
815 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
816 return Error(ErrorLoc, "invalid register list"); in MatchAndEmitInstruction()