Determine the possible constant range of vscale with the given bit width, based on the vscale_range function attribute.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

ConstantRange
getVScaleRange(
    Function const* F,
    unsigned int BitWidth);

Return Value

Constant range of possible vscale values.

Parameters

Name

Description

F

Function whose vscale_range attribute is consulted.

BitWidth

Bit width of the resulting constant range.

Created with MrDocs