LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::component::FieldRefOpInterface Class Reference
Inheritance diagram for llzk::component::FieldRefOpInterface:
[legend]
Collaboration diagram for llzk::component::FieldRefOpInterface:
[legend]

Classes

struct  Trait
 

Public Member Functions

::mlir::Value getVal ()
 Gets the SSA Value that holds the read/write data for the FieldRefOp.
 
::mlir::TypedValue<::llzk::component::StructTypegetComponent ()
 Gets the SSA value with the target component from the FieldRefOp.
 
::llvm::StringRef getFieldName ()
 Gets the field name attribute value from the FieldRefOp.
 
::mlir::FlatSymbolRefAttr getFieldNameAttr ()
 Gets the field name attribute from the FieldRefOp.
 
::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< FieldDefOp > > getFieldDefOp (::mlir::SymbolTableCollection &tables)
 Gets the definition for the field referenced in this op.
 

Detailed Description

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

Member Function Documentation

◆ getComponent()

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

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

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

◆ getFieldDefOp()

FailureOr< SymbolLookupResult< FieldDefOp > > llzk::component::FieldRefOpInterface::getFieldDefOp ( ::mlir::SymbolTableCollection & tables)

Gets the definition for the field referenced in this op.

Definition at line 509 of file Ops.cpp.

◆ getFieldName()

llvm::StringRef llzk::component::FieldRefOpInterface::getFieldName ( )

Gets the field name attribute value from the FieldRefOp.

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

◆ getFieldNameAttr()

mlir::FlatSymbolRefAttr llzk::component::FieldRefOpInterface::getFieldNameAttr ( )

Gets the field name attribute from the FieldRefOp.

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

◆ getStructType()

llzk::component::StructType llzk::component::FieldRefOpInterface::getStructType ( )

Gets the struct type of the target component.

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

◆ getVal()

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

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

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

◆ isRead()

bool llzk::component::FieldRefOpInterface::isRead ( )

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

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


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