llvm::AAValueConstantRange

An abstract interface for range value analysis.

Synopsis

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

struct AAValueConstantRange
    : StateWrapper<IntegerRangeState, AbstractAttribute, uint32_t>

Base Classes

NameDescription
StateWrapper<IntegerRangeState, AbstractAttribute, uint32_t>Helper to tie a abstract state implementation to an abstract attribute.

Type Aliases

NameDescription
Base Base type of this abstract attribute.
StateType Provide static access to the type of the state.

Member Functions

NameDescription
AAValueConstantRange [constructor]Create a AAValueConstantRange for the position IRP.
getAssumedConstant Return an assumed constant for the associated value at program point CtxI.
getAssumedConstantRange [virtual]Return an assumed range for the associated value at program point CtxI.
getIdAddr [virtual]See AbstractAttribute::getIdAddr()
getKnownConstantRange [virtual]Return a known range for the associated value at program point CtxI.
getName [virtual]See AbstractAttribute::getName()
getState See AbstractAttribute::getState(...).

Static Member Functions

NameDescription
classof This function should return true if the type of the AA is AAValueConstantRange
createForPosition Create an abstract attribute view for the position IRP.
isValidIRPositionForInit See AbstractAttribute::isValidIRPositionForInit
requiresCallersForArgOrFunction See AbstractAttribute::requiresCallersForArgOrFunction

Static Data Members

NameDescription
ID Unique ID (due to the unique address)