LLZK 0.1.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
LlzkAffineMapOperandsBuilder Struct Reference

Encapsulates the arguments related to affine maps that are common in operation constructors that support them. More...

#include <Support.h>

Collaboration diagram for LlzkAffineMapOperandsBuilder:
[legend]

Public Attributes

intptr_t nMapOperands
MlirValueRangemapOperands
intptr_t nDimsPerMap
 Set to a negative number to indicate that dimsPerMap.attr must be used instead of dimsPerMap.array.
union { 
   MlirAttribute   attr 
   int32_t *   array 
 List of dimension counts. More...
dimsPerMap

Detailed Description

Encapsulates the arguments related to affine maps that are common in operation constructors that support them.

Definition at line 105 of file Support.h.

Member Data Documentation

◆ array

int32_t* LlzkAffineMapOperandsBuilder::array

List of dimension counts.

Is owned by this struct and it gets automatically allocated/deallocated if the user switches to or from Attr mode.

Definition at line 118 of file Support.h.

◆ attr

MlirAttribute LlzkAffineMapOperandsBuilder::attr

Definition at line 115 of file Support.h.

◆ [union]

union { ... } LlzkAffineMapOperandsBuilder::dimsPerMap

◆ mapOperands

MlirValueRange* LlzkAffineMapOperandsBuilder::mapOperands

Definition at line 109 of file Support.h.

◆ nDimsPerMap

intptr_t LlzkAffineMapOperandsBuilder::nDimsPerMap

Set to a negative number to indicate that dimsPerMap.attr must be used instead of dimsPerMap.array.

The default mode is Array with an uninitialized array.

Definition at line 113 of file Support.h.

◆ nMapOperands

intptr_t LlzkAffineMapOperandsBuilder::nMapOperands

Definition at line 106 of file Support.h.


The documentation for this struct was generated from the following file: