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

Public Types

using Adaptor = MemberReadOpAdaptor
template<typename RangeT>
using GenericAdaptor = MemberReadOpGenericAdaptor<RangeT>
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>
using Properties = FoldAdaptor::Properties

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getMapOpGroupSizesAttrName ()
::mlir::StringAttr getMemberNameAttrName ()
::mlir::StringAttr getNumDimsPerMapAttrName ()
::mlir::StringAttr getTableOffsetAttrName ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
::mlir::TypedValue<::llzk::component::StructTypegetComponent ()
::mlir::OperandRangeRange getMapOperands ()
::mlir::OpOperand & getComponentMutable ()
::mlir::MutableOperandRangeRange getMapOperandsMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::mlir::Type > getVal ()
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::mlir::FlatSymbolRefAttr getMemberNameAttr ()
::llvm::StringRef getMemberName ()
::mlir::Attribute getTableOffsetAttr ()
::std::optional<::mlir::Attribute > getTableOffset ()
::mlir::DenseI32ArrayAttr getNumDimsPerMapAttr ()
::llvm::ArrayRef< int32_t > getNumDimsPerMap ()
::mlir::DenseI32ArrayAttr getMapOpGroupSizesAttr ()
::llvm::ArrayRef< int32_t > getMapOpGroupSizes ()
void setMemberNameAttr (::mlir::FlatSymbolRefAttr attr)
void setMemberName (::llvm::StringRef attrValue)
void setTableOffsetAttr (::mlir::Attribute attr)
void setNumDimsPerMapAttr (::mlir::DenseI32ArrayAttr attr)
void setNumDimsPerMap (::llvm::ArrayRef< int32_t > attrValue)
void setMapOpGroupSizesAttr (::mlir::DenseI32ArrayAttr attr)
void setMapOpGroupSizes (::llvm::ArrayRef< int32_t > attrValue)
::mlir::Attribute removeTableOffsetAttr ()
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verify ()
bool isRead ()
 Return true if the op is a read, false if it's a write.
::llvm::LogicalResult verifySymbolUses (::mlir::SymbolTableCollection &symbolTable)
void print (::mlir::OpAsmPrinter &_odsPrinter)
inline ::mlir::FailureOr< SymbolLookupResult< MemberDefOp > > getMemberDefOp (::mlir::SymbolTableCollection &tables)
 Gets the definition for the member referenced in this op.

Static Public Member Functions

::mlir::StringAttr getMapOpGroupSizesAttrName (::mlir::OperationName name)
::mlir::StringAttr getMemberNameAttrName (::mlir::OperationName name)
::mlir::StringAttr getNumDimsPerMapAttrName (::mlir::OperationName name)
::mlir::StringAttr getTableOffsetAttrName (::mlir::OperationName name)
static constexpr ::llvm::StringLiteral getOperationName ()
::llvm::LogicalResult setPropertiesFromAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
::mlir::Attribute getPropertiesAsAttr (::mlir::MLIRContext *ctx, const Properties &prop)
static llvm::hash_code computePropertiesHash (const Properties &prop)
static std::optional< mlir::Attribute > getInherentAttr (::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
static void setInherentAttr (Properties &prop, llvm::StringRef name, mlir::Attribute value)
static void populateInherentAttrs (::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
::llvm::LogicalResult verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
::llvm::LogicalResult readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type resultType, ::mlir::Value component, ::mlir::StringAttr member)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type resultType, ::mlir::Value component, ::mlir::StringAttr member, ::mlir::Attribute dist, ::mlir::ValueRange mapOperands, std::optional< int32_t > numDims)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type resultType, ::mlir::Value component, ::mlir::StringAttr member, ::mlir::SymbolRefAttr dist)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type resultType, ::mlir::Value component, ::mlir::StringAttr member, ::mlir::IntegerAttr dist)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::mlir::ArrayRef<::mlir::NamedAttribute > attrs)
static void populateDefaultProperties (::mlir::OperationName opName, Properties &properties)
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

Definition at line 631 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::component::MemberReadOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

Definition at line 638 of file Ops.h.inc.

◆ GenericAdaptor

Definition at line 637 of file Ops.h.inc.

◆ Properties

Member Function Documentation

◆ build() [1/5]

void llzk::component::MemberReadOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type resultType,
::mlir::Value component,
::mlir::StringAttr member )
static

◆ build() [2/5]

void llzk::component::MemberReadOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type resultType,
::mlir::Value component,
::mlir::StringAttr member,
::mlir::Attribute dist,
::mlir::ValueRange mapOperands,
std::optional< int32_t > numDims )
static

◆ build() [3/5]

void llzk::component::MemberReadOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type resultType,
::mlir::Value component,
::mlir::StringAttr member,
::mlir::IntegerAttr dist )
static

Definition at line 1011 of file Ops.cpp.inc.

◆ build() [4/5]

void llzk::component::MemberReadOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type resultType,
::mlir::Value component,
::mlir::StringAttr member,
::mlir::SymbolRefAttr dist )
static

Definition at line 1006 of file Ops.cpp.inc.

◆ build() [5/5]

void llzk::component::MemberReadOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::mlir::ArrayRef<::mlir::NamedAttribute > attrs )
static

◆ computePropertiesHash()

llvm::hash_code llzk::component::MemberReadOp::computePropertiesHash ( const Properties & prop)
static

Definition at line 866 of file Ops.cpp.inc.

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::component::MemberReadOp::getAttributeNames ( )
inline

Definition at line 640 of file Ops.h.inc.

◆ getComponent()

::mlir::TypedValue<::llzk::component::StructType > llzk::component::MemberReadOp::getComponent ( )
inline

Definition at line 688 of file Ops.h.inc.

◆ getComponentMutable()

::mlir::OpOperand & llzk::component::MemberReadOp::getComponentMutable ( )
inline

Definition at line 696 of file Ops.h.inc.

◆ getInherentAttr()

std::optional< mlir::Attribute > llzk::component::MemberReadOp::getInherentAttr ( ::mlir::MLIRContext * ctx,
const Properties & prop,
llvm::StringRef name )
static

Definition at line 874 of file Ops.cpp.inc.

◆ getMapOperands()

::mlir::OperandRangeRange llzk::component::MemberReadOp::getMapOperands ( )
inline

Definition at line 692 of file Ops.h.inc.

◆ getMapOperandsMutable()

mlir::MutableOperandRangeRange llzk::component::MemberReadOp::getMapOperandsMutable ( )

Definition at line 758 of file Ops.cpp.inc.

◆ getMapOpGroupSizes()

llvm::ArrayRef< int32_t > llzk::component::MemberReadOp::getMapOpGroupSizes ( )

Definition at line 989 of file Ops.cpp.inc.

◆ getMapOpGroupSizesAttr()

::mlir::DenseI32ArrayAttr llzk::component::MemberReadOp::getMapOpGroupSizesAttr ( )
inline

Definition at line 740 of file Ops.h.inc.

◆ getMapOpGroupSizesAttrName() [1/2]

::mlir::StringAttr llzk::component::MemberReadOp::getMapOpGroupSizesAttrName ( )
inline

Definition at line 645 of file Ops.h.inc.

◆ getMapOpGroupSizesAttrName() [2/2]

::mlir::StringAttr llzk::component::MemberReadOp::getMapOpGroupSizesAttrName ( ::mlir::OperationName name)
inlinestatic

Definition at line 649 of file Ops.h.inc.

◆ getMemberDefOp()

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

Gets the definition for the member referenced in this op.

Definition at line 798 of file Ops.h.inc.

◆ getMemberName()

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

Definition at line 974 of file Ops.cpp.inc.

◆ getMemberNameAttr()

::mlir::FlatSymbolRefAttr llzk::component::MemberReadOp::getMemberNameAttr ( )
inline

Definition at line 725 of file Ops.h.inc.

◆ getMemberNameAttrName() [1/2]

::mlir::StringAttr llzk::component::MemberReadOp::getMemberNameAttrName ( )
inline

Definition at line 653 of file Ops.h.inc.

◆ getMemberNameAttrName() [2/2]

::mlir::StringAttr llzk::component::MemberReadOp::getMemberNameAttrName ( ::mlir::OperationName name)
inlinestatic

Definition at line 657 of file Ops.h.inc.

◆ getNumDimsPerMap()

llvm::ArrayRef< int32_t > llzk::component::MemberReadOp::getNumDimsPerMap ( )

Definition at line 984 of file Ops.cpp.inc.

◆ getNumDimsPerMapAttr()

::mlir::DenseI32ArrayAttr llzk::component::MemberReadOp::getNumDimsPerMapAttr ( )
inline

Definition at line 735 of file Ops.h.inc.

◆ getNumDimsPerMapAttrName() [1/2]

::mlir::StringAttr llzk::component::MemberReadOp::getNumDimsPerMapAttrName ( )
inline

Definition at line 661 of file Ops.h.inc.

◆ getNumDimsPerMapAttrName() [2/2]

::mlir::StringAttr llzk::component::MemberReadOp::getNumDimsPerMapAttrName ( ::mlir::OperationName name)
inlinestatic

Definition at line 665 of file Ops.h.inc.

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::component::MemberReadOp::getODSOperandIndexAndLength ( unsigned index)

Definition at line 740 of file Ops.cpp.inc.

◆ getODSOperands()

::mlir::Operation::operand_range llzk::component::MemberReadOp::getODSOperands ( unsigned index)
inline

Definition at line 682 of file Ops.h.inc.

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::component::MemberReadOp::getODSResultIndexAndLength ( unsigned index)
inline

Definition at line 702 of file Ops.h.inc.

◆ getODSResults()

::mlir::Operation::result_range llzk::component::MemberReadOp::getODSResults ( unsigned index)
inline

Definition at line 706 of file Ops.h.inc.

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::component::MemberReadOp::getOperationName ( )
inlinestatic

Definition at line 677 of file Ops.h.inc.

◆ getPropertiesAsAttr()

mlir::Attribute llzk::component::MemberReadOp::getPropertiesAsAttr ( ::mlir::MLIRContext * ctx,
const Properties & prop )
static

Definition at line 829 of file Ops.cpp.inc.

◆ getTableOffset()

std::optional<::mlir::Attribute > llzk::component::MemberReadOp::getTableOffset ( )

Definition at line 979 of file Ops.cpp.inc.

◆ getTableOffsetAttr()

::mlir::Attribute llzk::component::MemberReadOp::getTableOffsetAttr ( )
inline

Definition at line 730 of file Ops.h.inc.

◆ getTableOffsetAttrName() [1/2]

::mlir::StringAttr llzk::component::MemberReadOp::getTableOffsetAttrName ( )
inline

Definition at line 669 of file Ops.h.inc.

◆ getTableOffsetAttrName() [2/2]

::mlir::StringAttr llzk::component::MemberReadOp::getTableOffsetAttrName ( ::mlir::OperationName name)
inlinestatic

Definition at line 673 of file Ops.h.inc.

◆ getVal()

::mlir::TypedValue<::mlir::Type > llzk::component::MemberReadOp::getVal ( )
inline

Definition at line 712 of file Ops.h.inc.

◆ isRead()

bool llzk::component::MemberReadOp::isRead ( )

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

Definition at line 1199 of file Ops.cpp.inc.

◆ parse()

mlir::ParseResult llzk::component::MemberReadOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

Definition at line 1076 of file Ops.cpp.inc.

◆ populateDefaultProperties()

void llzk::component::MemberReadOp::populateDefaultProperties ( ::mlir::OperationName opName,
Properties & properties )
static

Definition at line 1016 of file Ops.cpp.inc.

◆ populateInherentAttrs()

void llzk::component::MemberReadOp::populateInherentAttrs ( ::mlir::MLIRContext * ctx,
const Properties & prop,
::mlir::NamedAttrList & attrs )
static

Definition at line 911 of file Ops.cpp.inc.

◆ print()

void llzk::component::MemberReadOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

Definition at line 1156 of file Ops.cpp.inc.

◆ readProperties()

llvm::LogicalResult llzk::component::MemberReadOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

Definition at line 948 of file Ops.cpp.inc.

◆ removeTableOffsetAttr()

::mlir::Attribute llzk::component::MemberReadOp::removeTableOffsetAttr ( )
inline

Definition at line 764 of file Ops.h.inc.

◆ setInherentAttr()

void llzk::component::MemberReadOp::setInherentAttr ( Properties & prop,
llvm::StringRef name,
mlir::Attribute value )
static

Definition at line 889 of file Ops.cpp.inc.

◆ setMapOpGroupSizes()

void llzk::component::MemberReadOp::setMapOpGroupSizes ( ::llvm::ArrayRef< int32_t > attrValue)

Definition at line 1002 of file Ops.cpp.inc.

◆ setMapOpGroupSizesAttr()

void llzk::component::MemberReadOp::setMapOpGroupSizesAttr ( ::mlir::DenseI32ArrayAttr attr)
inline

Definition at line 759 of file Ops.h.inc.

◆ setMemberName()

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

Definition at line 994 of file Ops.cpp.inc.

◆ setMemberNameAttr()

void llzk::component::MemberReadOp::setMemberNameAttr ( ::mlir::FlatSymbolRefAttr attr)
inline

Definition at line 745 of file Ops.h.inc.

◆ setNumDimsPerMap()

void llzk::component::MemberReadOp::setNumDimsPerMap ( ::llvm::ArrayRef< int32_t > attrValue)

Definition at line 998 of file Ops.cpp.inc.

◆ setNumDimsPerMapAttr()

void llzk::component::MemberReadOp::setNumDimsPerMapAttr ( ::mlir::DenseI32ArrayAttr attr)
inline

Definition at line 754 of file Ops.h.inc.

◆ setPropertiesFromAttr()

llvm::LogicalResult llzk::component::MemberReadOp::setPropertiesFromAttr ( Properties & prop,
::mlir::Attribute attr,
::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError )
static

Definition at line 764 of file Ops.cpp.inc.

◆ setTableOffsetAttr()

void llzk::component::MemberReadOp::setTableOffsetAttr ( ::mlir::Attribute attr)
inline

Definition at line 750 of file Ops.h.inc.

◆ verify()

LogicalResult llzk::component::MemberReadOp::verify ( )

Definition at line 784 of file Ops.cpp.

◆ verifyInherentAttrs()

llvm::LogicalResult llzk::component::MemberReadOp::verifyInherentAttrs ( ::mlir::OperationName opName,
::mlir::NamedAttrList & attrs,
llvm::function_ref<::mlir::InFlightDiagnostic()> emitError )
static

Definition at line 921 of file Ops.cpp.inc.

◆ verifyInvariants()

llvm::LogicalResult llzk::component::MemberReadOp::verifyInvariants ( )

Definition at line 1070 of file Ops.cpp.inc.

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::component::MemberReadOp::verifyInvariantsImpl ( )

Definition at line 1022 of file Ops.cpp.inc.

◆ verifySymbolUses()

LogicalResult llzk::component::MemberReadOp::verifySymbolUses ( ::mlir::SymbolTableCollection & symbolTable)

Definition at line 693 of file Ops.cpp.

◆ writeProperties()

void llzk::component::MemberReadOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

Definition at line 964 of file Ops.cpp.inc.


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