Searched refs:PowerOf2Ceil (Results 1 – 10 of 10) sorted by relevance
195 TEST(MathExtras, PowerOf2Ceil) { in TEST() argument196 EXPECT_EQ(0U, PowerOf2Ceil(0U)); in TEST()197 EXPECT_EQ(8U, PowerOf2Ceil(8U)); in TEST()198 EXPECT_EQ(8U, PowerOf2Ceil(7U)); in TEST()
538 Align = PowerOf2Ceil(Align); in getAlignmentInfo()549 Align = PowerOf2Ceil(Align); in getAlignmentInfo()
646 inline uint64_t PowerOf2Ceil(uint64_t A) {
659 inline uint64_t PowerOf2Ceil(uint64_t A) {
526 PowerOf2Ceil(OperandRange.getUnsignedMax().getActiveBits()), 8); in processUDivOrURem()
963 unsigned NewNumElts = PowerOf2Ceil(DemandedElts.countPopulation()); in simplifyAMDGCNMemoryIntrinsicDemanded()
166 return std::min(uint64_t(32), PowerOf2Ceil(Symb.getValue())); in getSymbolAlignment()
921 if (!(ShiftAmtKZ & (PowerOf2Ceil(BitWidth) - 1)) && in computeKnownBitsFromShiftOperator()922 !(ShiftAmtKO & (PowerOf2Ceil(BitWidth) - 1))) { in computeKnownBitsFromShiftOperator()
15766 NearestPow2 = PowerOf2Ceil(MaxIndex); in reduceBuildVecToShuffle()
28837 Width = PowerOf2Ceil(std::max(Width, 8U)); in targetShrinkDemandedConstant()