Expand description
Static type and node-variant qualification for scalar-flow SIMD promotion.
This module does not rewrite a graph. It establishes the production boundary a rewrite must pass before it may form a packet plan: an explicit scalar-node contract, a supported scalar/register lane shape, pure nodes, and exact register-typed I/O. Final Cranelift compilation remains the authoritative lowering probe.
Structs§
- Simd
Type Shape - A scalar type’s fixed 128-bit Polydat register representation.
- Validated
Simd Variant - A scalar node whose declared register variant has passed static shape and semantic validation. It still needs whole-cone Cranelift compilation.
Enums§
- Simd
Lane Kind - Interpretation of scalar values sharing one physical register lane shape.
- Simd
Variant Error - Why a scalar node’s declared register variant was not accepted.
Functions§
- promotable_
type_ shape - Physically representable fixed-width shapes for the first promotion tier.
- validate_
simd_ variant - Validate an instantiated scalar node and its declared register node.