OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:countleadingzeros
(Results
1 - 25
of
179
) sorted by null
1
2
3
4
5
6
7
8
/external/llvm/unittests/Support/
MathExtrasTest.cpp
37
TEST(MathExtras,
countLeadingZeros
) {
42
EXPECT_EQ(8u,
countLeadingZeros
(Z8));
43
EXPECT_EQ(16u,
countLeadingZeros
(Z16));
44
EXPECT_EQ(32u,
countLeadingZeros
(Z32));
45
EXPECT_EQ(64u,
countLeadingZeros
(Z64));
51
EXPECT_EQ(2u,
countLeadingZeros
(NZ8));
52
EXPECT_EQ(10u,
countLeadingZeros
(NZ16));
53
EXPECT_EQ(26u,
countLeadingZeros
(NZ32));
54
EXPECT_EQ(58u,
countLeadingZeros
(NZ64));
56
EXPECT_EQ(8u,
countLeadingZeros
(0x00F000FFu))
[
all
...]
/external/v8/src/arm64/
utils-arm64.cc
16
int
CountLeadingZeros
(uint64_t value, int width) {
33
return
CountLeadingZeros
(value, width) - 1;
35
return
CountLeadingZeros
(~value, width) - 1;
utils-arm64.h
49
int
CountLeadingZeros
(uint64_t value, int width);
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCMCTargetDesc.h
66
MB =
countLeadingZeros
(Val);
68
ME =
countLeadingZeros
((Val - 1) ^ Val);
74
ME =
countLeadingZeros
(Val) - 1;
76
MB =
countLeadingZeros
((Val - 1) ^ Val) + 1;
/frameworks/minikin/libs/minikin/
SparseBitSet.cpp
102
int SparseBitSet::
CountLeadingZeros
(element x) {
116
return (fromIndex & ~kElMask) +
CountLeadingZeros
(e);
121
return (fromIndex & ~kPageMask) + (j << kLogBitsPerEl) +
CountLeadingZeros
(e);
134
return (page << kLogValuesPerPage) + (j << kLogBitsPerEl) +
CountLeadingZeros
(e);
/external/libcxx/test/support/
hexfloat.h
26
static int
CountLeadingZeros
(unsigned long long n) {
43
int exp2 = -static_cast<int>(Digits -
CountLeadingZeros
(m0)/4*4);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/
hexfloat.h
26
static int
CountLeadingZeros
(unsigned long long n) {
43
int exp2 = -static_cast<int>(Digits -
CountLeadingZeros
(m0)/4*4);
/external/vixl/src/
compiler-intrinsics-vixl.cc
35
return
CountLeadingZeros
(value, width) - 1;
37
return
CountLeadingZeros
(~value, width) - 1;
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/
KnownBits.h
179
return One.
countLeadingZeros
();
184
return Zero.
countLeadingZeros
();
/external/swiftshader/third_party/LLVM/unittests/ADT/
APIntTest.cpp
33
EXPECT_EQ(0u, Minus1.
countLeadingZeros
());
47
EXPECT_EQ(0u, i33minus2.
countLeadingZeros
());
61
EXPECT_EQ(0u, i65minus.
countLeadingZeros
());
71
EXPECT_EQ(0u, u128max.
countLeadingZeros
());
78
EXPECT_EQ(64u, u64max.
countLeadingZeros
());
87
EXPECT_EQ(128u, zero.
countLeadingZeros
());
97
EXPECT_EQ(127u, one.
countLeadingZeros
());
/external/llvm/lib/Support/
ScaledNumber.cpp
48
unsigned LeadingZeros =
countLeadingZeros
(Upper);
66
if (int Zeros =
countLeadingZeros
(Dividend64)) {
98
if (int Zeros =
countLeadingZeros
(Dividend)) {
/frameworks/minikin/include/minikin/
SparseBitSet.h
81
static int
CountLeadingZeros
(element x);
/external/llvm/include/llvm/Support/
MathExtras.h
180
std::size_t
countLeadingZeros
(T Val, ZeroBehavior ZB = ZB_Width) {
214
return
countLeadingZeros
(Val, ZB_Undefined) ^
418
return
countLeadingZeros
(~Value, ZB);
492
return 31 -
countLeadingZeros
(Value);
498
return 63 -
countLeadingZeros
(Value);
505
return 32 -
countLeadingZeros
(Value - 1);
511
return 64 -
countLeadingZeros
(Value - 1);
619
return 1ull << (63 -
countLeadingZeros
(A, ZB_Undefined));
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
MathExtras.h
180
std::size_t
countLeadingZeros
(T Val, ZeroBehavior ZB = ZB_Width) {
214
return
countLeadingZeros
(Val, ZB_Undefined) ^
440
return
countLeadingZeros
(~Value, ZB);
514
return 31 -
countLeadingZeros
(Value);
520
return 63 -
countLeadingZeros
(Value);
527
return 32 -
countLeadingZeros
(Value - 1);
533
return 64 -
countLeadingZeros
(Value - 1);
641
return 1ull << (63 -
countLeadingZeros
(A, ZB_Undefined));
Completed in 1546 milliseconds
1
2
3
4
5
6
7
8