Lines Matching refs: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, in generateImmOutOfRangeError() argument
284 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
291 uint64_t &ErrorInfo, in MatchAndEmitInstruction() argument
296 auto Result = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures, in MatchAndEmitInstruction()
326 if (ErrorInfo != ~0U) { in MatchAndEmitInstruction()
327 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
330 ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
343 if (ErrorInfo != ~0U && ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
351 return generateImmOutOfRangeError(Operands, ErrorInfo, 1, (1 << 12)); in MatchAndEmitInstruction()
353 return generateImmOutOfRangeError(Operands, ErrorInfo, 1, (1 << 16)); in MatchAndEmitInstruction()
355 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 2) - 1); in MatchAndEmitInstruction()
357 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 5) - 1); in MatchAndEmitInstruction()
359 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 12) - 1); in MatchAndEmitInstruction()
362 Operands, ErrorInfo, 0, (1 << 12) - 2, in MatchAndEmitInstruction()
366 Operands, ErrorInfo, 0, (1 << 12) - 4, in MatchAndEmitInstruction()
369 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 16) - 1); in MatchAndEmitInstruction()
371 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
375 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()