Lines Matching refs:getBitWidth

145   reallocate(RHS.getBitWidth());
239 APInt Result(getMemory(getNumWords()), getBitWidth());
351 /// (this->zext(NewWidth) << NewLSB.getBitWidth()) | NewLSB.zext(NewWidth)
354 unsigned NewWidth = getBitWidth() + NewLSB.getBitWidth();
356 Result.insertBits(*this, NewLSB.getBitWidth());
369 unsigned subBitWidth = subBits.getBitWidth();
600 assert(getBitWidth() % SplatSizeInBits == 0 &&
621 assert(NewLen >= V.getBitWidth() && "Can't splat to smaller bit width!");
624 for (unsigned I = V.getBitWidth(); I < NewLen; I <<= 1)
1096 unsigned rotBitWidth = rotateAmt.getBitWidth();
1103 rot = rot.urem(APInt(rot.getBitWidth(), BitWidth));
1959 return sshl_ov(ShAmt.getLimitedValue(getBitWidth()), Overflow);
1963 Overflow = ShAmt >= getBitWidth();
1976 return ushl_ov(ShAmt.getLimitedValue(getBitWidth()), Overflow);
1980 Overflow = ShAmt >= getBitWidth();
2057 return sshl_sat(RHS.getLimitedValue(getBitWidth()));
2071 return ushl_sat(RHS.getLimitedValue(getBitWidth()));
2783 unsigned CoeffWidth = A.getBitWidth();
2784 assert(CoeffWidth == B.getBitWidth() && CoeffWidth == C.getBitWidth());
2972 assert(A.getBitWidth() == B.getBitWidth() && "Must have the same bitwidth");
2975 return A.getBitWidth() - ((A ^ B).countl_zero() + 1);
2980 unsigned OldBitWidth = A.getBitWidth();
3022 assert((IntVal.getBitWidth()+7)/8 >= StoreBytes && "Integer too small!");
3048 assert((IntVal.getBitWidth()+7)/8 >= LoadBytes && "Integer too small!");
3093 assert(C1.getBitWidth() == C2.getBitWidth() && "Unequal bitwidths");
3094 unsigned FullWidth = C1.getBitWidth() * 2;
3097 return (C1Ext * C2Ext).extractBits(C1.getBitWidth(), C1.getBitWidth());
3101 assert(C1.getBitWidth() == C2.getBitWidth() && "Unequal bitwidths");
3102 unsigned FullWidth = C1.getBitWidth() * 2;
3105 return (C1Ext * C2Ext).extractBits(C1.getBitWidth(), C1.getBitWidth());