isShiftedMask_64 overloads

Synopses

Declared in <llvm/Support/MathExtras.h>

Return true if the argument contains a non‐empty sequence of ones with the remainder zero (64 bit version.)

constexpr
bool
isShiftedMask_64(uint64_t Value);

Return true if Value is a non‐empty shifted ones mask (64‐bit).

bool
isShiftedMask_64(
    uint64_t Value,
    unsigned int& MaskIdx,
    unsigned int& MaskLen);

Return Value

True if Value is a non‐empty shifted ones mask.

Parameters

Name

Description

Value

64‐bit value to test.

MaskIdx

Set to the index of the lowest set bit when true.

MaskLen

Set to the number of consecutive ones when true.

Created with MrDocs