/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | MathExtrasTest.cpp | 24 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/ |
D | Sanitizers.h | 51 assert(llvm::isPowerOf2_64(K)); in has() 60 assert(llvm::isPowerOf2_64(K)); in set()
|
D | TargetInfo.h | 422 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 187 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/ |
D | MathExtrasTest.cpp | 156 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/ |
D | IceUtils.h | 84 assert(llvm::isPowerOf2_64(N)); in IsAligned() 97 assert(llvm::isPowerOf2_64(Align)); in OffsetToAlignment()
|
/external/llvm/lib/IR/ |
D | DataLayout.cpp | 272 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/ |
D | DataLayout.cpp | 297 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/ |
D | PaddingChecker.cpp | 80 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/ |
D | MCCodePadder.cpp | 217 assert(isPowerOf2_64(MaxWindowSize) && in relaxFragment() 220 assert(isPowerOf2_64(SectionAlignment) && in relaxFragment()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 383 inline bool isPowerOf2_64(uint64_t Value) { 589 assert(Alignment && isPowerOf2_64((uint64_t)Alignment) &&
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MathExtras.h | 405 constexpr inline bool isPowerOf2_64(uint64_t Value) { 611 assert(Alignment && isPowerOf2_64((uint64_t)Alignment) &&
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MathExtras.h | 120 inline bool isPowerOf2_64(uint64_t Value) { in isPowerOf2_64() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MathExtras.h | 434 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/ |
D | AlignmentFromAssumptions.cpp | 118 if (isPowerOf2_64(DiffUnitsAbs)) in getNewAlignmentDiff()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 375 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/ |
D | AlignmentFromAssumptions.cpp | 118 if (isPowerOf2_64(DiffUnitsAbs)) in getNewAlignmentDiff()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 436 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/ |
D | MCFragment.h | 390 assert(isPowerOf2_64(PolicyMask) && in hasPaddingPolicy()
|
/external/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 421 if (!isPowerOf2_64((uint64_t)MinBW)) in computeMinimumValueSizes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 625 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/ |
D | VectorUtils.cpp | 423 if (!isPowerOf2_64((uint64_t)MinBW)) in computeMinimumValueSizes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/InstPrinter/ |
D | AMDGPUInstPrinter.cpp | 1127 isPowerOf2_64(XorMask + 1)) { in printSwizzle() 1138 isPowerOf2_64(GroupSize) && in printSwizzle()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | HWAddressSanitizer.cpp | 484 if (isPowerOf2_64(TypeSize) && in instrumentMemAccess()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 1028 (ValueVT == MVT::i64 && isPowerOf2_64(~Val))) in SelectBitOp() 1055 (ValueVT == MVT::i64 && !isPowerOf2_64(Val))) { in SelectBitOp()
|