An abstract interface for all align attributes.

Synopsis

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

Base Classes

Name

Description

IRAttribute<Attribute::Alignment, StateWrapper<AAAlignmentStateType, AbstractAttribute>, AAAlign>

Helper class that provides common functionality to manifest IR attributes.

Member Functions

Name

Description

AAAlign [constructor]

Create a AAAlign for the position IRP.

getAssumedAlign

Return assumed alignment.

getAttrKind

Return the kind that identifies the abstract attribute implementation.

getDeducedAttributes [virtual]

Return the deduced attributes in Attrs.

getIdAddr [virtual]

See AbstractAttribute::getIdAddr()

getKnownAlign

Return known alignment.

getName [virtual]

See AbstractAttribute::getName()

manifest [virtual]

See AbstractAttribute::manifest(...).

Static Member Functions

Name

Description

classof

This function should return true if the type of the AA is AAAlign

createForPosition

Create an abstract attribute view for the position IRP.

hasTrivialInitializer

Most boolean IRAttribute AAs don't do anything non‐trivial in their initializers while non‐boolean ones often do. Subclasses can change this.

isImpliedByIR

Return true if the IR already implies this attribute.

isImpliedByPoison

Return true if the IR attribute(s) associated with this AA are implied for an poison value.

isImpliedByUndef

Return true if the IR attribute(s) associated with this AA are implied for an undef value.

isValidIRPositionForInit

See AbstractAttribute::isValidIRPositionForInit

Static Data Members

Name

Description

ID

Unique ID (due to the unique address)

IRAttributeKind

Compile time access to the IR attribute kind.

Created with MrDocs