Home
last modified time | relevance | path

Searched refs:isPowerOf2_32 (Results 1 – 25 of 101) sorted by relevance

12345

/external/swiftshader/third_party/LLVM/unittests/Support/
DMathExtrasTest.cpp17 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/
DMathExtrasTest.cpp149 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/
DAttributes.h118 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/
DHeaderMap.cpp93 if (!llvm::isPowerOf2_32(NumBuckets)) in checkHeader()
216 assert(llvm::isPowerOf2_32(NumBuckets) && "Expected power of 2"); in lookupFilename()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUMachineFunction.h28 assert(isPowerOf2_32(Align)); in allocateKernArg()
DAMDGPUTargetTransformInfo.h79 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); in getPopcntSupport()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp25 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); in getPopcntSupport()
/external/llvm/lib/Analysis/
DCostModel.cpp258 if (!isPowerOf2_32(NumVecElems)) in matchPairwiseReduction()
322 if (!isPowerOf2_32(NumVecElems)) in matchVectorSplittingReduction()
DLoads.cpp192 assert(isPowerOf2_32(Align)); in isSafeToLoadUnconditionally()
/external/swiftshader/third_party/subzero/src/
DIceUtils.h90 assert(llvm::isPowerOf2_32(Alignment)); in applyAlignment()
DIceELFSection.cpp59 assert(llvm::isPowerOf2_32(Align)); in padToAlignment()
/external/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp325 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/
DSystemZTargetTransformInfo.cpp235 assert(isPowerOf2_32(TyWidth) && "Type width must be power of 2"); in getPopcntSupport()
/external/capstone/
DMathExtras.h89 static inline bool isPowerOf2_32(uint32_t Value) { in isPowerOf2_32() function
/external/llvm/include/llvm/MC/
DMCSymbol.h343 assert((!Align || isPowerOf2_32(Align)) && in setCommon()
/external/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp176 if (!isPowerOf2_32(NumSubElts)) in isReInterleaveMask()
DTargetLoweringBase.cpp1009 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()
DSafeStack.cpp568 assert(isPowerOf2_32(FrameAlignment)); in moveStaticAllocasToUnsafeStack()
696 assert(isPowerOf2_32(Align)); in moveDynamicAllocasToUnsafeStack()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMathExtras.h114 inline bool isPowerOf2_32(uint32_t Value) { in isPowerOf2_32() function
/external/llvm/lib/IR/
DAttributes.cpp109 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/
DLoadCombine.cpp188 while (TotalSize != 0 && !isPowerOf2_32(TotalSize)) in combineLoads()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DFoldingSet.cpp271 assert(isPowerOf2_32(NewBucketCount) && "Bad bucket count!"); in GrowBucketCount()
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUFrameLowering.cpp66 assert(isPowerOf2_32(Align) && "Alignment is not power of 2"); in determineFrameLayout()
/external/llvm/lib/Support/
DFoldingSet.cpp271 assert(isPowerOf2_32(NewBucketCount) && "Bad bucket count!"); in GrowBucketCount()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp38 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); in getPopcntSupport()

12345