Lines Matching full:bitwidth
658 static void AdjustAPSInt(llvm::APSInt &Val, unsigned BitWidth, bool IsSigned) {
659 if (Val.getBitWidth() < BitWidth)
660 Val = Val.extend(BitWidth);
661 else if (Val.getBitWidth() > BitWidth)
662 Val = Val.trunc(BitWidth);
708 // Get the bitwidth of the switched-on value before promotions. We must
1130 // Get the bitwidth of the enum value before promotions.