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

Classes

struct  Trait
 

Public Member Functions

::mlir::Value getVal ()
 Gets the SSA Value that holds the read/write data for the GlobalRefOp.
 
::mlir::SymbolRefAttr getNameRef ()
 Gets the global name attribute from the GlobalRefOp.
 
::mlir::FailureOr< SymbolLookupResult< GlobalDefOp > > getGlobalDefOp (::mlir::SymbolTableCollection &tables)
 Gets the definition for the global referenced in this op.
 

Detailed Description

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

Member Function Documentation

◆ getGlobalDefOp()

FailureOr< SymbolLookupResult< GlobalDefOp > > llzk::global::GlobalRefOpInterface::getGlobalDefOp ( ::mlir::SymbolTableCollection & tables)

Gets the definition for the global referenced in this op.

Definition at line 186 of file Ops.cpp.

◆ getNameRef()

mlir::SymbolRefAttr llzk::global::GlobalRefOpInterface::getNameRef ( )

Gets the global name attribute from the GlobalRefOp.

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

◆ getVal()

mlir::Value llzk::global::GlobalRefOpInterface::getVal ( )

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

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


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