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