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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getMemberNameAttrName ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
::mlir::TypedValue<::llzk::component::StructTypegetComponent ()
::mlir::TypedValue<::mlir::Type > getVal ()
::mlir::OpOperand & getComponentMutable ()
::mlir::OpOperand & getValMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::mlir::FlatSymbolRefAttr getMemberNameAttr ()
::llvm::StringRef getMemberName ()
void setMemberNameAttr (::mlir::FlatSymbolRefAttr attr)
void setMemberName (::llvm::StringRef attrValue)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
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 getMemberNameAttrName (::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::Value component, ::mlir::FlatSymbolRefAttr member_name, ::mlir::Value val)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value component, ::mlir::FlatSymbolRefAttr member_name, ::mlir::Value val)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value component, ::llvm::StringRef member_name, ::mlir::Value val)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value component, ::llvm::StringRef member_name, ::mlir::Value val)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

◆ Properties

Member Function Documentation

◆ build() [1/5]

void llzk::component::MemberWriteOp::build ( ::mlir::OpBuilder & ,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

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

◆ build() [2/5]

void llzk::component::MemberWriteOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value component,
::llvm::StringRef member_name,
::mlir::Value val )
static

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

◆ build() [3/5]

void llzk::component::MemberWriteOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value component,
::mlir::FlatSymbolRefAttr member_name,
::mlir::Value val )
static

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

◆ build() [4/5]

void llzk::component::MemberWriteOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value component,
::llvm::StringRef member_name,
::mlir::Value val )
static

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

◆ build() [5/5]

void llzk::component::MemberWriteOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value component,
::mlir::FlatSymbolRefAttr member_name,
::mlir::Value val )
static

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

◆ computePropertiesHash()

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

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

◆ getAttributeNames()

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

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

◆ getComponent()

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

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

◆ getComponentMutable()

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

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

◆ getInherentAttr()

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

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

◆ getMemberDefOp()

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

Gets the definition for the member referenced in this op.

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

◆ getMemberName()

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

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

◆ getMemberNameAttr()

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

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

◆ getMemberNameAttrName() [1/2]

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

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

◆ getMemberNameAttrName() [2/2]

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getVal()

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

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

◆ getValMutable()

::mlir::OpOperand & llzk::component::MemberWriteOp::getValMutable ( )
inline

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

◆ isRead()

bool llzk::component::MemberWriteOp::isRead ( )

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

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ readProperties()

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

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

◆ setInherentAttr()

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

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

◆ setMemberName()

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

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

◆ setMemberNameAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ verifySymbolUses()

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

Definition at line 660 of file Ops.cpp.

◆ writeProperties()

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

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


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