Home
last modified time | relevance | path

Searched refs:__builtin_clzll (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project/libcxx/include/__bit/
H A Dcountl.h39 return __builtin_clzll(__x); in __libcpp_clz()
56 return ((__x >> 64) == 0) ? (64 + __builtin_clzll(static_cast<unsigned long long>(__x))) in __libcpp_clz()
57 : __builtin_clzll(static_cast<unsigned long long>(__x >> 64)); in __libcpp_clz()
/llvm-project/compiler-rt/lib/builtins/
H A Dint_lib.h137 static int __inline __builtin_clzll(uint64_t value) { in __builtin_clzll() function
144 static int __inline __builtin_clzll(uint64_t value) { in __builtin_clzll() function
155 #define __builtin_clzl __builtin_clzll
H A Dudivmodti4.c34 s = __builtin_clzll(v); in udiv128by64to64default()
135 __builtin_clzll(divisor.s.high) - __builtin_clzll(dividend.s.high); in __udivmodti4()
H A Dint_to_fp.h22 static __inline int clzSrcT(usrc_t x) { return __builtin_clzll(x); } in clzSrcT()
27 static __inline int clzSrcT(usrc_t x) { return __builtin_clzll(x); } in clzSrcT()
H A Dclzti2.c25 return __builtin_clzll((x.s.high & ~f) | (x.s.low & f)) + in __clzti2()
H A Dfloatundixf.c29 int clz = __builtin_clzll(a); in __floatundixf()
H A Dfloatunditf.c28 const int exponent = (aWidth - 1) - __builtin_clzll(a); in __floatunditf()
H A Dfloatdixf.c32 int clz = __builtin_clzll(a); in __floatdixf()
H A Dfloatditf.c36 const int exponent = (aWidth - 1) - __builtin_clzll(aAbs); in __floatditf()
H A Dint_div_impl.inc13 #define clz(a) (sizeof(a) == sizeof(unsigned long long) ? __builtin_clzll(a) : clzsi(a))
H A Dfp_lib.h61 static inline int rep_clz(rep_t a) { return __builtin_clzll(a); } in rep_clz()
125 return __builtin_clzll(word) + add; in rep_clz()
/llvm-project/compiler-rt/test/msan/
H A Dtest.h11 return SANITIZER_WORDSIZE - __builtin_clzll(vma); in SystemVMA()
/llvm-project/compiler-rt/test/ubsan/TestCases/Misc/
H A Dbuiltins.cpp28 __builtin_clzll(n); in check_clz()
/llvm-project/clang/test/CodeGen/
H A Dubsan-builtin-checks.c49 __builtin_clzll(n); in check_clz()
H A Dmips-count-builtins.c27 leading = __builtin_clzll(P); in test_i64()
H A Dcount-builtins.c26 leading = __builtin_clzll(P); in test_i64()
/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerBuiltins.h28 inline uint32_t Clzll(unsigned long long X) { return __builtin_clzll(X); } in Clzll()
/llvm-project/clang/test/AST/
H A Dast-dump-pragma-unroll.cpp15 return Flag ? ix & ~(1ULL << __builtin_clzll(ix)) : ix + 1; in value_dependent()
/llvm-project/clang/test/CodeGenCXX/
H A Dpragma-unroll.cpp128 return Flag ? ix & ~(1ULL << __builtin_clzll(ix)) : ix + 1; in value_dependent()
H A Dpragma-gcc-unroll.cpp128 return Flag ? ix & ~(1ULL << __builtin_clzll(ix)) : ix + 1; in value_dependent()
/llvm-project/llvm/include/llvm/ADT/
H A Dbit.h262 #if __has_builtin(__builtin_clzll) || defined(__GNUC__)
263 return __builtin_clzll(Val);
/llvm-project/clang/test/Parser/
H A Dpragma-unroll.cpp136 return Flag ? ix & ~(1ULL << __builtin_clzll(ix)) : ix + 1; in FailToBuild()
/llvm-project/clang/lib/Headers/
H A Dia32intrin.h159 return 63 - __builtin_clzll((unsigned long long)__A); in __bsrq()
/llvm-project/llvm/lib/Support/BLAKE3/
H A Dblake3_impl.h96 return 63 ^ __builtin_clzll(x); in highest_one()
/llvm-project/libc/src/__support/CPP/
H A Dbit.h150 ADD_SPECIALIZATION(countl_zero, unsigned long long, __builtin_clzll)

12