Lines Matching defs:ErrorInfo
35 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
42 uint64_t &ErrorInfo,
282 OperandVector &Operands, uint64_t ErrorInfo, int64_t Lower, int64_t Upper,
284 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc();
291 uint64_t &ErrorInfo,
296 auto Result = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures,
326 if (ErrorInfo != ~0U) {
327 if (ErrorInfo >= Operands.size())
330 ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc();
343 if (ErrorInfo != ~0U && ErrorInfo >= Operands.size())
351 return generateImmOutOfRangeError(Operands, ErrorInfo, 1, (1 << 12));
353 return generateImmOutOfRangeError(Operands, ErrorInfo, 1, (1 << 16));
355 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 2) - 1);
357 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 5) - 1);
359 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 12) - 1);
362 Operands, ErrorInfo, 0, (1 << 12) - 2,
366 Operands, ErrorInfo, 0, (1 << 12) - 4,
369 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 16) - 1);
371 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc();
375 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc();