Home
last modified time | relevance | path

Searched refs:Clz (Results 1 - 16 of 16) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
H A Dmath_helpers.h74 return 1UL << (BIT - Clz(static_cast<uint32_t>(value))); in GetPowerOfTwoValue32()
94 constexpr uint32_t Clz(uint32_t value)
H A Dbit_utils.h46 constexpr int Clz(T x) in Clz() function
103 return std::numeric_limits<UnderlyingType>::digits - Clz(static_cast<UnderlyingType>(uvalue)); in MinimumBitsToStore()
112 return std::numeric_limits<T>::digits - Clz(value); in MinimumBitsToStore()
H A Dregmask.h171 return (sizeof(decltype(GetValue())) * BITS_PER_BYTE) - 1 - panda::Clz(GetValue());
H A Dbit_vector.h459 return (BITS_PER_UINT32 - 1) - Clz(storage_[i]) + (i * WORD_BITS); in GetHighestBitSet()
/arkcompiler/runtime_core/static_core/verification/util/
H A Dint_tag.h31 static constexpr size_t BITS = sizeof(size_t) * 8ULL - ark::Clz(SIZE);
H A Denum_tag.h76 static constexpr size_t BITS = sizeof(size_t) * 8ULL - ark::Clz(SIZE);
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dmath_helpers.h85 return 1UL << (BIT - Clz(static_cast<uint32_t>(value))); in GetPowerOfTwoValue32()
101 constexpr uint32_t Clz(uint32_t value)
H A Dbit_utils.h47 constexpr int Clz(T x) in Clz() function
104 return std::numeric_limits<UnderlyingType>::digits - Clz(static_cast<UnderlyingType>(uvalue)); in MinimumBitsToStore()
113 return std::numeric_limits<T>::digits - Clz(value); in MinimumBitsToStore()
H A Dregmask.h171 return (sizeof(decltype(GetValue())) * BITS_PER_BYTE) - 1 - ark::Clz(GetValue());
H A Dbit_vector.h478 return (BITS_PER_UINT32 - 1) - Clz(storage_[i]) + (i * WORD_BITS); in GetHighestBitSet()
/arkcompiler/runtime_core/static_core/runtime/entrypoints/
H A Dstring_index_of.h130 return Clz(__builtin_bswap64(val)); in ClzInSwappedBytes()
160 return BITS_PER_UINT64 + Clz(hi); in ClzInSwappedBytes()
162 return Clz(lo); in ClzInSwappedBytes()
/arkcompiler/runtime_core/libpandabase/tests/
H A Dregmask_test.cpp29 ASSERT_EQ(mask.GetMaxRegister(), base.size() - Clz(static_cast<RegMask::ValueType>(base.to_ulong())) - 1); in CompareWithBitset()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dregmask_test.cpp29 ASSERT_EQ(mask.GetMaxRegister(), base.size() - Clz(static_cast<RegMask::ValueType>(base.to_ulong())) - 1L); in CompareWithBitset()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
H A Dbitmap.h286 offsetWithinWord = BITSPERWORD - static_cast<size_t>(Clz(bitmapWord)) - 1; in FindHighestPrecedingOrSameBit()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/
H A Dencode.cpp1251 GetMasm()->Clz(VixlReg(dst), VixlReg(src)); in EncodeCountLeadingZeroBits()
1259 GetMasm()->Clz(VixlReg(dst), VixlReg(highBits)); in EncodeCountLeadingZeroBits()
1263 GetMasm()->Clz(VixlReg(dst), VixlReg(src)); in EncodeCountLeadingZeroBits()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/
H A Dencode.cpp888 GetMasm()->Clz(VixlReg(dst), VixlReg(src)); in EncodeCountLeadingZeroBits()
899 GetMasm()->Clz(VixlReg(dst), VixlReg(dst)); in EncodeCountTrailingZeroBits()

Completed in 21 milliseconds