llvm::AAValueConstantRange::getKnownConstantRange

Return a known range for the associated value at program point CtxI.

Synopsis

Declared in <llvm/Transforms/IPO/Attributor.h>

virtual
ConstantRange
getKnownConstantRange(
    Attributor& A,
    Instruction const* CtxI = nullptr) const = 0;

Description

If CtxI is nullptr, simply return a known range.

Return Value

A known range for the associated value at program point CtxI.

Parameters

NameDescription
AThe Attributor managing the analysis.
CtxIOptional context instruction for the query.