Struct AxisClass

Struct Documentation

struct AxisClass

The classification of one (value, build-site axis) pair.

Public Members

Index axis
LoopRole role

The value’s summary role: Reduction or LoopInvariant from the value’s own node, else LoopLocal if any occurrence reads the axis in lockstep and LoopCarried if none does.

container::svector<OccurrenceAxisRole> per_occurrence = {}

How each occurrence reads the axis (empty for Reduction / LoopInvariant). A LoopLocal axis may still list Assembled occurrences: the value is built inside the loop for its lockstep readers and also escapes assembled for the others.