Lines Matching refs:getBitWidth

146   reallocate(RHS.getBitWidth());
241 APInt Result(getMemory(getNumWords()), getBitWidth());
353 /// (this->zext(NewWidth) << NewLSB.getBitWidth()) | NewLSB.zext(NewWidth)
356 unsigned NewWidth = getBitWidth() + NewLSB.getBitWidth();
358 Result.insertBits(*this, NewLSB.getBitWidth());
371 unsigned subBitWidth = subBits.getBitWidth();
604 assert(getBitWidth() % SplatSizeInBits == 0 &&
625 assert(NewLen >= V.getBitWidth() && "Can't splat to smaller bit width!");
628 for (unsigned I = V.getBitWidth(); I < NewLen; I <<= 1)
1100 unsigned rotBitWidth = rotateAmt.getBitWidth();
1107 rot = rot.urem(APInt(rot.getBitWidth(), BitWidth));
1963 return sshl_ov(ShAmt.getLimitedValue(getBitWidth()), Overflow);
1967 Overflow = ShAmt >= getBitWidth();
1980 return ushl_ov(ShAmt.getLimitedValue(getBitWidth()), Overflow);
1984 Overflow = ShAmt >= getBitWidth();
2061 return sshl_sat(RHS.getLimitedValue(getBitWidth()));
2075 return ushl_sat(RHS.getLimitedValue(getBitWidth()));
2787 unsigned CoeffWidth = A.getBitWidth();
2788 assert(CoeffWidth == B.getBitWidth() && CoeffWidth == C.getBitWidth());
2976 assert(A.getBitWidth() == B.getBitWidth() && "Must have the same bitwidth");
2979 return A.getBitWidth() - ((A ^ B).countl_zero() + 1);
2984 unsigned OldBitWidth = A.getBitWidth();
3026 assert((IntVal.getBitWidth()+7)/8 >= StoreBytes && "Integer too small!");
3052 assert((IntVal.getBitWidth()+7)/8 >= LoadBytes && "Integer too small!");
3097 assert(C1.getBitWidth() == C2.getBitWidth() && "Unequal bitwidths");
3098 unsigned FullWidth = C1.getBitWidth() * 2;
3101 return (C1Ext * C2Ext).extractBits(C1.getBitWidth(), C1.getBitWidth());
3105 assert(C1.getBitWidth() == C2.getBitWidth() && "Unequal bitwidths");
3106 unsigned FullWidth = C1.getBitWidth() * 2;
3109 return (C1Ext * C2Ext).extractBits(C1.getBitWidth(), C1.getBitWidth());
3114 APInt Acc = APInt(X.getBitWidth(), 1);