Lines Matching refs:ErrorLoc
7525 SMLoc ErrorLoc = IDLoc;
7530 ErrorLoc = ((ARMOperand*)Operands[ErrorInfo])->getStartLoc();
7531 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
7534 return Error(ErrorLoc, "invalid operand for instruction");
7548 SMLoc ErrorLoc = ((ARMOperand*)Operands[ErrorInfo])->getStartLoc();
7549 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
7550 return Error(ErrorLoc, "immediate operand must be in the range [0,4]");
7553 SMLoc ErrorLoc = ((ARMOperand*)Operands[ErrorInfo])->getStartLoc();
7554 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
7555 return Error(ErrorLoc, "immediate operand must be in the range [0,15]");