Expand description
Attributes belonging to the LLVM dialect.
Structs§
- Address
Space Attr - Address space of a pointer or global, corresponding to LLVM’s
addrspace(N). - Alignment
Attr - Case
Values Attr - An attribute that contains a list of case values for a switch operation.
- Case
Values Attr Verify Err - Fastmath
Flag Parse Err - Fastmath
Flags - Fast math flags for floating point operations.
- Fastmath
Flags Attr - GepIndices
Attr - Insert
Extract Value Indices Attr - Integer
Overflow Flags Attr - 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.
- Shuffle
Vector Mask Attr
Enums§
- Atomic
Ordering Attr - Memory ordering for an atomic operation (
atomicrmw/cmpxchg/fence/ atomicload/store). - Atomic
RmwKind Attr - The kind of an LLVM
atomicrmwoperation. - FCmp
Predicate Attr - GepIndex
Attr - An index for a GEP can be either a constant or an SSA operand. Contrary to its name, this isn’t an Attribute.
- ICmp
Predicate Attr - Linkage
Attr