llvm::AAAllocationInfo

Abstract attribute describing allocation size information.

Synopsis

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

struct AAAllocationInfo
    : StateWrapper<BooleanState, AbstractAttribute>

Base Classes

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

Type Aliases

NameDescription
StateType Provide static access to the type of the state.

Member Functions

NameDescription
AAAllocationInfo [constructor]Create a AAAllocationInfo for the position IRP.
getAllocatedSize [virtual]Return the assumed allocated size, or HasNoAllocationSize.
getIdAddr [virtual]See AbstractAttribute::getIdAddr()
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 AAAllocationInfo
createForPosition Create an abstract attribute view for the position IRP.
isValidIRPositionForInit See AbstractAttribute::isValidIRPositionForInit

Static Data Members

NameDescription
HasNoAllocationSize Sentinel indicating no allocation size is known.
ID Unique ID (due to the unique address)