Lines Matching refs:ErrorLoc

655   SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc();  in generateImmOutOfRangeError()  local
656 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError()
694 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
697 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
699 ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
700 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
701 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
703 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
711 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
713 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
793 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
794 return Error(ErrorLoc, "operand must be a symbol name"); in MatchAndEmitInstruction()
797 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
798 return Error(ErrorLoc, "operand must be a constpool symbol name"); in MatchAndEmitInstruction()
801 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
802 return Error(ErrorLoc, "psrset operand is not valid"); in MatchAndEmitInstruction()
805 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
806 return Error(ErrorLoc, "Register sequence is not valid"); in MatchAndEmitInstruction()
809 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
810 return Error(ErrorLoc, "register is out of range"); in MatchAndEmitInstruction()
813 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
814 return Error(ErrorLoc, "src and dst operand must be same"); in MatchAndEmitInstruction()
817 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
818 return Error(ErrorLoc, "invalid register list"); in MatchAndEmitInstruction()