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