Return the minimum or maximum constant value for the specified integer min/max flavor and type.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

APInt
getMinMaxLimit(
    SelectPatternFlavor SPF,
    unsigned int BitWidth);

Return Value

Minimum or maximum APInt for SPF and BitWidth.

Parameters

Name

Description

SPF

Integer min/max select pattern flavor.

BitWidth

Bit width of the returned limit constant.

Created with MrDocs