/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | MathExtrasTest.cpp | 17 TEST(MathExtras, isPowerOf2_32) { in TEST() argument 18 EXPECT_TRUE(isPowerOf2_32(1 << 6)); in TEST() 19 EXPECT_TRUE(isPowerOf2_32(1 << 12)); in TEST() 20 EXPECT_FALSE(isPowerOf2_32((1 << 19) + 3)); in TEST() 21 EXPECT_FALSE(isPowerOf2_32(0xABCDEF0)); in TEST()
|
/external/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 149 TEST(MathExtras, isPowerOf2_32) { in TEST() argument 150 EXPECT_TRUE(isPowerOf2_32(1 << 6)); in TEST() 151 EXPECT_TRUE(isPowerOf2_32(1 << 12)); in TEST() 152 EXPECT_FALSE(isPowerOf2_32((1 << 19) + 3)); in TEST() 153 EXPECT_FALSE(isPowerOf2_32(0xABCDEF0)); in TEST()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Attributes.h | 118 assert(isPowerOf2_32(i) && "Alignment must be a power of two."); in constructAlignmentFromInt() 139 assert(isPowerOf2_32(i) && "Alignment must be a power of two."); in constructStackAlignmentFromInt()
|
/external/clang/lib/Lex/ |
D | HeaderMap.cpp | 93 if (!llvm::isPowerOf2_32(NumBuckets)) in checkHeader() 216 assert(llvm::isPowerOf2_32(NumBuckets) && "Expected power of 2"); in lookupFilename()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMachineFunction.h | 28 assert(isPowerOf2_32(Align)); in allocateKernArg()
|
D | AMDGPUTargetTransformInfo.h | 79 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); in getPopcntSupport()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyTargetTransformInfo.cpp | 25 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); in getPopcntSupport()
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 258 if (!isPowerOf2_32(NumVecElems)) in matchPairwiseReduction() 322 if (!isPowerOf2_32(NumVecElems)) in matchVectorSplittingReduction()
|
D | Loads.cpp | 192 assert(isPowerOf2_32(Align)); in isSafeToLoadUnconditionally()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceUtils.h | 90 assert(llvm::isPowerOf2_32(Alignment)); in applyAlignment()
|
D | IceELFSection.cpp | 59 assert(llvm::isPowerOf2_32(Align)); in padToAlignment()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonStoreWidening.cpp | 325 assert(isPowerOf2_32(SizeAccum) && "First store size not a power of 2"); in selectStores() 370 if (isPowerOf2_32(SizeAccum)) { in selectStores()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 235 assert(isPowerOf2_32(TyWidth) && "Type width must be power of 2"); in getPopcntSupport()
|
/external/capstone/ |
D | MathExtras.h | 89 static inline bool isPowerOf2_32(uint32_t Value) { in isPowerOf2_32() function
|
/external/llvm/include/llvm/MC/ |
D | MCSymbol.h | 343 assert((!Align || isPowerOf2_32(Align)) && in setCommon()
|
/external/llvm/lib/CodeGen/ |
D | InterleavedAccessPass.cpp | 176 if (!isPowerOf2_32(NumSubElts)) in isReInterleaveMask()
|
D | TargetLoweringBase.cpp | 1009 if (BitSize < 8 || !isPowerOf2_32(BitSize)) { in getTypeConversion() 1127 if (!isPowerOf2_32(NumElts)) { in getVectorTypeBreakdownMVT() 1149 if (!isPowerOf2_32(NewVTSize)) in getVectorTypeBreakdownMVT() 1529 if (!isPowerOf2_32(NumElts)) { in getVectorTypeBreakdown() 1554 if (!isPowerOf2_32(NewVTSize)) in getVectorTypeBreakdown()
|
D | SafeStack.cpp | 568 assert(isPowerOf2_32(FrameAlignment)); in moveStaticAllocasToUnsafeStack() 696 assert(isPowerOf2_32(Align)); in moveDynamicAllocasToUnsafeStack()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MathExtras.h | 114 inline bool isPowerOf2_32(uint32_t Value) { in isPowerOf2_32() function
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 109 assert(isPowerOf2_32(Align) && "Alignment must be a power of two."); in getWithAlignment() 116 assert(isPowerOf2_32(Align) && "Alignment must be a power of two."); in getWithStackAlignment() 1352 assert(isPowerOf2_32(Align) && "Alignment must be a power of two."); in addAlignmentAttr() 1364 assert(isPowerOf2_32(Align) && "Alignment must be a power of two."); in addStackAlignmentAttr()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoadCombine.cpp | 188 while (TotalSize != 0 && !isPowerOf2_32(TotalSize)) in combineLoads()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | FoldingSet.cpp | 271 assert(isPowerOf2_32(NewBucketCount) && "Bad bucket count!"); in GrowBucketCount()
|
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
D | SPUFrameLowering.cpp | 66 assert(isPowerOf2_32(Align) && "Alignment is not power of 2"); in determineFrameLayout()
|
/external/llvm/lib/Support/ |
D | FoldingSet.cpp | 271 assert(isPowerOf2_32(NewBucketCount) && "Bad bucket count!"); in GrowBucketCount()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 38 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); in getPopcntSupport()
|