Return the ceil log base 2 of the specified value (32-bit).
Declared in <llvm/Support/MathExtras.h>
unsigned int
Log2_32_Ceil(uint32_t Value);
Returns 32 if the value is zero. Ex. Log2_32_Ceil(32) == 5, Log2_32_Ceil(1) == 0, Log2_32_Ceil(6) == 3
The ceil log base 2 of Value, or 32 if Value is zero.
| Name | Description |
|---|---|
| Value | 32-bit value whose ceil log2 is returned. |