LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
Ops.h.inc
Go to the documentation of this file.
1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Op Declarations *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* From: Ops.td *|
7|* *|
8\*===----------------------------------------------------------------------===*/
9
10#if defined(GET_OP_CLASSES) || defined(GET_OP_FWD_DEFINES)
11#undef GET_OP_FWD_DEFINES
12namespace llzk {
13namespace global {
14class GlobalDefOp;
15} // namespace global
16} // namespace llzk
17namespace llzk {
18namespace global {
19class GlobalReadOp;
20} // namespace global
21} // namespace llzk
22namespace llzk {
23namespace global {
24class GlobalWriteOp;
25} // namespace global
26} // namespace llzk
27#endif
28
29#ifdef GET_OP_CLASSES
30#undef GET_OP_CLASSES
31
32
33//===----------------------------------------------------------------------===//
34// Local Utility Method Definitions
35//===----------------------------------------------------------------------===//
36
37namespace llzk {
38namespace global {
39
40//===----------------------------------------------------------------------===//
41// ::llzk::global::GlobalDefOp declarations
42//===----------------------------------------------------------------------===//
43
44namespace detail {
46public:
47 struct Properties {
48 using constantTy = ::mlir::UnitAttr;
50
51 auto getConstant() {
52 auto &propStorage = this->constant;
53 return ::llvm::dyn_cast_or_null<::mlir::UnitAttr>(propStorage);
54 }
55 void setConstant(const ::mlir::UnitAttr &propValue) {
56 this->constant = propValue;
57 }
58 using initial_valueTy = ::mlir::Attribute;
60
62 auto &propStorage = this->initial_value;
63 return ::llvm::dyn_cast_or_null<::mlir::Attribute>(propStorage);
64 }
65 void setInitialValue(const ::mlir::Attribute &propValue) {
66 this->initial_value = propValue;
67 }
68 using sym_nameTy = ::mlir::StringAttr;
70
71 auto getSymName() {
72 auto &propStorage = this->sym_name;
73 return ::llvm::cast<::mlir::StringAttr>(propStorage);
74 }
75 void setSymName(const ::mlir::StringAttr &propValue) {
76 this->sym_name = propValue;
77 }
78 using typeTy = ::mlir::TypeAttr;
80
81 auto getType() {
82 auto &propStorage = this->type;
83 return ::llvm::cast<::mlir::TypeAttr>(propStorage);
84 }
85 void setType(const ::mlir::TypeAttr &propValue) {
86 this->type = propValue;
87 }
88 bool operator==(const Properties &rhs) const {
89 return
90 rhs.constant == this->constant &&
91 rhs.initial_value == this->initial_value &&
92 rhs.sym_name == this->sym_name &&
93 rhs.type == this->type &&
94 true;
95 }
96 bool operator!=(const Properties &rhs) const {
97 return !(*this == rhs);
98 }
99 };
100protected:
101 ::mlir::DictionaryAttr odsAttrs;
102 ::std::optional<::mlir::OperationName> odsOpName;
104 ::mlir::RegionRange odsRegions;
105public:
106 GlobalDefOpGenericAdaptorBase(::mlir::DictionaryAttr attrs = nullptr, const Properties &properties = {}, ::mlir::RegionRange regions = {});
107
109
110 std::pair<unsigned, unsigned> getODSOperandIndexAndLength(unsigned index, unsigned odsOperandsSize);
112 return properties;
113 }
114
115 ::mlir::DictionaryAttr getAttributes();
116 ::mlir::StringAttr getSymNameAttr();
117 ::llvm::StringRef getSymName();
118 ::mlir::UnitAttr getConstantAttr();
119 bool getConstant();
120 ::mlir::TypeAttr getTypeAttr();
121 ::mlir::Type getType();
122 ::mlir::Attribute getInitialValueAttr();
123 ::mlir::Attribute getInitialValue();
124};
125} // namespace detail
126template <typename RangeT>
128 using ValueT = ::llvm::detail::ValueOfRange<RangeT>;
130public:
131 GlobalDefOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs = nullptr, const Properties &properties = {}, ::mlir::RegionRange regions = {}) : Base(attrs, properties, regions), odsOperands(values) {}
132
133 GlobalDefOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions = {}) : GlobalDefOpGenericAdaptor(values, attrs, (properties ? *properties.as<Properties *>() : Properties{}), regions) {}
134
135 template <typename LateInst = GlobalDefOp, typename = std::enable_if_t<std::is_same_v<LateInst, GlobalDefOp>>>
136 GlobalDefOpGenericAdaptor(RangeT values, LateInst op) : Base(op), odsOperands(values) {}
137
138 std::pair<unsigned, unsigned> getODSOperandIndexAndLength(unsigned index) {
139 return Base::getODSOperandIndexAndLength(index, odsOperands.size());
140 }
141
142 RangeT getODSOperands(unsigned index) {
143 auto valueRange = getODSOperandIndexAndLength(index);
144 return {std::next(odsOperands.begin(), valueRange.first),
145 std::next(odsOperands.begin(), valueRange.first + valueRange.second)};
146 }
147
148 RangeT getOperands() {
149 return odsOperands;
150 }
151
152private:
153 RangeT odsOperands;
154};
155class GlobalDefOpAdaptor : public GlobalDefOpGenericAdaptor<::mlir::ValueRange> {
156public:
159
160 ::mlir::LogicalResult verify(::mlir::Location loc);
161};
162class GlobalDefOp : public ::mlir::Op<GlobalDefOp, ::mlir::OpTrait::ZeroRegions, ::mlir::OpTrait::ZeroResults, ::mlir::OpTrait::ZeroSuccessors, ::mlir::OpTrait::ZeroOperands, ::mlir::OpTrait::HasParent<mlir::ModuleOp>::Impl, ::mlir::OpTrait::OpInvariants, ::mlir::BytecodeOpInterface::Trait, ::mlir::SymbolUserOpInterface::Trait, ::mlir::SymbolOpInterface::Trait> {
163public:
164 using Op::Op;
165 using Op::print;
167 template <typename RangeT>
171 static ::llvm::ArrayRef<::llvm::StringRef> getAttributeNames() {
172 static ::llvm::StringRef attrNames[] = {::llvm::StringRef("constant"), ::llvm::StringRef("initial_value"), ::llvm::StringRef("sym_name"), ::llvm::StringRef("type")};
173 return ::llvm::ArrayRef(attrNames);
174 }
175
176 ::mlir::StringAttr getConstantAttrName() {
177 return getAttributeNameForIndex(0);
178 }
179
180 static ::mlir::StringAttr getConstantAttrName(::mlir::OperationName name) {
181 return getAttributeNameForIndex(name, 0);
182 }
183
184 ::mlir::StringAttr getInitialValueAttrName() {
185 return getAttributeNameForIndex(1);
186 }
187
188 static ::mlir::StringAttr getInitialValueAttrName(::mlir::OperationName name) {
189 return getAttributeNameForIndex(name, 1);
190 }
191
192 ::mlir::StringAttr getSymNameAttrName() {
193 return getAttributeNameForIndex(2);
194 }
195
196 static ::mlir::StringAttr getSymNameAttrName(::mlir::OperationName name) {
197 return getAttributeNameForIndex(name, 2);
198 }
199
200 ::mlir::StringAttr getTypeAttrName() {
201 return getAttributeNameForIndex(3);
202 }
203
204 static ::mlir::StringAttr getTypeAttrName(::mlir::OperationName name) {
205 return getAttributeNameForIndex(name, 3);
206 }
207
208 static constexpr ::llvm::StringLiteral getOperationName() {
209 return ::llvm::StringLiteral("global.def");
210 }
211
212 std::pair<unsigned, unsigned> getODSOperandIndexAndLength(unsigned index);
213 ::mlir::Operation::operand_range getODSOperands(unsigned index);
214 std::pair<unsigned, unsigned> getODSResultIndexAndLength(unsigned index);
215 ::mlir::Operation::result_range getODSResults(unsigned index);
216 static ::mlir::LogicalResult setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError);
217 static ::mlir::Attribute getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop);
218 static llvm::hash_code computePropertiesHash(const Properties &prop);
219 static std::optional<mlir::Attribute> getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name);
220 static void setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value);
221 static void populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs);
222 static ::mlir::LogicalResult verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError);
223 static ::mlir::LogicalResult readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state);
224 void writeProperties(::mlir::DialectBytecodeWriter &writer);
225 ::mlir::StringAttr getSymNameAttr();
226 ::llvm::StringRef getSymName();
227 ::mlir::UnitAttr getConstantAttr();
228 bool getConstant();
229 ::mlir::TypeAttr getTypeAttr();
230 ::mlir::Type getType();
231 ::mlir::Attribute getInitialValueAttr();
232 ::mlir::Attribute getInitialValue();
233 void setSymNameAttr(::mlir::StringAttr attr);
234 void setSymName(::llvm::StringRef attrValue);
235 void setConstantAttr(::mlir::UnitAttr attr);
236 void setConstant(bool attrValue);
237 void setTypeAttr(::mlir::TypeAttr attr);
238 void setType(::mlir::Type attrValue);
239 void setInitialValueAttr(::mlir::Attribute attr);
240 ::mlir::Attribute removeConstantAttr();
241 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::StringAttr sym_name, /*optional*/::mlir::UnitAttr constant, ::mlir::TypeAttr type, ::mlir::Attribute initial_value = nullptr);
242 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::StringAttr sym_name, /*optional*/::mlir::UnitAttr constant, ::mlir::TypeAttr type, ::mlir::Attribute initial_value = nullptr);
243 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llvm::StringRef sym_name, /*optional*/bool constant, ::mlir::Type type, ::mlir::Attribute initial_value);
244 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llvm::StringRef sym_name, /*optional*/bool constant, ::mlir::Type type, ::mlir::Attribute initial_value);
245 static void build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
246 static void populateDefaultProperties(::mlir::OperationName opName, Properties &properties);
247 ::mlir::LogicalResult verifyInvariantsImpl();
248 ::mlir::LogicalResult verifyInvariants();
249 ::mlir::LogicalResult verify();
250 ::mlir::LogicalResult verifySymbolUses(::mlir::SymbolTableCollection &symbolTable);
251 static ::mlir::ParseResult parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result);
252 void print(::mlir::OpAsmPrinter &_odsPrinter);
253private:
254 ::mlir::StringAttr getAttributeNameForIndex(unsigned index) {
255 return getAttributeNameForIndex((*this)->getName(), index);
256 }
257
258 static ::mlir::StringAttr getAttributeNameForIndex(::mlir::OperationName name, unsigned index) {
259 assert(index < 4 && "invalid attribute index");
260 assert(name.getStringRef() == getOperationName() && "invalid operation name");
261 assert(name.isRegistered() && "Operation isn't registered, missing a "
262 "dependent dialect loading?");
263 return name.getAttributeNames()[index];
264 }
265
266public:
267 static ::mlir::ParseResult parseGlobalInitialValue(::mlir::OpAsmParser &parser,
268 ::mlir::Attribute &initialValue, ::mlir::TypeAttr typeAttr
269 );
270 static void printGlobalInitialValue(::mlir::OpAsmPrinter &printer, GlobalDefOp op,
271 ::mlir::Attribute initialValue, ::mlir::TypeAttr typeAttr
272 );
273
274 inline bool isConstant() { return getConstant(); }
275};
276} // namespace global
277} // namespace llzk
278MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::global::GlobalDefOp)
279
280namespace llzk {
281namespace global {
282
283//===----------------------------------------------------------------------===//
284// ::llzk::global::GlobalReadOp declarations
285//===----------------------------------------------------------------------===//
286
287namespace detail {
289public:
290 struct Properties {
291 using name_refTy = ::mlir::SymbolRefAttr;
293
294 auto getNameRef() {
295 auto &propStorage = this->name_ref;
296 return ::llvm::cast<::mlir::SymbolRefAttr>(propStorage);
297 }
298 void setNameRef(const ::mlir::SymbolRefAttr &propValue) {
299 this->name_ref = propValue;
300 }
301 bool operator==(const Properties &rhs) const {
302 return
303 rhs.name_ref == this->name_ref &&
304 true;
305 }
306 bool operator!=(const Properties &rhs) const {
307 return !(*this == rhs);
308 }
309 };
310protected:
311 ::mlir::DictionaryAttr odsAttrs;
312 ::std::optional<::mlir::OperationName> odsOpName;
314 ::mlir::RegionRange odsRegions;
315public:
316 GlobalReadOpGenericAdaptorBase(::mlir::DictionaryAttr attrs = nullptr, const Properties &properties = {}, ::mlir::RegionRange regions = {});
317
319
320 std::pair<unsigned, unsigned> getODSOperandIndexAndLength(unsigned index, unsigned odsOperandsSize);
322 return properties;
323 }
324
325 ::mlir::DictionaryAttr getAttributes();
326 ::mlir::SymbolRefAttr getNameRefAttr();
327 ::mlir::SymbolRefAttr getNameRef();
328};
329} // namespace detail
330template <typename RangeT>
332 using ValueT = ::llvm::detail::ValueOfRange<RangeT>;
334public:
335 GlobalReadOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs = nullptr, const Properties &properties = {}, ::mlir::RegionRange regions = {}) : Base(attrs, properties, regions), odsOperands(values) {}
336
337 GlobalReadOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions = {}) : GlobalReadOpGenericAdaptor(values, attrs, (properties ? *properties.as<Properties *>() : Properties{}), regions) {}
338
339 template <typename LateInst = GlobalReadOp, typename = std::enable_if_t<std::is_same_v<LateInst, GlobalReadOp>>>
340 GlobalReadOpGenericAdaptor(RangeT values, LateInst op) : Base(op), odsOperands(values) {}
341
342 std::pair<unsigned, unsigned> getODSOperandIndexAndLength(unsigned index) {
343 return Base::getODSOperandIndexAndLength(index, odsOperands.size());
344 }
345
346 RangeT getODSOperands(unsigned index) {
347 auto valueRange = getODSOperandIndexAndLength(index);
348 return {std::next(odsOperands.begin(), valueRange.first),
349 std::next(odsOperands.begin(), valueRange.first + valueRange.second)};
350 }
351
352 RangeT getOperands() {
353 return odsOperands;
354 }
355
356private:
357 RangeT odsOperands;
358};
359class GlobalReadOpAdaptor : public GlobalReadOpGenericAdaptor<::mlir::ValueRange> {
360public:
363
364 ::mlir::LogicalResult verify(::mlir::Location loc);
365};
366class GlobalReadOp : public ::mlir::Op<GlobalReadOp, ::mlir::OpTrait::ZeroRegions, ::mlir::OpTrait::OneResult, ::mlir::OpTrait::OneTypedResult<::mlir::Type>::Impl, ::mlir::OpTrait::ZeroSuccessors, ::mlir::OpTrait::ZeroOperands, ::mlir::OpTrait::OpInvariants, ::mlir::BytecodeOpInterface::Trait, ::llzk::global::GlobalRefOpInterface::Trait, ::mlir::SymbolUserOpInterface::Trait> {
367public:
368 using Op::Op;
369 using Op::print;
371 template <typename RangeT>
375 static ::llvm::ArrayRef<::llvm::StringRef> getAttributeNames() {
376 static ::llvm::StringRef attrNames[] = {::llvm::StringRef("name_ref")};
377 return ::llvm::ArrayRef(attrNames);
378 }
379
380 ::mlir::StringAttr getNameRefAttrName() {
381 return getAttributeNameForIndex(0);
382 }
383
384 static ::mlir::StringAttr getNameRefAttrName(::mlir::OperationName name) {
385 return getAttributeNameForIndex(name, 0);
386 }
387
388 static constexpr ::llvm::StringLiteral getOperationName() {
389 return ::llvm::StringLiteral("global.read");
390 }
391
392 std::pair<unsigned, unsigned> getODSOperandIndexAndLength(unsigned index);
393 ::mlir::Operation::operand_range getODSOperands(unsigned index);
394 std::pair<unsigned, unsigned> getODSResultIndexAndLength(unsigned index);
395 ::mlir::Operation::result_range getODSResults(unsigned index);
396 ::mlir::Value getVal();
397 static ::mlir::LogicalResult setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError);
398 static ::mlir::Attribute getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop);
399 static llvm::hash_code computePropertiesHash(const Properties &prop);
400 static std::optional<mlir::Attribute> getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name);
401 static void setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value);
402 static void populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs);
403 static ::mlir::LogicalResult verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError);
404 static ::mlir::LogicalResult readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state);
405 void writeProperties(::mlir::DialectBytecodeWriter &writer);
406 ::mlir::SymbolRefAttr getNameRefAttr();
407 ::mlir::SymbolRefAttr getNameRef();
408 void setNameRefAttr(::mlir::SymbolRefAttr attr);
409 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type val, ::mlir::SymbolRefAttr name_ref);
410 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::SymbolRefAttr name_ref);
411 static void build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
412 ::mlir::LogicalResult verifyInvariantsImpl();
413 ::mlir::LogicalResult verifyInvariants();
414 ::mlir::LogicalResult verifySymbolUses(::mlir::SymbolTableCollection &symbolTable);
415 static ::mlir::ParseResult parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result);
416 void print(::mlir::OpAsmPrinter &_odsPrinter);
417private:
418 ::mlir::StringAttr getAttributeNameForIndex(unsigned index) {
419 return getAttributeNameForIndex((*this)->getName(), index);
420 }
421
422 static ::mlir::StringAttr getAttributeNameForIndex(::mlir::OperationName name, unsigned index) {
423 assert(index < 1 && "invalid attribute index");
424 assert(name.getStringRef() == getOperationName() && "invalid operation name");
425 assert(name.isRegistered() && "Operation isn't registered, missing a "
426 "dependent dialect loading?");
427 return name.getAttributeNames()[index];
428 }
429
430public:
432 inline ::mlir::FailureOr<SymbolLookupResult<GlobalDefOp>> getGlobalDefOp(::mlir::SymbolTableCollection &tables) {
433 return ::llvm::cast<GlobalRefOpInterface>(getOperation()).getGlobalDefOp(tables);
434 }
435};
436} // namespace global
437} // namespace llzk
438MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::global::GlobalReadOp)
439
440namespace llzk {
441namespace global {
442
443//===----------------------------------------------------------------------===//
444// ::llzk::global::GlobalWriteOp declarations
445//===----------------------------------------------------------------------===//
446
447namespace detail {
449public:
450 struct Properties {
451 using name_refTy = ::mlir::SymbolRefAttr;
453
454 auto getNameRef() {
455 auto &propStorage = this->name_ref;
456 return ::llvm::cast<::mlir::SymbolRefAttr>(propStorage);
457 }
458 void setNameRef(const ::mlir::SymbolRefAttr &propValue) {
459 this->name_ref = propValue;
460 }
461 bool operator==(const Properties &rhs) const {
462 return
463 rhs.name_ref == this->name_ref &&
464 true;
465 }
466 bool operator!=(const Properties &rhs) const {
467 return !(*this == rhs);
468 }
469 };
470protected:
471 ::mlir::DictionaryAttr odsAttrs;
472 ::std::optional<::mlir::OperationName> odsOpName;
474 ::mlir::RegionRange odsRegions;
475public:
476 GlobalWriteOpGenericAdaptorBase(::mlir::DictionaryAttr attrs = nullptr, const Properties &properties = {}, ::mlir::RegionRange regions = {});
477
479
480 std::pair<unsigned, unsigned> getODSOperandIndexAndLength(unsigned index, unsigned odsOperandsSize);
482 return properties;
483 }
484
485 ::mlir::DictionaryAttr getAttributes();
486 ::mlir::SymbolRefAttr getNameRefAttr();
487 ::mlir::SymbolRefAttr getNameRef();
488};
489} // namespace detail
490template <typename RangeT>
492 using ValueT = ::llvm::detail::ValueOfRange<RangeT>;
494public:
495 GlobalWriteOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs = nullptr, const Properties &properties = {}, ::mlir::RegionRange regions = {}) : Base(attrs, properties, regions), odsOperands(values) {}
496
497 GlobalWriteOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions = {}) : GlobalWriteOpGenericAdaptor(values, attrs, (properties ? *properties.as<Properties *>() : Properties{}), regions) {}
498
499 template <typename LateInst = GlobalWriteOp, typename = std::enable_if_t<std::is_same_v<LateInst, GlobalWriteOp>>>
500 GlobalWriteOpGenericAdaptor(RangeT values, LateInst op) : Base(op), odsOperands(values) {}
501
502 std::pair<unsigned, unsigned> getODSOperandIndexAndLength(unsigned index) {
503 return Base::getODSOperandIndexAndLength(index, odsOperands.size());
504 }
505
506 RangeT getODSOperands(unsigned index) {
507 auto valueRange = getODSOperandIndexAndLength(index);
508 return {std::next(odsOperands.begin(), valueRange.first),
509 std::next(odsOperands.begin(), valueRange.first + valueRange.second)};
510 }
511
512 ValueT getVal() {
513 return (*getODSOperands(0).begin());
514 }
515
516 RangeT getOperands() {
517 return odsOperands;
518 }
519
520private:
521 RangeT odsOperands;
522};
523class GlobalWriteOpAdaptor : public GlobalWriteOpGenericAdaptor<::mlir::ValueRange> {
524public:
527
528 ::mlir::LogicalResult verify(::mlir::Location loc);
529};
530class GlobalWriteOp : public ::mlir::Op<GlobalWriteOp, ::mlir::OpTrait::ZeroRegions, ::mlir::OpTrait::ZeroResults, ::mlir::OpTrait::ZeroSuccessors, ::mlir::OpTrait::OneOperand, ::llzk::function::WitnessGen, ::mlir::OpTrait::OpInvariants, ::mlir::BytecodeOpInterface::Trait, ::llzk::global::GlobalRefOpInterface::Trait, ::mlir::SymbolUserOpInterface::Trait> {
531public:
532 using Op::Op;
533 using Op::print;
535 template <typename RangeT>
539 static ::llvm::ArrayRef<::llvm::StringRef> getAttributeNames() {
540 static ::llvm::StringRef attrNames[] = {::llvm::StringRef("name_ref")};
541 return ::llvm::ArrayRef(attrNames);
542 }
543
544 ::mlir::StringAttr getNameRefAttrName() {
545 return getAttributeNameForIndex(0);
546 }
547
548 static ::mlir::StringAttr getNameRefAttrName(::mlir::OperationName name) {
549 return getAttributeNameForIndex(name, 0);
550 }
551
552 static constexpr ::llvm::StringLiteral getOperationName() {
553 return ::llvm::StringLiteral("global.write");
554 }
555
556 std::pair<unsigned, unsigned> getODSOperandIndexAndLength(unsigned index);
557 ::mlir::Operation::operand_range getODSOperands(unsigned index);
558 ::mlir::Value getVal();
559 ::mlir::OpOperand &getValMutable();
560 std::pair<unsigned, unsigned> getODSResultIndexAndLength(unsigned index);
561 ::mlir::Operation::result_range getODSResults(unsigned index);
562 static ::mlir::LogicalResult setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError);
563 static ::mlir::Attribute getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop);
564 static llvm::hash_code computePropertiesHash(const Properties &prop);
565 static std::optional<mlir::Attribute> getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name);
566 static void setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value);
567 static void populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs);
568 static ::mlir::LogicalResult verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError);
569 static ::mlir::LogicalResult readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state);
570 void writeProperties(::mlir::DialectBytecodeWriter &writer);
571 ::mlir::SymbolRefAttr getNameRefAttr();
572 ::mlir::SymbolRefAttr getNameRef();
573 void setNameRefAttr(::mlir::SymbolRefAttr attr);
574 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::SymbolRefAttr name_ref, ::mlir::Value val);
575 static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::SymbolRefAttr name_ref, ::mlir::Value val);
576 static void build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
577 ::mlir::LogicalResult verifyInvariantsImpl();
578 ::mlir::LogicalResult verifyInvariants();
579 ::mlir::LogicalResult verifySymbolUses(::mlir::SymbolTableCollection &symbolTable);
580 static ::mlir::ParseResult parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result);
581 void print(::mlir::OpAsmPrinter &_odsPrinter);
582private:
583 ::mlir::StringAttr getAttributeNameForIndex(unsigned index) {
584 return getAttributeNameForIndex((*this)->getName(), index);
585 }
586
587 static ::mlir::StringAttr getAttributeNameForIndex(::mlir::OperationName name, unsigned index) {
588 assert(index < 1 && "invalid attribute index");
589 assert(name.getStringRef() == getOperationName() && "invalid operation name");
590 assert(name.isRegistered() && "Operation isn't registered, missing a "
591 "dependent dialect loading?");
592 return name.getAttributeNames()[index];
593 }
594
595public:
597 inline ::mlir::FailureOr<SymbolLookupResult<GlobalDefOp>> getGlobalDefOp(::mlir::SymbolTableCollection &tables) {
598 return ::llvm::cast<GlobalRefOpInterface>(getOperation()).getGlobalDefOp(tables);
599 }
600};
601} // namespace global
602} // namespace llzk
603MLIR_DECLARE_EXPLICIT_TYPE_ID(::llzk::global::GlobalWriteOp)
604
605
606#endif // GET_OP_CLASSES
607
GlobalDefOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs=nullptr, const Properties &properties={}, ::mlir::RegionRange regions={})
Definition Ops.h.inc:131
GlobalDefOpAdaptor(GlobalDefOp op)
Definition Ops.cpp.inc:177
::mlir::LogicalResult verify(::mlir::Location loc)
Definition Ops.cpp.inc:179
GlobalDefOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
Definition Ops.h.inc:133
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index)
Definition Ops.h.inc:138
GlobalDefOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs=nullptr, const Properties &properties={}, ::mlir::RegionRange regions={})
Definition Ops.h.inc:131
RangeT getODSOperands(unsigned index)
Definition Ops.h.inc:142
GlobalDefOpGenericAdaptor(RangeT values, LateInst op)
Definition Ops.h.inc:136
void setInitialValueAttr(::mlir::Attribute attr)
Definition Ops.cpp.inc:515
static void populateDefaultProperties(::mlir::OperationName opName, Properties &properties)
Definition Ops.cpp.inc:577
::mlir::LogicalResult setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
Definition Ops.cpp.inc:221
GlobalDefOpAdaptor Adaptor
Definition Ops.h.inc:166
FoldAdaptor::Properties Properties
Definition Ops.h.inc:170
::mlir::Attribute getInitialValue()
Definition Ops.cpp.inc:484
void setType(::mlir::Type attrValue)
Definition Ops.cpp.inc:511
::mlir::LogicalResult readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
Definition Ops.cpp.inc:425
::mlir::LogicalResult verifyInvariantsImpl()
Definition Ops.cpp.inc:583
::mlir::StringAttr getSymNameAttrName(::mlir::OperationName name)
Definition Ops.h.inc:196
::mlir::Type getType()
Definition Ops.cpp.inc:475
::mlir::Attribute removeConstantAttr()
Definition Ops.cpp.inc:519
::mlir::StringAttr getConstantAttrName(::mlir::OperationName name)
Definition Ops.h.inc:180
std::pair< unsigned, unsigned > getODSResultIndexAndLength(unsigned index)
Definition Ops.cpp.inc:211
void setTypeAttr(::mlir::TypeAttr attr)
Definition Ops.cpp.inc:507
::mlir::ParseResult parseGlobalInitialValue(::mlir::OpAsmParser &parser, ::mlir::Attribute &initialValue, ::mlir::TypeAttr typeAttr)
Definition Ops.cpp:36
::mlir::UnitAttr getConstantAttr()
Definition Ops.cpp.inc:460
static std::optional< mlir::Attribute > getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
Definition Ops.cpp.inc:351
static void printGlobalInitialValue(::mlir::OpAsmPrinter &printer, GlobalDefOp op, ::mlir::Attribute initialValue, ::mlir::TypeAttr typeAttr)
Definition Ops.cpp:62
::llvm::StringRef getSymName()
Definition Ops.cpp.inc:455
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index)
Definition Ops.cpp.inc:201
GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > > FoldAdaptor
Definition Ops.h.inc:169
::mlir::StringAttr getSymNameAttrName()
Definition Ops.h.inc:192
::mlir::LogicalResult verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
Definition Ops.cpp.inc:398
::mlir::Attribute getInitialValueAttr()
Definition Ops.cpp.inc:480
::mlir::Operation::result_range getODSResults(unsigned index)
Definition Ops.cpp.inc:215
::mlir::Attribute getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop)
Definition Ops.cpp.inc:306
::mlir::LogicalResult verifySymbolUses(::mlir::SymbolTableCollection &symbolTable)
Definition Ops.cpp:77
GlobalDefOpGenericAdaptor< RangeT > GenericAdaptor
Definition Ops.h.inc:168
::mlir::StringAttr getInitialValueAttrName(::mlir::OperationName name)
Definition Ops.h.inc:188
void setSymName(::llvm::StringRef attrValue)
Definition Ops.cpp.inc:493
void writeProperties(::mlir::DialectBytecodeWriter &writer)
Definition Ops.cpp.inc:441
void print(::mlir::OpAsmPrinter &_odsPrinter)
Definition Ops.cpp.inc:646
::mlir::StringAttr getTypeAttrName(::mlir::OperationName name)
Definition Ops.h.inc:204
::mlir::StringAttr getTypeAttrName()
Definition Ops.h.inc:200
void setConstant(bool attrValue)
Definition Ops.cpp.inc:501
static constexpr ::llvm::StringLiteral getOperationName()
Definition Ops.h.inc:208
void setConstantAttr(::mlir::UnitAttr attr)
Definition Ops.cpp.inc:497
::mlir::TypeAttr getTypeAttr()
Definition Ops.cpp.inc:471
static void populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
Definition Ops.cpp.inc:388
static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::StringAttr sym_name, ::mlir::UnitAttr constant, ::mlir::TypeAttr type, ::mlir::Attribute initial_value=nullptr)
Definition Ops.cpp.inc:525
::mlir::StringAttr getInitialValueAttrName()
Definition Ops.h.inc:184
::mlir::LogicalResult verify()
Definition Ops.cpp:168
::mlir::LogicalResult verifyInvariants()
Definition Ops.cpp.inc:605
static llvm::hash_code computePropertiesHash(const Properties &prop)
Definition Ops.cpp.inc:343
::mlir::StringAttr getConstantAttrName()
Definition Ops.h.inc:176
static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames()
Definition Ops.h.inc:171
::mlir::StringAttr getSymNameAttr()
Definition Ops.cpp.inc:451
static void setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value)
Definition Ops.cpp.inc:366
::mlir::Operation::operand_range getODSOperands(unsigned index)
Definition Ops.cpp.inc:205
::mlir::ParseResult parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
Definition Ops.cpp.inc:611
void setSymNameAttr(::mlir::StringAttr attr)
Definition Ops.cpp.inc:489
::mlir::LogicalResult verify(::mlir::Location loc)
Definition Ops.cpp.inc:715
GlobalReadOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs=nullptr, const Properties &properties={}, ::mlir::RegionRange regions={})
Definition Ops.h.inc:335
GlobalReadOpAdaptor(GlobalReadOp op)
Definition Ops.cpp.inc:713
GlobalReadOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
Definition Ops.h.inc:337
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index)
Definition Ops.h.inc:342
GlobalReadOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs=nullptr, const Properties &properties={}, ::mlir::RegionRange regions={})
Definition Ops.h.inc:335
RangeT getODSOperands(unsigned index)
Definition Ops.h.inc:346
GlobalReadOpGenericAdaptor(RangeT values, LateInst op)
Definition Ops.h.inc:340
::mlir::LogicalResult verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
Definition Ops.cpp.inc:814
static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type val, ::mlir::SymbolRefAttr name_ref)
Definition Ops.cpp.inc:848
::mlir::StringAttr getNameRefAttrName()
Definition Ops.h.inc:380
void writeProperties(::mlir::DialectBytecodeWriter &writer)
Definition Ops.cpp.inc:830
FoldAdaptor::Properties Properties
Definition Ops.h.inc:374
static constexpr ::llvm::StringLiteral getOperationName()
Definition Ops.h.inc:388
GlobalReadOpAdaptor Adaptor
Definition Ops.h.inc:370
::mlir::Attribute getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop)
Definition Ops.cpp.inc:776
::mlir::SymbolRefAttr getNameRefAttr()
Definition Ops.cpp.inc:835
GlobalReadOpGenericAdaptor< RangeT > GenericAdaptor
Definition Ops.h.inc:372
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index)
Definition Ops.cpp.inc:724
::mlir::LogicalResult setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
Definition Ops.cpp.inc:748
inline ::mlir::FailureOr< SymbolLookupResult< GlobalDefOp > > getGlobalDefOp(::mlir::SymbolTableCollection &tables)
Gets the definition for the global referenced in this op.
Definition Ops.h.inc:432
static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames()
Definition Ops.h.inc:375
void print(::mlir::OpAsmPrinter &_odsPrinter)
Definition Ops.cpp.inc:920
::mlir::LogicalResult verifySymbolUses(::mlir::SymbolTableCollection &symbolTable)
Definition Ops.cpp:210
::mlir::Operation::operand_range getODSOperands(unsigned index)
Definition Ops.cpp.inc:728
::mlir::Operation::result_range getODSResults(unsigned index)
Definition Ops.cpp.inc:738
static llvm::hash_code computePropertiesHash(const Properties &prop)
Definition Ops.cpp.inc:792
::mlir::LogicalResult verifyInvariantsImpl()
Definition Ops.cpp.inc:867
GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > > FoldAdaptor
Definition Ops.h.inc:373
::mlir::ParseResult parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
Definition Ops.cpp.inc:889
::mlir::StringAttr getNameRefAttrName(::mlir::OperationName name)
Definition Ops.h.inc:384
::mlir::LogicalResult verifyInvariants()
Definition Ops.cpp.inc:885
void setNameRefAttr(::mlir::SymbolRefAttr attr)
Definition Ops.cpp.inc:844
static std::optional< mlir::Attribute > getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
Definition Ops.cpp.inc:797
static void setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value)
Definition Ops.cpp.inc:803
std::pair< unsigned, unsigned > getODSResultIndexAndLength(unsigned index)
Definition Ops.cpp.inc:734
::mlir::Value getVal()
Definition Ops.cpp.inc:744
::mlir::LogicalResult readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
Definition Ops.cpp.inc:823
::mlir::SymbolRefAttr getNameRef()
Definition Ops.cpp.inc:839
static void populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
Definition Ops.cpp.inc:810
GlobalWriteOpAdaptor(GlobalWriteOp op)
Definition Ops.cpp.inc:974
GlobalWriteOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs=nullptr, const Properties &properties={}, ::mlir::RegionRange regions={})
Definition Ops.h.inc:495
::mlir::LogicalResult verify(::mlir::Location loc)
Definition Ops.cpp.inc:976
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index)
Definition Ops.h.inc:502
GlobalWriteOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
Definition Ops.h.inc:497
GlobalWriteOpGenericAdaptor(RangeT values, ::mlir::DictionaryAttr attrs=nullptr, const Properties &properties={}, ::mlir::RegionRange regions={})
Definition Ops.h.inc:495
RangeT getODSOperands(unsigned index)
Definition Ops.h.inc:506
GlobalWriteOpGenericAdaptor(RangeT values, LateInst op)
Definition Ops.h.inc:500
static llvm::hash_code computePropertiesHash(const Properties &prop)
Definition Ops.cpp.inc:1058
::mlir::LogicalResult verifyInvariantsImpl()
Definition Ops.cpp.inc:1134
::mlir::StringAttr getNameRefAttrName()
Definition Ops.h.inc:544
::mlir::LogicalResult verifySymbolUses(::mlir::SymbolTableCollection &symbolTable)
Definition Ops.cpp:218
::mlir::Operation::operand_range getODSOperands(unsigned index)
Definition Ops.cpp.inc:989
static constexpr ::llvm::StringLiteral getOperationName()
Definition Ops.h.inc:552
::mlir::ParseResult parse(::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
Definition Ops.cpp.inc:1156
::mlir::SymbolRefAttr getNameRefAttr()
Definition Ops.cpp.inc:1101
::mlir::StringAttr getNameRefAttrName(::mlir::OperationName name)
Definition Ops.h.inc:548
static void populateInherentAttrs(::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
Definition Ops.cpp.inc:1076
void print(::mlir::OpAsmPrinter &_odsPrinter)
Definition Ops.cpp.inc:1197
GlobalWriteOpAdaptor Adaptor
Definition Ops.h.inc:534
::mlir::LogicalResult readProperties(::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
Definition Ops.cpp.inc:1089
inline ::mlir::FailureOr< SymbolLookupResult< GlobalDefOp > > getGlobalDefOp(::mlir::SymbolTableCollection &tables)
Gets the definition for the global referenced in this op.
Definition Ops.h.inc:597
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index)
Definition Ops.cpp.inc:985
FoldAdaptor::Properties Properties
Definition Ops.h.inc:538
void setNameRefAttr(::mlir::SymbolRefAttr attr)
Definition Ops.cpp.inc:1110
::mlir::OpOperand & getValMutable()
Definition Ops.cpp.inc:999
GlobalWriteOpGenericAdaptor< RangeT > GenericAdaptor
Definition Ops.h.inc:536
::mlir::Attribute getPropertiesAsAttr(::mlir::MLIRContext *ctx, const Properties &prop)
Definition Ops.cpp.inc:1042
::mlir::LogicalResult setPropertiesFromAttr(Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
Definition Ops.cpp.inc:1014
::mlir::LogicalResult verifyInvariants()
Definition Ops.cpp.inc:1152
static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::SymbolRefAttr name_ref, ::mlir::Value val)
Definition Ops.cpp.inc:1114
GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > > FoldAdaptor
Definition Ops.h.inc:537
static void setInherentAttr(Properties &prop, llvm::StringRef name, mlir::Attribute value)
Definition Ops.cpp.inc:1069
std::pair< unsigned, unsigned > getODSResultIndexAndLength(unsigned index)
Definition Ops.cpp.inc:1004
void writeProperties(::mlir::DialectBytecodeWriter &writer)
Definition Ops.cpp.inc:1096
::mlir::Operation::result_range getODSResults(unsigned index)
Definition Ops.cpp.inc:1008
static std::optional< mlir::Attribute > getInherentAttr(::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
Definition Ops.cpp.inc:1063
static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames()
Definition Ops.h.inc:539
::mlir::LogicalResult verifyInherentAttrs(::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
Definition Ops.cpp.inc:1080
::mlir::SymbolRefAttr getNameRef()
Definition Ops.cpp.inc:1105
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index, unsigned odsOperandsSize)
Definition Ops.cpp.inc:124
::std::optional<::mlir::OperationName > odsOpName
Definition Ops.h.inc:102
GlobalDefOpGenericAdaptorBase(::mlir::DictionaryAttr attrs=nullptr, const Properties &properties={}, ::mlir::RegionRange regions={})
Definition Ops.cpp.inc:118
GlobalReadOpGenericAdaptorBase(::mlir::DictionaryAttr attrs=nullptr, const Properties &properties={}, ::mlir::RegionRange regions={})
Definition Ops.cpp.inc:688
::std::optional<::mlir::OperationName > odsOpName
Definition Ops.h.inc:312
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index, unsigned odsOperandsSize)
Definition Ops.cpp.inc:694
std::pair< unsigned, unsigned > getODSOperandIndexAndLength(unsigned index, unsigned odsOperandsSize)
Definition Ops.cpp.inc:955
::std::optional<::mlir::OperationName > odsOpName
Definition Ops.h.inc:472
GlobalWriteOpGenericAdaptorBase(::mlir::DictionaryAttr attrs=nullptr, const Properties &properties={}, ::mlir::RegionRange regions={})
Definition Ops.cpp.inc:949
void setInitialValue(const ::mlir::Attribute &propValue)
Definition Ops.h.inc:65
void setType(const ::mlir::TypeAttr &propValue)
Definition Ops.h.inc:85
void setSymName(const ::mlir::StringAttr &propValue)
Definition Ops.h.inc:75
void setConstant(const ::mlir::UnitAttr &propValue)
Definition Ops.h.inc:55
void setNameRef(const ::mlir::SymbolRefAttr &propValue)
Definition Ops.h.inc:298
void setNameRef(const ::mlir::SymbolRefAttr &propValue)
Definition Ops.h.inc:458