LLZK 0.1.0
Veridise's ZK Language IR
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::FieldRefOpInterface::getComponent() {
15 return getImpl()->getComponent(getImpl(), getOperation());
16 }
17
19 return getImpl()->getComponentMutable(getImpl(), getOperation());
20 }
21
23 return getImpl()->getFieldName(getImpl(), getOperation());
24 }
25
27 return getImpl()->getFieldNameAttr(getImpl(), getOperation());
28 }
29
30void llzk::component::FieldRefOpInterface::setFieldName(::llvm::StringRef attrValue) {
31 return getImpl()->setFieldName(getImpl(), getOperation(), attrValue);
32 }
33
34void llzk::component::FieldRefOpInterface::setFieldNameAttr(::mlir::FlatSymbolRefAttr attr) {
35 return getImpl()->setFieldNameAttr(getImpl(), getOperation(), attr);
36 }
37
39 return getImpl()->getStructType(getImpl(), getOperation());
40 }
41
43 return getImpl()->isRead(getImpl(), getOperation());
44 }
void setFieldNameAttr(::mlir::FlatSymbolRefAttr attr)
Sets the field name attribute in the FieldRefOp.
void setFieldName(::llvm::StringRef attrValue)
Sets the field name attribute value in the FieldRefOp.
::llzk::component::StructType getStructType()
Gets the struct type of the target component.
::mlir::OpOperand & getComponentMutable()
Gets the SSA value with the target component from the FieldRefOp.
bool isRead()
Return true if the op is a read, false if it's a write.
::llvm::StringRef getFieldName()
Gets the field name attribute value from the FieldRefOp.
::mlir::FlatSymbolRefAttr getFieldNameAttr()
Gets the field name attribute from the FieldRefOp.
::mlir::Value getVal()
Gets the SSA Value that holds the read/write data for the FieldRefOp.
::mlir::TypedValue<::llzk::component::StructType > getComponent()
Gets the SSA value with the target component from the FieldRefOp.