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). - Aggregate
Attr - A constant aggregate, with a constant attribute per element:
LLVM’s
ConstantArray,ConstantStructorConstantVector(and theirDatavariants) - Alignment
Attr - Bytes
Attr - An attribute containing a sequence of bytes: LLVM’s
ConstantDataArrayofi8s. - 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 - GepNo
Wrap Flag Parse Err - GepNo
Wrap Flags - No-wrap flags for getelementptr operations.
- GepNo
Wrap Flags 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.
- Poison
Attr - The
poisonvalue of a type. - Shuffle
Vector Mask Attr - Splat
Attr - A vector constant all of whose elements are
element: LLVM’ssplat (...) - Symbol
Addr Attr - The address of a global variable or a function, LLVM’s
ptr @symbol. - Undef
Attr - The
undefvalue of a type. - Zero
Attr - The “zero” value of a type: a null pointer, or an all-zero-bits aggregate.
Enums§
- Atomic
Ordering Attr - Memory ordering for an atomic operation
- Atomic
RmwKind Attr - The kind of an LLVM
atomicrmwoperation. - Const
Aggregate Verify Err - 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][pliron::attribute::Attribute].
- ICmp
Predicate Attr - Linkage
Attr - Sync
Scope Attr - Synchronization scope of an atomic operation
Statics§
- ATTR_
KEY_ LLVM_ DATA_ LAYOUT - Attribute key for the LLVM data layout string of a [ModuleOp].
- ATTR_
KEY_ LLVM_ TARGET_ TRIPLE - Attribute key for the LLVM target triple of a [ModuleOp].
Functions§
- get_
data_ layout - Get the LLVM data layout of
module, if set. - get_
target_ triple - Get the LLVM target triple of
module, if set. - set_
data_ layout - Set the LLVM data layout of
module. - set_
target_ triple - Set the LLVM target triple of
module.