Return true if the argument is a non‐empty low‐bit ones mask (32‐bit).

Synopsis

Declared in <llvm/Support/MathExtras.h>

constexpr
bool
isMask_32(uint32_t Value);

Description

The remainder bits must be zero. Ex. isMask_32(0x0000FFFFU) == true.

Return Value

True if Value is a non‐empty low‐bit ones mask.

Parameters

Name

Description

Value

32‐bit value to test.

Created with MrDocs