Home
last modified time | relevance | path

Searched refs:word_ (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/flang/include/flang/Evaluate/
Dlogical.h27 constexpr Logical(Logical<B, C> x) : word_{Represent(x.IsTrue())} {} in Logical()
28 constexpr Logical(bool truth) : word_{Represent(truth)} {} in Logical()
31 word_ = Represent(x.IsTrue());
66 return !word_.IsZero(); in IsTrue()
68 return word_.BTEST(0); in IsTrue()
72 constexpr Logical NOT() const { return {word_.IEOR(canonicalTrue)}; } in NOT()
75 return {word_.IAND(that.word_)}; in AND()
79 return {word_.IOR(that.word_)}; in OR()
85 return {word_.IEOR(that.word_)}; in NEQV()
95 constexpr Logical(const Word &w) : word_{w} {} in Logical()
[all …]
Dreal.h58 constexpr Real(const Word &bits) : word_{bits} {} in Real()
63 return word_ == that.word_;
70 constexpr bool IsSignBitSet() const { return word_.BTEST(bits - 1); } in IsSignBitSet()
95 return {word_.IBCLR(bits - 1)}; in ABS()
99 return {word_.IBSET(bits - 1)}; in SetSign()
106 constexpr Real Negate() const { return {word_.IEOR(word_.MASKL(1))}; } in Negate()
282 constexpr Word RawBits() const { return word_; } in RawBits()
286 return word_.IBITS(significandBits, exponentBits).ToUInt64(); in Exponent()
291 Fraction result{Fraction::ConvertUnsigned(word_).value}; in GetFraction()
327 return Significand::ConvertUnsigned(word_).value; in GetSignificand()
[all …]
/external/llvm-project/flang/lib/Evaluate/
Dreal.cpp37 if (word_.IOR(y.word_).IBCLR(bits - 1).IsZero()) { in Compare()
101 result.value.word_ = result.value.word_.IBSET(bits - 1); // -0.0 in Add()
224 result.value.word_ = result.value.word_.IBSET(bits - 1); in Divide()
314 word_ = Word{maxExponent}.SHIFTL(significandBits); // Inf in Normalize()
318 word_ = Word{word_.MASKR(word_.bits - 1)}.IBCLR(significandBits); in Normalize()
321 word_ = word_.IBSET(bits - 1); in Normalize()
329 word_ = Word::ConvertUnsigned(fraction).value; in Normalize()
331 word_ = word_.SHIFTL(lshift); in Normalize()
335 word_ = word_.IBSET(lshift - 1); in Normalize()
341 word_ = word_.IBCLR(significandBits); in Normalize()
[all …]
/external/tensorflow/tensorflow/core/lib/core/
Dbitmap.h75 Word* word_; variable
80 inline Bitmap::Bitmap() : nbits_(0), word_(nullptr) {} in Bitmap()
84 inline Bitmap::~Bitmap() { delete[] word_; } in ~Bitmap()
90 return word_[i / kBits] & Mask(i % kBits); in get()
95 word_[i / kBits] |= Mask(i % kBits); in set()
100 word_[i / kBits] &= ~Mask(i % kBits); in clear()
Dbitmap.cc28 delete[] word_; in Reset()
29 word_ = w; in Reset()
31 memset(word_, 0, sizeof(word_[0]) * num_words); in Reset()
83 Word word = word_[i] | mask; in FirstUnset()
/external/perfetto/src/trace_processor/containers/
Dbit_vector.h375 return (word_ >> idx) & 1ull; in IsSet()
379 void Or(uint64_t mask) { word_ |= mask; } in Or()
394 word_ &= ~(1ull << idx); in Clear()
398 void ClearAll() { word_ = 0; } in ClearAll()
420 uint64_t s = word_ - ((word_ & 0xAAAAAAAAAAAAAAAA) >> 1); in IndexOfNthSet()
426 s = (BwGtZero(((word_ >> b & 0xFF) * L8) & 0x8040201008040201) >> 7) * L8; in IndexOfNthSet()
435 return static_cast<uint32_t>(PERFETTO_POPCOUNT(word_)); in GetNumBitsSet()
448 word_ = WordUntil(idx); in ClearAfter()
454 word_ |= (MaskAllBitsSetUntil(diff) << static_cast<uint64_t>(start)); in Set()
495 return word_ & mask; in WordUntil()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dword2vec_kernels.cc97 ctx->set_output(0, word_); in Compute()
117 Tensor word_; member in tensorflow::SkipgramOp
227 word_ = word; in Init()
/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.cpp225 SparseIndexNode (deUint32 word_, deUint32 index_) in SparseIndexNode()
226 : word (word_) in SparseIndexNode()