Skip to content

index.andi

index dialect

Bitwise AND over logical coordinate values. Offsets are physical byte counts and cannot use this op.

Operation contract

Property Value
Semantic phase executable
Traits Pure, Commutative, DistributionTransfer

Signature

Kind Name Type Cardinality Description
Operand lhs index required
Operand rhs index required
Result result index required

Verification constraints

  • SameType(lhs, rhs, result)

Examples

%r = index.andi %lhs, %rhs : index