Skip to main content

Module attributes

Module attributes 

Source
Expand description

Attributes belonging to the LLVM dialect.

Structs§

AddressSpaceAttr
Address space of a pointer or global, corresponding to LLVM’s addrspace(N).
AlignmentAttr
CaseValuesAttr
An attribute that contains a list of case values for a switch operation.
CaseValuesAttrVerifyErr
FastmathFlagParseErr
FastmathFlags
Fast math flags for floating point operations.
FastmathFlagsAttr
GepIndicesAttr
InsertExtractValueIndicesAttr
IntegerOverflowFlagsAttr
Integer overflow flags for arithmetic operations. The description below is from LLVM’s release notes that added the flags. “nsw” and “nuw” bits indicate that the operation is guaranteed to not overflow (in the signed or unsigned case, respectively). This gives the optimizer more information and can be used for things like C signed integer values, which are undefined on overflow.
ShuffleVectorMaskAttr

Enums§

AtomicOrderingAttr
Memory ordering for an atomic operation (atomicrmw / cmpxchg / fence / atomic load / store).
AtomicRmwKindAttr
The kind of an LLVM atomicrmw operation.
FCmpPredicateAttr
GepIndexAttr
An index for a GEP can be either a constant or an SSA operand. Contrary to its name, this isn’t an Attribute.
ICmpPredicateAttr
LinkageAttr