Home
last modified time | relevance | path

Searched refs:isPowerOf2_64 (Results 1 – 25 of 83) sorted by relevance

1234

/external/swiftshader/third_party/LLVM/unittests/Support/
DMathExtrasTest.cpp24 TEST(MathExtras, isPowerOf2_64) { in TEST() argument
25 EXPECT_TRUE(isPowerOf2_64(1LL << 46)); in TEST()
26 EXPECT_TRUE(isPowerOf2_64(1LL << 12)); in TEST()
27 EXPECT_FALSE(isPowerOf2_64((1LL << 53) + 3)); in TEST()
28 EXPECT_FALSE(isPowerOf2_64(0xABCDEF0ABCDEF0LL)); in TEST()
/external/clang/include/clang/Basic/
DSanitizers.h51 assert(llvm::isPowerOf2_64(K)); in has()
60 assert(llvm::isPowerOf2_64(K)); in set()
DTargetInfo.h422 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DMathExtrasTest.cpp187 TEST(MathExtras, isPowerOf2_64) { in TEST() argument
188 EXPECT_FALSE(isPowerOf2_64(0)); in TEST()
189 EXPECT_TRUE(isPowerOf2_64(1LL << 46)); in TEST()
190 EXPECT_TRUE(isPowerOf2_64(1LL << 12)); in TEST()
191 EXPECT_FALSE(isPowerOf2_64((1LL << 53) + 3)); in TEST()
192 EXPECT_FALSE(isPowerOf2_64(0xABCDEF0ABCDEF0LL)); in TEST()
/external/llvm/unittests/Support/
DMathExtrasTest.cpp156 TEST(MathExtras, isPowerOf2_64) { in TEST() argument
157 EXPECT_TRUE(isPowerOf2_64(1LL << 46)); in TEST()
158 EXPECT_TRUE(isPowerOf2_64(1LL << 12)); in TEST()
159 EXPECT_FALSE(isPowerOf2_64((1LL << 53) + 3)); in TEST()
160 EXPECT_FALSE(isPowerOf2_64(0xABCDEF0ABCDEF0LL)); in TEST()
/external/swiftshader/third_party/subzero/src/
DIceUtils.h84 assert(llvm::isPowerOf2_64(N)); in IsAligned()
97 assert(llvm::isPowerOf2_64(Align)); in OffsetToAlignment()
/external/llvm/lib/IR/
DDataLayout.cpp272 if (!isPowerOf2_64(PointerABIAlign)) in parseSpecifier()
281 if (!isPowerOf2_64(PointerPrefAlign)) in parseSpecifier()
406 if (abi_align != 0 && !isPowerOf2_64(abi_align)) in setAlignment()
408 if (pref_align != 0 && !isPowerOf2_64(pref_align)) in setAlignment()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDataLayout.cpp297 if (!isPowerOf2_64(PointerABIAlign)) in parseSpecifier()
310 if (!isPowerOf2_64(PointerPrefAlign)) in parseSpecifier()
464 if (abi_align != 0 && !isPowerOf2_64(abi_align)) in setAlignment()
466 if (pref_align != 0 && !isPowerOf2_64(pref_align)) in setAlignment()
/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp80 assert(llvm::isPowerOf2_64(RL.getAlignment().getQuantity())); in visitRecord()
221 assert(llvm::isPowerOf2_64(RetVal.Align.getQuantity())); in calculateOptimalPad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCCodePadder.cpp217 assert(isPowerOf2_64(MaxWindowSize) && in relaxFragment()
220 assert(isPowerOf2_64(SectionAlignment) && in relaxFragment()
/external/llvm/include/llvm/Support/
DMathExtras.h383 inline bool isPowerOf2_64(uint64_t Value) {
589 assert(Alignment && isPowerOf2_64((uint64_t)Alignment) &&
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h405 constexpr inline bool isPowerOf2_64(uint64_t Value) {
611 assert(Alignment && isPowerOf2_64((uint64_t)Alignment) &&
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMathExtras.h120 inline bool isPowerOf2_64(uint64_t Value) { in isPowerOf2_64() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMathExtras.h434 constexpr inline bool isPowerOf2_64(uint64_t Value) {
624 assert(Alignment && isPowerOf2_64((uint64_t)Alignment) &&
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp118 if (isPowerOf2_64(DiffUnitsAbs)) in getNewAlignmentDiff()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DFastISel.cpp375 isPowerOf2_64(Imm)) { in SelectBinaryOp()
1066 if (Opcode == ISD::MUL && isPowerOf2_64(Imm)) { in FastEmit_ri_()
1069 } else if (Opcode == ISD::UDIV && isPowerOf2_64(Imm)) { in FastEmit_ri_()
/external/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp118 if (isPowerOf2_64(DiffUnitsAbs)) in getNewAlignmentDiff()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp436 cast<BinaryOperator>(I)->isExact() && isPowerOf2_64(Imm)) { in selectBinaryOp()
443 isPowerOf2_64(Imm)) { in selectBinaryOp()
1745 if (Opcode == ISD::MUL && isPowerOf2_64(Imm)) { in fastEmit_ri_()
1748 } else if (Opcode == ISD::UDIV && isPowerOf2_64(Imm)) { in fastEmit_ri_()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCFragment.h390 assert(isPowerOf2_64(PolicyMask) && in hasPaddingPolicy()
/external/llvm/lib/Analysis/
DVectorUtils.cpp421 if (!isPowerOf2_64((uint64_t)MinBW)) in computeMinimumValueSizes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp625 cast<BinaryOperator>(I)->isExact() && isPowerOf2_64(Imm)) { in selectBinaryOp()
632 isPowerOf2_64(Imm)) { in selectBinaryOp()
1938 if (Opcode == ISD::MUL && isPowerOf2_64(Imm)) { in fastEmit_ri_()
1941 } else if (Opcode == ISD::UDIV && isPowerOf2_64(Imm)) { in fastEmit_ri_()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DVectorUtils.cpp423 if (!isPowerOf2_64((uint64_t)MinBW)) in computeMinimumValueSizes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/InstPrinter/
DAMDGPUInstPrinter.cpp1127 isPowerOf2_64(XorMask + 1)) { in printSwizzle()
1138 isPowerOf2_64(GroupSize) && in printSwizzle()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp484 if (isPowerOf2_64(TypeSize) && in instrumentMemAccess()
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1028 (ValueVT == MVT::i64 && isPowerOf2_64(~Val))) in SelectBitOp()
1055 (ValueVT == MVT::i64 && !isPowerOf2_64(Val))) { in SelectBitOp()

1234