ΒΆinline bool isShiftedMask_32(
    uint32_t Value,
    unsigned int& MaskIdx,
    unsigned int& MaskLen)

Description

Return true if the argument contains a non-empty sequence of ones with the remainder zero (32 bit version.) Ex. isShiftedMask_32(0x0000FF00U) == true. If true, \p MaskIdx will specify the index of the lowest set bit and \p MaskLen is updated to specify the length of the mask, else neither are updated.

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

Parameters

uint32_t Value
unsigned int& MaskIdx
unsigned int& MaskLen