Skip to content

pool.duplicate

← pool dialect

Create another local owner of a memory pool handle. The result refers to the same pool while retaining a distinct SSA ownership identity.

Operation contract

Property Value
Semantic phase executable
Traits UniqueIdentity, StorageRelation
Interfaces ValueDuplication

Signature

Kind Name Type Cardinality Description
Operand sources any variadic —
Result duplicates any variadic —

Verification constraints

  • ClosedValueTuple(sources)
  • ClosedValueTuple(duplicates)
  • VariadicValuesMatch(duplicates, sources)

Examples

%copy = pool.duplicate %source : pool