Searched refs:CountLeadingZeros_32 (Results 1 – 15 of 15) sorted by relevance
97 static inline unsigned CountLeadingZeros_32(uint32_t Value) { in CountLeadingZeros_32() function127 return CountLeadingZeros_32(~Value); in CountLeadingOnes_32()168 Count = CountLeadingZeros_32(Hi); in CountLeadingZeros_64()173 Count = CountLeadingZeros_32(Lo)+32; in CountLeadingZeros_64()276 return 31 - CountLeadingZeros_32(Value); in Log2_32()289 return 32-CountLeadingZeros_32(Value-1); in Log2_32_Ceil()
41 TEST(MathExtras, CountLeadingZeros_32) { in TEST() argument42 EXPECT_EQ(8u, CountLeadingZeros_32(0x00F000FF)); in TEST()43 EXPECT_EQ(8u, CountLeadingZeros_32(0x00F12345)); in TEST()45 EXPECT_EQ(31 - i, CountLeadingZeros_32(1 << i)); in TEST()
146 inline unsigned CountLeadingZeros_32(uint32_t Value) { in CountLeadingZeros_32() function175 return CountLeadingZeros_32(~Value); in CountLeadingOnes_32()210 Count = CountLeadingZeros_32(Hi); in CountLeadingZeros_64()215 Count = CountLeadingZeros_32(Lo)+32; in CountLeadingZeros_64()312 return 31 - CountLeadingZeros_32(Value); in Log2_32()325 return 32-CountLeadingZeros_32(Value-1); in Log2_32_Ceil()
64 int msksize = 32 - CountLeadingZeros_32(value); in immMskBitp()163 SDValue MskSize = getI32Imm(32 - CountLeadingZeros_32(Val)); in Select()
87 return getI32Imm(32 - CountLeadingZeros_32(N->getZExtValue()));
250 unsigned RotAmt = CountLeadingZeros_32(ThisVal); in emitT2RegPlusImmediate()267 unsigned RotAmt = CountLeadingZeros_32(ThisVal); in emitT2RegPlusImmediate()449 unsigned RotAmt = CountLeadingZeros_32(Offset); in rewriteT2FrameIndex()
1041 int32_t msb = (32 - CountLeadingZeros_32(v)) - 1; in emitDataProcessingInstruction()
6895 unsigned Width = (32 - CountLeadingZeros_32(~InvMask)) - LSB; in PerformBFICombine()
313 MB = CountLeadingZeros_32(Val); in isRunOfOnes()315 ME = CountLeadingZeros_32((Val - 1) ^ Val); in isRunOfOnes()321 ME = CountLeadingZeros_32(Val) - 1; in isRunOfOnes()323 MB = CountLeadingZeros_32((Val - 1) ^ Val) + 1; in isRunOfOnes()
324 unsigned RotAmt = CountLeadingZeros_32(V); in getT2SOImmValRotateVal()
1282 int32_t width = (32 - CountLeadingZeros_32 (v)) - lsb; in printBitfieldInvMaskImmOperand()
298 unsigned RotAmt = CountLeadingZeros_32(V); in getT2SOImmValRotateVal()
1300 uint32_t msb = (32 - CountLeadingZeros_32 (v)) - 1; in getBitfieldInvertedMaskOpValue()
553 int32_t width = (32 - CountLeadingZeros_32 (v)) - lsb; in printBitfieldInvMaskImmOperand()
1614 unsigned shift = CountLeadingZeros_32(v[n-1]); in KnuthDiv()