asConstantRange overloads

Synopses

Declared in <llvm/Analysis/ValueLattice.h>

Return this lattice element as a constant range of bit width BW.

ConstantRange
asConstantRange(
    unsigned int BW,
    bool UndefAllowed = false) const;

Return this lattice element as a constant range for type Ty.

ConstantRange
asConstantRange(
    Type* Ty,
    bool UndefAllowed = false) const;

Return Value

A constant range approximating this lattice element.

Parameters

Name

Description

BW

Bit width of the range to produce.

UndefAllowed

Whether ranges that may include undef are allowed.

Ty

Integer or integer‐vector type providing the bit width.

Created with MrDocs