Home
last modified time | relevance | path

Searched defs:isPowerOf2 (Results 1 – 6 of 6) sorted by relevance

/llvm-project/mlir/include/mlir/ExecutionEngine/
H A DCRunnerUtils.h47 constexpr bool isPowerOf2(int n) { return (!(n & (n - 1))); } in isPowerOf2() function
/llvm-project/clang/include/clang/Basic/
H A DSanitizers.h74 bool isPowerOf2() const { in isPowerOf2() function
/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp28 static bool isPowerOf2(unsigned n) { isPowerOf2() function
/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h420 bool isPowerOf2() const { isPowerOf2() function
/llvm-project/llvm/unittests/ADT/
H A DAPIntTest.cpp1847 TEST(APIntTest,isPowerOf2) TEST() argument
/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1102 bool isPowerOf2() const { isPowerOf2() function