LLZK 0.1.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
OpInterfaces.cpp.inc
Go to the documentation of this file.
1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Interface Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
11 return getImpl()->getVal(getImpl(), getOperation());
12 }
13
14::mlir::TypedValue<::llzk::component::StructType> llzk::component::MemberRefOpInterface::getComponent() {
15 return getImpl()->getComponent(getImpl(), getOperation());
16 }
17
19 return getImpl()->getComponentMutable(getImpl(), getOperation());
20 }
21
23 return getImpl()->getMemberName(getImpl(), getOperation());
24 }
25
27 return getImpl()->getMemberNameAttr(getImpl(), getOperation());
28 }
29
31 return getImpl()->setMemberName(getImpl(), getOperation(), attrValue);
32 }
33
35 return getImpl()->setMemberNameAttr(getImpl(), getOperation(), attr);
36 }
37
39 return getImpl()->getStructType(getImpl(), getOperation());
40 }
41
43 return getImpl()->isRead(getImpl(), getOperation());
44 }
::mlir::Value getVal()
Gets the SSA Value that holds the read/write data for the MemberRefOp.
::mlir::FlatSymbolRefAttr getMemberNameAttr()
Gets the member name attribute from the MemberRefOp.
::mlir::TypedValue<::llzk::component::StructType > getComponent()
Gets the SSA value with the target component from the MemberRefOp.
void setMemberName(::llvm::StringRef attrValue)
Sets the member name attribute value in the MemberRefOp.
bool isRead()
Return true if the op is a read, false if it's a write.
::llvm::StringRef getMemberName()
Gets the member name attribute value from the MemberRefOp.
void setMemberNameAttr(::mlir::FlatSymbolRefAttr attr)
Sets the member name attribute in the MemberRefOp.
::mlir::OpOperand & getComponentMutable()
Gets the SSA value with the target component from the MemberRefOp.
::llzk::component::StructType getStructType()
Gets the struct type of the target component.