Skip to content

Attribute reference

Parameterized attributes and enum vocabularies used by canonical Loom IR.

Parameterized attributes

Attribute Summary
#encoding.match Typed semantic requirements for an encoded storage schema.
#func.location.field A captured source field range in its file node's coordinate space.
#func.location.file Captured file range and optional original source text beginning at the start line.
#func.location.fused Provenance derived from several captured locations.
#func.location.opaque Captured external source identity and uninterpreted payload.
#func.location.tagged Tagged provenance with an optional captured child.
#func.location.unknown An explicitly unknown captured location.
#target.subgroup.size Requires the active function-version facts to establish this subgroup size.

Enum vocabularies

Enum Summary
aie2p.Aie2pTargetKind AIE2P target row selected by aie2p.target.
aie2p.ArtifactFormatAttr Linkable or loadable artifact format produced for a snapshot.
aie2p.ExportAbiKind Callable or package ABI used by an export plan.
aie2p.ExportLinkage ABI-required linkage for exported object functions or entry points.
aie2p.SnapshotCodegenFormat Primary codegen representation emitted for a target snapshot.
amdgpu.AmdgpuTargetIdFeature Configurable AMDHSA target-ID feature.
amdgpu.AmdgpuTargetKind AMDGPU target row selected by amdgpu.target.
amdgpu.ArtifactFormatAttr Linkable or loadable artifact format produced for a snapshot.
amdgpu.ExportAbiKind Callable or package ABI used by an export plan.
amdgpu.ExportLinkage ABI-required linkage for exported object functions or entry points.
amdgpu.SnapshotCodegenFormat Primary codegen representation emitted for a target snapshot.
buffer.AtomicFenceOrdering Memory ordering permitted on a standalone fence.
buffer.AtomicScope Synchronization scope for atomic memory effects.
buffer.MemorySpace Target-independent memory space for storage roots, views, and fences.
check.FileWriteMode Fixture output policy for file writes.
check.NanPolicy NaN comparison policy for approximate expectations.
check.RangePolicy Deterministic scalar range sampling policy.
check.Visibility Check symbol visibility.
command.Retain Private symbol retention policy.
command.Visibility Function visibility.
encoding.AffinePolicy Affine transform applied to encoded values.
encoding.AuxiliaryKey Auxiliary SSA operand key shared by encoded storage schemas.
encoding.CodebookPolicy Codebook source for indexed encoded values.
encoding.EncodingRole Semantic role carried by an encoding SSA value type.
encoding.NumericFormat Target-independent encoded numeric format.
encoding.PayloadPacking Physical payload bit and field layout.
encoding.RoundingPolicy Rounding and exceptional-value policy for encoded values.
encoding.ScaleTopology Scale sharing topology for encoded values.
encoding.SparsityPolicy Sparse payload organization for encoded values.
encoding.TransformNormalization Normalization applied by a numeric transform.
func.CallingConv Function calling convention.
func.ExportAbiKind Callable or package ABI used by an export plan.
func.InlinePolicy Author inline policy.
func.LocationFieldKind Source field category in a captured file range.
func.Purity Function purity.
func.Retain Private symbol retention policy.
func.Temperature Execution temperature hint.
func.Visibility Function visibility.
index.IndexPredicate Address-domain comparison predicates.
kernel.AtomicOrdering Atomic memory ordering between memory accesses.
kernel.CacheScope Target-independent cache scope for memory operations.
kernel.CacheTemporal Target-independent temporal cache policy for memory operations.
kernel.CombiningKind Algebraic combining operations for reductions and scans.
kernel.ExportLinkage ABI-required linkage for exported object functions or entry points.
kernel.KernelAsyncDirection Required async copy direction.
kernel.KernelDimension Three-dimensional kernel coordinate axis.
kernel.KernelScanDirection Subgroup scan lane order.
kernel.KernelScanMode Subgroup scan inclusivity.
kernel.KernelScope Execution scope participating in a kernel barrier.
kernel.KernelSubgroupShuffleMode Subgroup lane shuffle addressing mode.
kernel.KernelWorkgroupScanDirection Workgroup scan workitem order.
kernel.KernelWorkgroupScanMode Workgroup scan inclusivity.
kernel.MemorySpace Target-independent memory space for storage roots, views, and fences.
kernel.Retain Private symbol retention policy.
low.CallingConv Function calling convention.
low.ExportAbiKind Callable or package ABI used by an export plan.
low.ExportLinkage ABI-required linkage for exported object functions or entry points.
low.InlinePolicy Author inline policy.
low.LowAllocationMode Register allocation exactness mode for a low function.
low.LowCodeImportKind External code source kind for an imported low function declaration.
low.LowResourceImportKind Target-provided ABI resource imported into a low function body.
low.LowScfForSignedness Integer interpretation of low.scf.for bounds, step, and induction values, independent of the register class.
low.LowScfForUnrollPolicy Local low.scf.for unroll policy.
low.LowScheduleMode Instruction scheduling exactness mode for a low function.
low.MemoryAccessFlags Execution-semantics modifiers shared by scalar and vector memory accesses.
low.Purity Function purity.
low.Retain Private symbol retention policy.
low.StorageSpace Function-local byte storage space.
low.Visibility Function visibility.
pass.PassAnchor Pass pipeline execution anchor.
pass.PassRepeatMode Pass pipeline repeat mode.
pipeline.CombiningKind Algebraic combining operations for reductions and scans.
pipeline.FastMathFlags IEEE 754 fast-math relaxation flags for float operations.
pipeline.PipelineScope Required materialization boundary.
pipeline.Retain Private symbol retention policy.
pipeline.Visibility Function visibility.
sanitizer.AtomicOrdering Atomic memory ordering between memory accesses.
sanitizer.AtomicScope Synchronization scope for atomic memory effects.
sanitizer.MemorySpace Target-independent memory space for storage roots, views, and fences.
sanitizer.SanitizerAccessKind Logical memory access kind covered by a sanitizer access assertion.
sanitizer.SanitizerAccessesKind Logical memory access kind covered by a repeated sanitizer access assertion.
sanitizer.SanitizerRaceAccessKind Logical memory access kind covered by a sanitizer race observation.
sanitizer.SanitizerRaceFragmentAccessKind Memory effect observed for a matrix-fragment race access.
sanitizer.SanitizerRaceFragmentAccessRole Matrix address-mapping role of a fragment race access.
scalar.ClampFMode Floating-point clamp NaN and comparison policy.
scalar.CmpFPredicate IEEE 754 ordered and unordered floating-point predicates.
scalar.CmpIPredicate Integer comparison predicates.
scalar.FastMathFlags IEEE 754 fast-math relaxation flags for float operations.
scalar.GeluVariant GELU activation formula family.
scalar.IntOverflowFlags Integer overflow behavior flags.
scf.ScfForUnrollPolicy Local scf.for unroll policy.
scf.ScfForUnrollSchedule Local scf.for unroll body ordering.
spirv.ArtifactFormatAttr Linkable or loadable artifact format produced for a snapshot.
spirv.ExportAbiKind Callable or package ABI used by an export plan.
spirv.ExportLinkage ABI-required linkage for exported object functions or entry points.
spirv.SnapshotCodegenFormat Primary codegen representation emitted for a target snapshot.
spirv.SpirvCooperativeMatrixUse Operand role encoded by a SPIR-V CooperativeMatrixUse operand.
spirv.SpirvScalarType SPIR-V semantic scalar type.
spirv.SpirvScope Execution scope encoded by a SPIR-V Scope operand.
spirv.SpirvTargetKind SPIR-V target row selected by spirv.target.
target.ArtifactFormatAttr Linkable or loadable artifact format produced for a snapshot.
target.ExportAbiKind Callable or package ABI used by an export plan.
target.ExportLinkage ABI-required linkage for exported object functions or entry points.
target.GenericTargetKind Generic target-family row selected by target.generic.
target.SnapshotCodegenFormat Primary codegen representation emitted for a target snapshot.
template.CallingConv Function calling convention.
template.Purity Function purity.
template.Retain Private symbol retention policy.
template.Temperature Execution temperature hint.
template.Visibility Function visibility.
vector.AtomicKind Read-modify-write operation kind supported by view and vector atomics.
vector.AtomicMemoryFlags Explicit numerical requirements for atomic memory updates.
vector.AtomicOrdering Atomic memory ordering between memory accesses.
vector.AtomicScope Synchronization scope for atomic memory effects.
vector.CacheScope Target-independent cache scope for memory operations.
vector.CacheTemporal Target-independent temporal cache policy for memory operations.
vector.ClampFMode Floating-point clamp NaN and comparison policy.
vector.CmpFPredicate IEEE 754 ordered and unordered floating-point predicates.
vector.CmpIPredicate Integer comparison predicates.
vector.CombiningKind Algebraic combining operations for reductions and scans.
vector.FastMathFlags IEEE 754 fast-math relaxation flags for float operations.
vector.FloatDot4F8Kind Format variants for packed four-lane fp8/bf8 dot products accumulated into f32 lanes.
vector.GeluVariant GELU activation formula family.
vector.IntOverflowFlags Integer overflow behavior flags.
vector.IntegerDot4Kind Signedness variants for four-lane i8 dot products accumulated into i32 lanes.
vector.IntegerDot8I4Kind Signedness variants for packed eight-lane i4 dot products accumulated into i32 lanes.
vector.MemoryAccessFlags Execution-semantics modifiers shared by scalar and vector memory accesses.
vector.MmaFlags Matrix multiply-accumulate semantic flags.
vector.QuantizeNaN NaN handling policy for table-based scalar quantization.
vector.QuantizeTie Threshold equality policy for table-based scalar quantization.
vector.VectorFragmentRole —
view.AtomicKind Read-modify-write operation kind supported by view and vector atomics.
view.AtomicLoadOrdering Memory ordering permitted on an atomic load.
view.AtomicMemoryFlags Explicit numerical requirements for atomic memory updates.
view.AtomicOrdering Atomic memory ordering between memory accesses.
view.AtomicScope Synchronization scope for atomic memory effects.
view.AtomicStoreOrdering Memory ordering permitted on an atomic store.
view.CacheScope Target-independent cache scope for memory operations.
view.CacheTemporal Target-independent temporal cache policy for memory operations.
view.MemoryAccessFlags Execution-semantics modifiers shared by scalar and vector memory accesses.
view.PrefetchIntent Intended future access kind for a prefetch hint.
view.PrefetchLocality Target-independent prefetch locality hint.
vm.VmTargetKind Instruction set selected by vm.target.
wasm.ArtifactFormatAttr Linkable or loadable artifact format produced for a snapshot.
wasm.ExportAbiKind Callable or package ABI used by an export plan.
wasm.ExportLinkage ABI-required linkage for exported object functions or entry points.
wasm.SnapshotCodegenFormat Primary codegen representation emitted for a target snapshot.
wasm.WasmTargetKind Wasm target row selected by wasm.target.
x86.ArtifactFormatAttr Linkable or loadable artifact format produced for a snapshot.
x86.ExportAbiKind Callable or package ABI used by an export plan.
x86.ExportLinkage ABI-required linkage for exported object functions or entry points.
x86.SnapshotCodegenFormat Primary codegen representation emitted for a target snapshot.
x86.X86TargetKind x86 target row selected by x86.target.