LLZK 0.1.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
llzk::component::MemberRefOpInterface Class Reference
Inheritance diagram for llzk::component::MemberRefOpInterface:
[legend]
Collaboration diagram for llzk::component::MemberRefOpInterface:
[legend]

Classes

struct  Trait

Public Member Functions

::mlir::Value getVal ()
 Gets the SSA Value that holds the read/write data for the MemberRefOp.
::mlir::TypedValue<::llzk::component::StructTypegetComponent ()
 Gets the SSA value with the target component from the MemberRefOp.
::mlir::OpOperand & getComponentMutable ()
 Gets the SSA value with the target component from the MemberRefOp.
::llvm::StringRef getMemberName ()
 Gets the member name attribute value from the MemberRefOp.
::mlir::FlatSymbolRefAttr getMemberNameAttr ()
 Gets the member name attribute from the MemberRefOp.
void setMemberName (::llvm::StringRef attrValue)
 Sets the member name attribute value in the MemberRefOp.
void setMemberNameAttr (::mlir::FlatSymbolRefAttr attr)
 Sets the member name attribute in the MemberRefOp.
::llzk::component::StructType getStructType ()
 Gets the struct type of the target component.
bool isRead ()
 Return true if the op is a read, false if it's a write.
::mlir::FailureOr< SymbolLookupResult< MemberDefOp > > getMemberDefOp (::mlir::SymbolTableCollection &tables)
 Gets the definition for the member referenced in this op.

Detailed Description

Definition at line 68 of file OpInterfaces.h.inc.

Member Function Documentation

◆ getComponent()

mlir::TypedValue<::llzk::component::StructType > llzk::component::MemberRefOpInterface::getComponent ( )

Gets the SSA value with the target component from the MemberRefOp.

Definition at line 14 of file OpInterfaces.cpp.inc.

◆ getComponentMutable()

mlir::OpOperand & llzk::component::MemberRefOpInterface::getComponentMutable ( )

Gets the SSA value with the target component from the MemberRefOp.

Definition at line 18 of file OpInterfaces.cpp.inc.

◆ getMemberDefOp()

FailureOr< SymbolLookupResult< MemberDefOp > > llzk::component::MemberRefOpInterface::getMemberDefOp ( ::mlir::SymbolTableCollection & tables)

Gets the definition for the member referenced in this op.

Definition at line 620 of file Ops.cpp.

◆ getMemberName()

llvm::StringRef llzk::component::MemberRefOpInterface::getMemberName ( )

Gets the member name attribute value from the MemberRefOp.

Definition at line 22 of file OpInterfaces.cpp.inc.

◆ getMemberNameAttr()

mlir::FlatSymbolRefAttr llzk::component::MemberRefOpInterface::getMemberNameAttr ( )

Gets the member name attribute from the MemberRefOp.

Definition at line 26 of file OpInterfaces.cpp.inc.

◆ getStructType()

llzk::component::StructType llzk::component::MemberRefOpInterface::getStructType ( )

Gets the struct type of the target component.

Definition at line 38 of file OpInterfaces.cpp.inc.

◆ getVal()

mlir::Value llzk::component::MemberRefOpInterface::getVal ( )

Gets the SSA Value that holds the read/write data for the MemberRefOp.

Definition at line 10 of file OpInterfaces.cpp.inc.

◆ isRead()

bool llzk::component::MemberRefOpInterface::isRead ( )

Return true if the op is a read, false if it's a write.

Definition at line 42 of file OpInterfaces.cpp.inc.

◆ setMemberName()

void llzk::component::MemberRefOpInterface::setMemberName ( ::llvm::StringRef attrValue)

Sets the member name attribute value in the MemberRefOp.

Definition at line 30 of file OpInterfaces.cpp.inc.

◆ setMemberNameAttr()

void llzk::component::MemberRefOpInterface::setMemberNameAttr ( ::mlir::FlatSymbolRefAttr attr)

Sets the member name attribute in the MemberRefOp.

Definition at line 34 of file OpInterfaces.cpp.inc.


The documentation for this class was generated from the following files: