LLZK 2.1.1
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
Ops.capi.cpp.inc
Go to the documentation of this file.
1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Op C API Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* From: Ops.td *|
7|* *|
8\*===----------------------------------------------------------------------===*/
9
10
11#include <limits>
12
13using namespace mlir;
14using namespace llvm;
15
16MlirOperation llzkStruct_CreateStructOpBuild(MlirOpBuilder builder, MlirLocation location, MlirType resultType) {
17 MlirOperationState state = mlirOperationStateGet(mlirStringRefCreateFromCString("struct.new"), location);
18 mlirOperationStateAddResults(&state, 1, &resultType);
19
20 return mlirOpBuilderInsert(builder, mlirOperationCreate(&state));
21}
22
24 return llvm::isa<CreateStructOp>(unwrap(inp));
25}
26
27MlirValue llzkStruct_CreateStructOpGetResult(MlirOperation op) {
28 return mlirOperationGetResult(op, 0);
29}
30
31bool llzkOperationIsA_Struct_MemberDefOp(MlirOperation inp) {
32 return llvm::isa<MemberDefOp>(unwrap(inp));
33}
34
35MlirAttribute llzkStruct_MemberDefOpGetSymName(MlirOperation op) {
36 return mlirOperationGetAttributeByName(op, mlirStringRefCreateFromCString("sym_name"));
37}
38
39void llzkStruct_MemberDefOpSetSymName(MlirOperation op, MlirAttribute attr) {
40 mlirOperationSetAttributeByName(op, mlirStringRefCreateFromCString("sym_name"), attr);
41}
42
43MlirAttribute llzkStruct_MemberDefOpGetType(MlirOperation op) {
44 return mlirOperationGetAttributeByName(op, mlirStringRefCreateFromCString("type"));
45}
46
47void llzkStruct_MemberDefOpSetType(MlirOperation op, MlirAttribute attr) {
48 mlirOperationSetAttributeByName(op, mlirStringRefCreateFromCString("type"), attr);
49}
50
51MlirAttribute llzkStruct_MemberDefOpGetColumn(MlirOperation op) {
52 return mlirOperationGetAttributeByName(op, mlirStringRefCreateFromCString("column"));
53}
54
55void llzkStruct_MemberDefOpSetColumn(MlirOperation op, MlirAttribute attr) {
56 mlirOperationSetAttributeByName(op, mlirStringRefCreateFromCString("column"), attr);
57}
58
59MlirAttribute llzkStruct_MemberDefOpGetSignal(MlirOperation op) {
60 return mlirOperationGetAttributeByName(op, mlirStringRefCreateFromCString("signal"));
61}
62
63void llzkStruct_MemberDefOpSetSignal(MlirOperation op, MlirAttribute attr) {
64 mlirOperationSetAttributeByName(op, mlirStringRefCreateFromCString("signal"), attr);
65}
66
67void llzkStruct_MemberDefOpSetPublicAttr(MlirOperation inp, bool newValue) {
68 llvm::cast<MemberDefOp>(unwrap(inp)).setPublicAttr(newValue);
69}
70
71bool llzkStruct_MemberDefOpHasPublicAttr(MlirOperation inp) {
72 return llvm::cast<MemberDefOp>(unwrap(inp)).hasPublicAttr();
73}
74
75bool llzkOperationIsA_Struct_MemberReadOp(MlirOperation inp) {
76 return llvm::isa<MemberReadOp>(unwrap(inp));
77}
78
79MlirValue llzkStruct_MemberReadOpGetComponent(MlirOperation op) {
80 auto range = llvm::cast<MemberReadOp>(unwrap(op)).getODSOperandIndexAndLength(0);
81 assert(range.second == 1 && "expected fixed operand segment size");
82 assert(
83 static_cast<uintptr_t>(range.first) <= static_cast<uintptr_t>(std::numeric_limits<intptr_t>::max()) &&
84 "operand index exceeds intptr_t range"
85 );
86 return mlirOperationGetOperand(op, static_cast<intptr_t>(range.first));
87}
88
89void llzkStruct_MemberReadOpSetComponent(MlirOperation op, MlirValue value) {
90 auto range = llvm::cast<MemberReadOp>(unwrap(op)).getODSOperandIndexAndLength(0);
91 assert(range.second == 1 && "expected fixed operand segment size");
92 assert(
93 static_cast<uintptr_t>(range.first) <= static_cast<uintptr_t>(std::numeric_limits<intptr_t>::max()) &&
94 "operand index exceeds intptr_t range"
95 );
96 mlirOperationSetOperand(op, static_cast<intptr_t>(range.first), value);
97}
98
100 auto range = llvm::cast<MemberReadOp>(unwrap(op)).getODSOperandIndexAndLength(1);
101 return range.second;
102}
103
104MlirValue llzkStruct_MemberReadOpGetMapOperandsAt(MlirOperation op, intptr_t index) {
105 auto range = llvm::cast<MemberReadOp>(unwrap(op)).getODSOperandIndexAndLength(1);
106 assert(index >= 0 && index < range.second && "variadic operand index out of range");
107 assert(
108 static_cast<uintptr_t>(range.first) <= static_cast<uintptr_t>(std::numeric_limits<intptr_t>::max()) &&
109 "operand index exceeds intptr_t range"
110 );
111 return mlirOperationGetOperand(op, static_cast<intptr_t>(range.first) + index);
112}
113
114void llzkStruct_MemberReadOpSetMapOperands(MlirOperation op, intptr_t groupCount, MlirValueRange const *groups) {
115 if (groupCount < 0)
116 return;
117
118 ::llvm::SmallVector<::mlir::Value> vals;
119 for (intptr_t g = 0; g < groupCount; ++g) {
120 assert(groups[g].size >= 0 && "group size must be non-negative");
121 for (intptr_t i = 0; i < groups[g].size; ++i) {
122 vals.push_back(unwrap(groups[g].values[i]));
123 }
124 }
125 ::llvm::cast<MemberReadOp>(unwrap(op)).getMapOperandsMutable().join().assign(vals);
126
127 ::llvm::SmallVector<int32_t> newGroupSizes;
128 newGroupSizes.reserve(static_cast<size_t>(groupCount));
129 for (intptr_t g = 0; g < groupCount; ++g) {
130 assert(
131 groups[g].size <= static_cast<intptr_t>(std::numeric_limits<int32_t>::max()) &&
132 "group size exceeds int32_t range"
133 );
134 newGroupSizes.push_back(static_cast<int32_t>(groups[g].size));
135 }
136 MlirContext ctx = mlirOperationGetContext(op);
137 assert(
138 newGroupSizes.size() <= static_cast<size_t>(std::numeric_limits<intptr_t>::max()) &&
139 "group count exceeds intptr_t range"
140 );
141 mlirOperationSetAttributeByName(
142 op, mlirStringRefCreateFromCString("mapOpGroupSizes"),
143 mlirDenseI32ArrayGet(ctx, static_cast<intptr_t>(newGroupSizes.size()), newGroupSizes.data())
144 );
145}
146
147MlirAttribute llzkStruct_MemberReadOpGetMemberName(MlirOperation op) {
148 return mlirOperationGetAttributeByName(op, mlirStringRefCreateFromCString("member_name"));
149}
150
151void llzkStruct_MemberReadOpSetMemberName(MlirOperation op, MlirAttribute attr) {
152 mlirOperationSetAttributeByName(op, mlirStringRefCreateFromCString("member_name"), attr);
153}
154
155MlirAttribute llzkStruct_MemberReadOpGetTableOffset(MlirOperation op) {
156 return mlirOperationGetAttributeByName(op, mlirStringRefCreateFromCString("tableOffset"));
157}
158
159void llzkStruct_MemberReadOpSetTableOffset(MlirOperation op, MlirAttribute attr) {
160 mlirOperationSetAttributeByName(op, mlirStringRefCreateFromCString("tableOffset"), attr);
161}
162
163MlirAttribute llzkStruct_MemberReadOpGetNumDimsPerMap(MlirOperation op) {
164 return mlirOperationGetAttributeByName(op, mlirStringRefCreateFromCString("numDimsPerMap"));
165}
166
167void llzkStruct_MemberReadOpSetNumDimsPerMap(MlirOperation op, MlirAttribute attr) {
168 mlirOperationSetAttributeByName(op, mlirStringRefCreateFromCString("numDimsPerMap"), attr);
169}
170
171MlirAttribute llzkStruct_MemberReadOpGetMapOpGroupSizes(MlirOperation op) {
172 return mlirOperationGetAttributeByName(op, mlirStringRefCreateFromCString("mapOpGroupSizes"));
173}
174
175void llzkStruct_MemberReadOpSetMapOpGroupSizes(MlirOperation op, MlirAttribute attr) {
176 mlirOperationSetAttributeByName(op, mlirStringRefCreateFromCString("mapOpGroupSizes"), attr);
177}
178
179MlirValue llzkStruct_MemberReadOpGetVal(MlirOperation op) {
180 return mlirOperationGetResult(op, 0);
181}
182
183MlirOperation llzkStruct_MemberWriteOpBuild(MlirOpBuilder builder, MlirLocation location, MlirValue component, MlirValue val, MlirAttribute member_name) {
184 MlirOperationState state = mlirOperationStateGet(mlirStringRefCreateFromCString("struct.writem"), location);
185 mlirOperationStateAddOperands(&state, 1, &component);
186 mlirOperationStateAddOperands(&state, 1, &val);
187 MlirContext ctx = mlirOpBuilderGetContext(builder);
188 llvm::SmallVector<MlirNamedAttribute, 1> attributes;
189 if (!mlirAttributeIsNull(member_name)) {
190 attributes.push_back(mlirNamedAttributeGet(mlirIdentifierGet(ctx, mlirStringRefCreateFromCString("member_name")), member_name));
191 }
192 mlirOperationStateAddAttributes(&state, attributes.size(), attributes.data());
193
194 return mlirOpBuilderInsert(builder, mlirOperationCreate(&state));
195}
196
198 return llvm::isa<MemberWriteOp>(unwrap(inp));
199}
200
201MlirValue llzkStruct_MemberWriteOpGetComponent(MlirOperation op) {
202 auto range = llvm::cast<MemberWriteOp>(unwrap(op)).getODSOperandIndexAndLength(0);
203 assert(range.second == 1 && "expected fixed operand segment size");
204 assert(
205 static_cast<uintptr_t>(range.first) <= static_cast<uintptr_t>(std::numeric_limits<intptr_t>::max()) &&
206 "operand index exceeds intptr_t range"
207 );
208 return mlirOperationGetOperand(op, static_cast<intptr_t>(range.first));
209}
210
211void llzkStruct_MemberWriteOpSetComponent(MlirOperation op, MlirValue value) {
212 auto range = llvm::cast<MemberWriteOp>(unwrap(op)).getODSOperandIndexAndLength(0);
213 assert(range.second == 1 && "expected fixed operand segment size");
214 assert(
215 static_cast<uintptr_t>(range.first) <= static_cast<uintptr_t>(std::numeric_limits<intptr_t>::max()) &&
216 "operand index exceeds intptr_t range"
217 );
218 mlirOperationSetOperand(op, static_cast<intptr_t>(range.first), value);
219}
220
221MlirValue llzkStruct_MemberWriteOpGetVal(MlirOperation op) {
222 auto range = llvm::cast<MemberWriteOp>(unwrap(op)).getODSOperandIndexAndLength(1);
223 assert(range.second == 1 && "expected fixed operand segment size");
224 assert(
225 static_cast<uintptr_t>(range.first) <= static_cast<uintptr_t>(std::numeric_limits<intptr_t>::max()) &&
226 "operand index exceeds intptr_t range"
227 );
228 return mlirOperationGetOperand(op, static_cast<intptr_t>(range.first));
229}
230
231void llzkStruct_MemberWriteOpSetVal(MlirOperation op, MlirValue value) {
232 auto range = llvm::cast<MemberWriteOp>(unwrap(op)).getODSOperandIndexAndLength(1);
233 assert(range.second == 1 && "expected fixed operand segment size");
234 assert(
235 static_cast<uintptr_t>(range.first) <= static_cast<uintptr_t>(std::numeric_limits<intptr_t>::max()) &&
236 "operand index exceeds intptr_t range"
237 );
238 mlirOperationSetOperand(op, static_cast<intptr_t>(range.first), value);
239}
240
241MlirAttribute llzkStruct_MemberWriteOpGetMemberName(MlirOperation op) {
242 return mlirOperationGetAttributeByName(op, mlirStringRefCreateFromCString("member_name"));
243}
244
245void llzkStruct_MemberWriteOpSetMemberName(MlirOperation op, MlirAttribute attr) {
246 mlirOperationSetAttributeByName(op, mlirStringRefCreateFromCString("member_name"), attr);
247}
248
249MlirOperation llzkStruct_StructDefOpBuild(MlirOpBuilder builder, MlirLocation location, MlirIdentifier sym_name) {
250 MlirOperationState state = mlirOperationStateGet(mlirStringRefCreateFromCString("struct.def"), location);
251 MlirContext ctx = mlirOpBuilderGetContext(builder);
252 llvm::SmallVector<MlirNamedAttribute, 1> attributes;
253 if (!mlirAttributeIsNull(reinterpret_cast<MlirAttribute&>(sym_name))) {
254 attributes.push_back(mlirNamedAttributeGet(mlirIdentifierGet(ctx, mlirStringRefCreateFromCString("sym_name")), reinterpret_cast<MlirAttribute&>(sym_name)));
255 }
256 mlirOperationStateAddAttributes(&state, attributes.size(), attributes.data());
257 llvm::SmallVector<MlirRegion, 1> regions;
258 regions.push_back(mlirRegionCreate());
259 mlirOperationStateAddOwnedRegions(&state, regions.size(), regions.data());
260
261 return mlirOpBuilderInsert(builder, mlirOperationCreate(&state));
262}
263
264bool llzkOperationIsA_Struct_StructDefOp(MlirOperation inp) {
265 return llvm::isa<StructDefOp>(unwrap(inp));
266}
267
268MlirAttribute llzkStruct_StructDefOpGetSymName(MlirOperation op) {
269 return mlirOperationGetAttributeByName(op, mlirStringRefCreateFromCString("sym_name"));
270}
271
272void llzkStruct_StructDefOpSetSymName(MlirOperation op, MlirAttribute attr) {
273 mlirOperationSetAttributeByName(op, mlirStringRefCreateFromCString("sym_name"), attr);
274}
275
276MlirRegion llzkStruct_StructDefOpGetBodyRegion(MlirOperation op) {
277 return mlirOperationGetRegion(op, 0);
278}
279
280MlirOperation llzkStruct_StructDefOpGetComputeFuncOp(MlirOperation inp) {
281 return wrap(llvm::cast<StructDefOp>(unwrap(inp)).getComputeFuncOp());
282}
283
284MlirOperation llzkStruct_StructDefOpGetProductFuncOp(MlirOperation inp) {
285 return wrap(llvm::cast<StructDefOp>(unwrap(inp)).getProductFuncOp());
286}
287
288MlirOperation llzkStruct_StructDefOpGetMemberDef(MlirOperation inp, MlirIdentifier memberName) {
289 return wrap(llvm::cast<StructDefOp>(unwrap(inp)).getMemberDef(unwrap(memberName)));
290}
291
292MlirLogicalResult llzkStruct_StructDefOpHasColumns(MlirOperation inp) {
293 return wrap(llvm::cast<StructDefOp>(unwrap(inp)).hasColumns());
294}
295
297 return llvm::cast<StructDefOp>(unwrap(inp)).hasComputeConstrain();
298}
299
300MlirOperation llzkStruct_StructDefOpGetConstrainFuncOp(MlirOperation inp) {
301 return wrap(llvm::cast<StructDefOp>(unwrap(inp)).getConstrainFuncOp());
302}
303
305 return llvm::cast<StructDefOp>(unwrap(inp)).hasTemplateSymbolBindings();
306}
307
308MlirLogicalResult llzkStruct_StructDefOpHasSignals(MlirOperation inp) {
309 return wrap(llvm::cast<StructDefOp>(unwrap(inp)).hasSignals());
310}
311
313 return llvm::cast<StructDefOp>(unwrap(inp)).isMainComponent();
314}
315
316MlirAttribute llzkStruct_StructDefOpGetFullyQualifiedName(MlirOperation inp) {
317 return wrap(llvm::cast<StructDefOp>(unwrap(inp)).getFullyQualifiedName());
318}
MlirContext mlirOpBuilderGetContext(MlirOpBuilder builder)
Returns the MLIR context associated with builder.
Definition Builder.cpp:95
MlirOperation mlirOpBuilderInsert(MlirOpBuilder builder, MlirOperation op)
Inserts op at the current insertion point of builder and returns it.
Definition Builder.cpp:167
MlirAttribute llzkStruct_MemberReadOpGetNumDimsPerMap(MlirOperation op)
Get NumDimsPerMap attribute from llzk::component::MemberReadOp Operation.
MlirRegion llzkStruct_StructDefOpGetBodyRegion(MlirOperation op)
Get BodyRegion region from llzk::component::StructDefOp Operation.
MlirOperation llzkStruct_MemberWriteOpBuild(MlirOpBuilder builder, MlirLocation location, MlirValue component, MlirValue val, MlirAttribute member_name)
Build a llzk::component::MemberWriteOp Operation.
bool llzkOperationIsA_Struct_CreateStructOp(MlirOperation inp)
Returns true if the Operation is a llzk::component::CreateStructOp.
MlirOperation llzkStruct_StructDefOpBuild(MlirOpBuilder builder, MlirLocation location, MlirIdentifier sym_name)
Build a llzk::component::StructDefOp Operation.
MlirValue llzkStruct_MemberWriteOpGetVal(MlirOperation op)
Get Val operand from llzk::component::MemberWriteOp Operation.
MlirOperation llzkStruct_StructDefOpGetConstrainFuncOp(MlirOperation inp)
Gets the FuncDefOp that defines the constrain function in this structure, if present,...
bool llzkStruct_StructDefOpHasComputeConstrain(MlirOperation inp)
Returns true iff this structure defines compute and constrain functions.
void llzkStruct_MemberWriteOpSetVal(MlirOperation op, MlirValue value)
Set Val operand of llzk::component::MemberWriteOp Operation.
intptr_t llzkStruct_MemberReadOpGetMapOperandsCount(MlirOperation op)
Get number of MapOperands operands in llzk::component::MemberReadOp Operation.
MlirOperation llzkStruct_StructDefOpGetProductFuncOp(MlirOperation inp)
Gets the FuncDefOp that defines the product function in this structure, if present,...
bool llzkOperationIsA_Struct_MemberReadOp(MlirOperation inp)
Returns true if the Operation is a llzk::component::MemberReadOp.
MlirValue llzkStruct_MemberReadOpGetMapOperandsAt(MlirOperation op, intptr_t index)
Get MapOperands operand at index from llzk::component::MemberReadOp Operation.
void llzkStruct_MemberReadOpSetTableOffset(MlirOperation op, MlirAttribute attr)
Set TableOffset attribute of llzk::component::MemberReadOp Operation.
void llzkStruct_MemberDefOpSetSymName(MlirOperation op, MlirAttribute attr)
Set SymName attribute of llzk::component::MemberDefOp Operation.
void llzkStruct_MemberDefOpSetType(MlirOperation op, MlirAttribute attr)
Set Type attribute of llzk::component::MemberDefOp Operation.
void llzkStruct_MemberWriteOpSetComponent(MlirOperation op, MlirValue value)
Set Component operand of llzk::component::MemberWriteOp Operation.
MlirAttribute llzkStruct_StructDefOpGetSymName(MlirOperation op)
Get SymName attribute from llzk::component::StructDefOp Operation.
MlirValue llzkStruct_MemberWriteOpGetComponent(MlirOperation op)
Get Component operand from llzk::component::MemberWriteOp Operation.
void llzkStruct_MemberReadOpSetNumDimsPerMap(MlirOperation op, MlirAttribute attr)
Set NumDimsPerMap attribute of llzk::component::MemberReadOp Operation.
MlirAttribute llzkStruct_MemberReadOpGetMemberName(MlirOperation op)
Get MemberName attribute from llzk::component::MemberReadOp Operation.
bool llzkStruct_StructDefOpHasTemplateSymbolBindings(MlirOperation inp)
Return true iff the struct.def appears within a poly.template that defines constant parameters and/or...
MlirLogicalResult llzkStruct_StructDefOpHasSignals(MlirOperation inp)
Returns whether the struct defines members marked as signals.
MlirAttribute llzkStruct_MemberDefOpGetType(MlirOperation op)
Get Type attribute from llzk::component::MemberDefOp Operation.
void llzkStruct_MemberDefOpSetColumn(MlirOperation op, MlirAttribute attr)
Set Column attribute of llzk::component::MemberDefOp Operation.
void llzkStruct_MemberDefOpSetPublicAttr(MlirOperation inp, bool newValue)
setPublicAttr
bool llzkOperationIsA_Struct_MemberDefOp(MlirOperation inp)
Returns true if the Operation is a llzk::component::MemberDefOp.
MlirAttribute llzkStruct_MemberWriteOpGetMemberName(MlirOperation op)
Get MemberName attribute from llzk::component::MemberWriteOp Operation.
MlirAttribute llzkStruct_MemberReadOpGetTableOffset(MlirOperation op)
Get TableOffset attribute from llzk::component::MemberReadOp Operation.
void llzkStruct_MemberReadOpSetComponent(MlirOperation op, MlirValue value)
Set Component operand of llzk::component::MemberReadOp Operation.
MlirAttribute llzkStruct_MemberDefOpGetSignal(MlirOperation op)
Get Signal attribute from llzk::component::MemberDefOp Operation.
MlirValue llzkStruct_CreateStructOpGetResult(MlirOperation op)
Get Result result from llzk::component::CreateStructOp Operation.
MlirValue llzkStruct_MemberReadOpGetVal(MlirOperation op)
Get Val result from llzk::component::MemberReadOp Operation.
void llzkStruct_MemberDefOpSetSignal(MlirOperation op, MlirAttribute attr)
Set Signal attribute of llzk::component::MemberDefOp Operation.
void llzkStruct_MemberReadOpSetMapOpGroupSizes(MlirOperation op, MlirAttribute attr)
Set MapOpGroupSizes attribute of llzk::component::MemberReadOp Operation.
void llzkStruct_MemberWriteOpSetMemberName(MlirOperation op, MlirAttribute attr)
Set MemberName attribute of llzk::component::MemberWriteOp Operation.
MlirLogicalResult llzkStruct_StructDefOpHasColumns(MlirOperation inp)
Returns whether the struct defines members marked as columns.
bool llzkStruct_MemberDefOpHasPublicAttr(MlirOperation inp)
hasPublicAttr
bool llzkOperationIsA_Struct_MemberWriteOp(MlirOperation inp)
Returns true if the Operation is a llzk::component::MemberWriteOp.
bool llzkStruct_StructDefOpIsMainComponent(MlirOperation inp)
Return true iff this struct.def is the main struct. See llzk::MAIN_ATTR_NAME.
MlirOperation llzkStruct_CreateStructOpBuild(MlirOpBuilder builder, MlirLocation location, MlirType resultType)
Build a llzk::component::CreateStructOp Operation.
void llzkStruct_StructDefOpSetSymName(MlirOperation op, MlirAttribute attr)
Set SymName attribute of llzk::component::StructDefOp Operation.
MlirOperation llzkStruct_StructDefOpGetMemberDef(MlirOperation inp, MlirIdentifier memberName)
Gets the MemberDefOp that defines the member in this structure with the given name,...
void llzkStruct_MemberReadOpSetMemberName(MlirOperation op, MlirAttribute attr)
Set MemberName attribute of llzk::component::MemberReadOp Operation.
MlirAttribute llzkStruct_MemberDefOpGetColumn(MlirOperation op)
Get Column attribute from llzk::component::MemberDefOp Operation.
bool llzkOperationIsA_Struct_StructDefOp(MlirOperation inp)
Returns true if the Operation is a llzk::component::StructDefOp.
MlirValue llzkStruct_MemberReadOpGetComponent(MlirOperation op)
Get Component operand from llzk::component::MemberReadOp Operation.
MlirOperation llzkStruct_StructDefOpGetComputeFuncOp(MlirOperation inp)
Gets the FuncDefOp that defines the compute function in this structure, if present,...
MlirAttribute llzkStruct_StructDefOpGetFullyQualifiedName(MlirOperation inp)
Return the full name for this struct from the root module, including any surrounding module scopes.
MlirAttribute llzkStruct_MemberReadOpGetMapOpGroupSizes(MlirOperation op)
Get MapOpGroupSizes attribute from llzk::component::MemberReadOp Operation.
void llzkStruct_MemberReadOpSetMapOperands(MlirOperation op, intptr_t groupCount, MlirValueRange const *groups)
Set MapOperands operand groups of llzk::component::MemberReadOp Operation.
MlirAttribute llzkStruct_MemberDefOpGetSymName(MlirOperation op)
Get SymName attribute from llzk::component::MemberDefOp Operation.
Representation of an mlir::ValueRange
Definition Support.h:47
intptr_t size
Number of values in the range.
Definition Support.h:51