Home
last modified time | relevance | path

Searched refs:PowerOf2Ceil (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DMathExtrasTest.cpp195 TEST(MathExtras, PowerOf2Ceil) { in TEST() argument
196 EXPECT_EQ(0U, PowerOf2Ceil(0U)); in TEST()
197 EXPECT_EQ(8U, PowerOf2Ceil(8U)); in TEST()
198 EXPECT_EQ(8U, PowerOf2Ceil(7U)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDataLayout.cpp538 Align = PowerOf2Ceil(Align); in getAlignmentInfo()
549 Align = PowerOf2Ceil(Align); in getAlignmentInfo()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h646 inline uint64_t PowerOf2Ceil(uint64_t A) {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMathExtras.h659 inline uint64_t PowerOf2Ceil(uint64_t A) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp526 PowerOf2Ceil(OperandRange.getUnsignedMax().getActiveBits()), 8); in processUDivOrURem()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp963 unsigned NewNumElts = PowerOf2Ceil(DemandedElts.countPopulation()); in simplifyAMDGCNMemoryIntrinsicDemanded()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DCOFFObjectFile.cpp166 return std::min(uint64_t(32), PowerOf2Ceil(Symb.getValue())); in getSymbolAlignment()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp921 if (!(ShiftAmtKZ & (PowerOf2Ceil(BitWidth) - 1)) && in computeKnownBitsFromShiftOperator()
922 !(ShiftAmtKO & (PowerOf2Ceil(BitWidth) - 1))) { in computeKnownBitsFromShiftOperator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp15766 NearestPow2 = PowerOf2Ceil(MaxIndex); in reduceBuildVecToShuffle()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp28837 Width = PowerOf2Ceil(std::max(Width, 8U)); in targetShrinkDemandedConstant()