ΒΆtemplate <typename T>
T maskLeadingZeros(unsigned int N)
template <typename T>
T maskLeadingZeros(unsigned int N)
Description
Create a bitmask with the N left-most bits set to 0, and all other bits set to 1. Only unsigned types are allowed.
Declared at: llvm/include/llvm/Support/MathExtras.h:269
Templates
- T
Parameters
- unsigned int N