Home
last modified time | relevance | path

Searched refs:bits_ (Results 1 – 7 of 7) sorted by relevance

/llvm-project/flang/include/flang/Common/
H A Dconstexpr-bitset.h31 constexpr BitSet(Word b) : bits_{b} {} in BitSet()
46 bits_ &= that.bits_;
50 bits_ &= that.bits_;
54 bits_ ^= that.bits_;
58 bits_ ^= that.bits_;
62 bits_ |= that.bits_;
66 bits_ |= that.bits_;
70 constexpr BitSet operator~() const { return ~bits_; }
72 return bits_ & that.bits_;
74 constexpr BitSet operator&(BitSet &&that) const { return bits_ & that.bits_; }
[all …]
/llvm-project/flang/include/flang/Parser/
H A Dchar-set.h44 bits_ = static_cast<std::uint64_t>(1) << (c - 32); in SetOfChars()
49 bits_ |= SetOfChars{str[j]}.bits_; in SetOfChars()
57 constexpr bool empty() const { return bits_ == 0; } in empty()
60 return (that.bits_ & ~bits_) == 0; in Has()
63 return SetOfChars{bits_ | that.bits_}; in Union()
66 return SetOfChars{bits_ & that.bits_}; in Intersection()
69 return SetOfChars{bits_ & ~that.bits_}; in Difference()
75 constexpr SetOfChars(std::uint64_t b) : bits_{b} {} in SetOfChars()
76 std::uint64_t bits_{0};
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bitvector.h28 void clear() { bits_ = 0; } in clear()
29 void setAll() { bits_ = ~(basic_int_t)0; } in setAll()
30 bool empty() const { return bits_ == 0; } in empty()
34 basic_int_t old = bits_; in setBit()
35 bits_ |= mask(idx); in setBit()
36 return bits_ != old; in setBit()
41 basic_int_t old = bits_; in clearBit()
42 bits_ &= ~mask(idx); in clearBit()
43 return bits_ != old; in clearBit()
46 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; } in getBit()
[all …]
/llvm-project/flang/lib/Evaluate/
H A Dtarget.cpp178 : targetCharacteristics_{targetCharacteristics}, bits_{bits} {}
182 if (Scalar<T>::bits >= bits_ &&
192 std::int64_t bits_; in Test()
165 std::int64_t bits_; global() member in Fortran::evaluate::SelectedLogicalKindVisitor
/llvm-project/clang/test/C/drs/
H A Ddr335.c20 struct bits_ { in dr335() struct
H A Ddr3xx.c209 struct bits_ { in dr335() struct
/llvm-project/third-party/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h303 fp.u_.bits_ = bits; in ReinterpretBits()
313 const Bits& bits() const { return u_.bits_; } in bits()
316 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits()
319 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits()
322 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit()
342 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_) <= in AlmostEquals()
350 Bits bits_; // The bits that represent the number. member