ΒΆinline constexpr uint64_t NextPowerOf2(uint64_t A)

Description

Returns the next power of two (in 64-bits) that is strictly greater than A. Returns zero on overflow.

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

Parameters

uint64_t A