Lines Matching refs:ErrorInfo
78 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
83 uint64_t &ErrorInfo,
957 OperandVector &Operands, uint64_t ErrorInfo, int64_t Lower, int64_t Upper, in generateImmOutOfRangeError() argument
959 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
970 uint64_t &ErrorInfo, in MatchAndEmitInstruction() argument
975 auto Result = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures, in MatchAndEmitInstruction()
1005 if (ErrorInfo != ~0U) { in MatchAndEmitInstruction()
1006 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
1009 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1022 if (ErrorInfo != ~0U && ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
1031 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1034 return generateImmOutOfRangeError(Operands, ErrorInfo, in MatchAndEmitInstruction()
1038 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1043 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 6) - 1); in MatchAndEmitInstruction()
1044 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 5) - 1); in MatchAndEmitInstruction()
1047 return generateImmOutOfRangeError(Operands, ErrorInfo, 1, (1 << 6) - 1); in MatchAndEmitInstruction()
1048 return generateImmOutOfRangeError(Operands, ErrorInfo, 1, (1 << 5) - 1); in MatchAndEmitInstruction()
1051 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 5) - 1); in MatchAndEmitInstruction()
1052 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 4) - 1); in MatchAndEmitInstruction()
1054 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 5) - 1); in MatchAndEmitInstruction()
1056 return generateImmOutOfRangeError(Operands, ErrorInfo, -(1 << 4), in MatchAndEmitInstruction()
1059 return generateImmOutOfRangeError(Operands, ErrorInfo, -(1 << 5), in MatchAndEmitInstruction()
1063 Operands, ErrorInfo, -(1 << 5), (1 << 5) - 1, in MatchAndEmitInstruction()
1067 Operands, ErrorInfo, 1, (1 << 5) - 1, in MatchAndEmitInstruction()
1071 Operands, ErrorInfo, 0, (1 << 7) - 4, in MatchAndEmitInstruction()
1075 Operands, ErrorInfo, 0, (1 << 8) - 4, in MatchAndEmitInstruction()
1079 Operands, ErrorInfo, 0, (1 << 8) - 8, in MatchAndEmitInstruction()
1083 Operands, ErrorInfo, -(1 << 8), (1 << 8) - 2, in MatchAndEmitInstruction()
1087 Operands, ErrorInfo, 0, (1 << 9) - 8, in MatchAndEmitInstruction()
1091 Operands, ErrorInfo, 4, (1 << 10) - 4, in MatchAndEmitInstruction()
1095 Operands, ErrorInfo, -(1 << 9), (1 << 9) - 16, in MatchAndEmitInstruction()
1099 Operands, ErrorInfo, -(1 << 11), (1 << 11) - 1, in MatchAndEmitInstruction()
1104 Operands, ErrorInfo, -(1 << 11), (1 << 11) - 2, in MatchAndEmitInstruction()
1108 Operands, ErrorInfo, -(1 << 12), (1 << 12) - 2, in MatchAndEmitInstruction()
1111 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 20) - 1, in MatchAndEmitInstruction()
1117 Operands, ErrorInfo, 0, (1 << 20) - 1, in MatchAndEmitInstruction()
1123 Operands, ErrorInfo, -(1 << 20), (1 << 20) - 2, in MatchAndEmitInstruction()
1126 return generateImmOutOfRangeError(Operands, ErrorInfo, 0, (1 << 12) - 1, in MatchAndEmitInstruction()
1131 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1137 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1143 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1147 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1151 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1155 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1159 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1166 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1170 return generateImmOutOfRangeError(Operands, ErrorInfo, -(1 << 4) + 1, in MatchAndEmitInstruction()