Lines Matching refs:VTSize
3036 unsigned VTSize = VT.getScalarSizeInBits();
3057 APInt MinVal = APInt::getSignedMinValue(VTSize);
3058 APInt MaxVal = APInt::getSignedMaxValue(VTSize);
3068 APInt MaxVal = APInt::getMaxValue(VTSize);
3077 // For SMULFIX[SAT] we only expect to find Scale<VTSize, but this assert will
3079 assert(Scale <= VTSize && "Scale can't be larger than the value type size.");
3096 assert((VTSize == NVTSize * 2) && "Expected the new value type to be half "
3110 // |------VTSize-----|
3136 if (Scale == VTSize)
3141 // Unsigned overflow happened if the upper (VTSize - Scale) bits (of Result)
3144 // Signed overflow happened if the upper (VTSize - Scale + 1) bits (of Result)
3147 // We cannot overflow past HH when multiplying 2 ints of size VTSize, so the
3169 } else if (Scale < VTSize) {
3176 llvm_unreachable("Scale must be less or equal to VTSize for UMULFIXSAT"
3177 "(and saturation can't happen with Scale==VTSize).");
3185 // The number of overflow bits we can check are VTSize - Scale + 1 (we
3189 unsigned OverflowBits = VTSize - Scale + 1;
3190 assert(OverflowBits <= VTSize && OverflowBits > NVTSize &&
3195 APInt::getLowBitsSet(NVTSize, VTSize - OverflowBits), dl, NVT);
3221 } else if (Scale < VTSize) {
3224 unsigned OverflowBits = VTSize - Scale + 1;