Home
last modified time | relevance | path

Searched refs:BitsType (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A DFloatProperties.h24 typedef uint32_t BitsType;
32 static constexpr BitsType MANTISSA_MASK = (BitsType(1) << MANTISSA_WIDTH) - 1;
33 static constexpr BitsType SIGN_MASK = BitsType(1)
57 static constexpr BitsType MANTISSA_MASK = (BitsType(1) << MANTISSA_WIDTH) - 1;
58 static constexpr BitsType SIGN_MASK = BitsType(1)
115 static constexpr BitsType FULL_WIDTH_MASK = ((BitsType(1) << BIT_WIDTH) - 1);
119 static constexpr BitsType MANTISSA_MASK = (BitsType(1) << MANTISSA_WIDTH) - 1;
123 static constexpr BitsType EXPLICIT_BIT_MASK = (BitsType(1) << MANTISSA_WIDTH);
139 static constexpr BitsType QUIET_NAN_MASK = BitsType(1)
155 static constexpr BitsType SIGN_MASK = BitsType(1)
[all …]
H A DFPBits.h50 using UIntType = typename FloatProp::BitsType;
/llvm-project-15.0.7/libc/src/__support/
H A Dstr_to_float.h152 BitsType msb = static_cast<BitsType>(high64(final_approx) >> (BITS_IN_MANTISSA - 1)); in eisel_lemire()
153 BitsType final_mantissa = static_cast<BitsType>(high64(final_approx) >> in eisel_lemire()
258 BitsType final_mantissa =
664 BitsType round_bit_mask = BitsType(1) << (amount_to_shift_right - 1); in binary_exp_to_float()
665 BitsType sticky_mask = round_bit_mask - 1; in binary_exp_to_float()
733 BitsType mantissa = 0; in decimal_string_to_float()
740 const BitsType bitstype_max_div_by_base = in decimal_string_to_float()
823 BitsType mantissa = 0; in hexadecimal_string_to_float()
830 const BitsType bitstype_max_div_by_base = in hexadecimal_string_to_float()
929 BitsType output_mantissa = 0; in strtofloatingpoint()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp561 auto BitsType = cast<IntegerType>(Bits->getType()); in createMaskedBitTest() local
562 unsigned BitWidth = BitsType->getBitWidth(); in createMaskedBitTest()
564 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType); in createMaskedBitTest()
566 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1)); in createMaskedBitTest()
567 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex); in createMaskedBitTest()
569 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0)); in createMaskedBitTest()