ΒΆinline unsigned int Log2_32_Ceil(uint32_t Value)

Description

Return the ceil log base 2 of the specified value, 32 if the value is zero. (32 bit edition). Ex. Log2_32_Ceil(32) == 5, Log2_32_Ceil(1) == 0, Log2_32_Ceil(6) == 3

Declared at: llvm/include/llvm/Support/MathExtras.h:636

Parameters

uint32_t Value