LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
Inheritance diagram for llzk::ram::StoreOp:
[legend]
Collaboration diagram for llzk::ram::StoreOp:
[legend]

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
::mlir::TypedValue<::mlir::IndexType > getAddr ()
::mlir::TypedValue<::llzk::felt::FeltType > getVal ()
::mlir::OpOperand & getAddrMutable ()
::mlir::OpOperand & getValMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
void print (::mlir::OpAsmPrinter &_odsPrinter)
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)

Static Public Member Functions

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)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value addr, ::mlir::Value val)
static StoreOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value addr, ::mlir::Value val)
static StoreOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value addr, ::mlir::Value val)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value addr, ::mlir::Value val)
static StoreOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value addr, ::mlir::Value val)
static StoreOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value addr, ::mlir::Value val)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static StoreOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static StoreOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static StoreOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static StoreOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Static Public Attributes

static constexpr int odsIndex_addr = 0
static constexpr int odsIndex_val = 1

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

using llzk::ram::StoreOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::ram::StoreOp::GenericAdaptor = StoreOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/4]

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

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

◆ build() [2/4]

void llzk::ram::StoreOp::build ( ::mlir::OpBuilder & ,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ build() [3/4]

void llzk::ram::StoreOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value addr,
::mlir::Value val )
static

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

◆ build() [4/4]

void llzk::ram::StoreOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value addr,
::mlir::Value val )
static

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

◆ computePropertiesHash()

llvm::hash_code llzk::ram::StoreOp::computePropertiesHash ( const Properties & prop)
static

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

◆ create() [1/8]

StoreOp llzk::ram::StoreOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::Value addr,
::mlir::Value val )
static

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

◆ create() [2/8]

StoreOp llzk::ram::StoreOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

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

◆ create() [3/8]

StoreOp llzk::ram::StoreOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ create() [4/8]

StoreOp llzk::ram::StoreOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Value addr,
::mlir::Value val )
static

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

◆ create() [5/8]

StoreOp llzk::ram::StoreOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::Value addr,
::mlir::Value val )
static

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

◆ create() [6/8]

StoreOp llzk::ram::StoreOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

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

◆ create() [7/8]

StoreOp llzk::ram::StoreOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ create() [8/8]

StoreOp llzk::ram::StoreOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Value addr,
::mlir::Value val )
static

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

◆ getAddr()

::mlir::TypedValue<::mlir::IndexType > llzk::ram::StoreOp::getAddr ( )
inline

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

◆ getAddrMutable()

::mlir::OpOperand & llzk::ram::StoreOp::getAddrMutable ( )
inline

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::ram::StoreOp::getAttributeNames ( )
inline

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

◆ getEffects()

void llzk::ram::StoreOp::getEffects ( ::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > & effects)

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::ram::StoreOp::getODSOperandIndexAndLength ( unsigned index)
inline

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::ram::StoreOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::ram::StoreOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::ram::StoreOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::ram::StoreOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getVal()

::mlir::TypedValue<::llzk::felt::FeltType > llzk::ram::StoreOp::getVal ( )
inline

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

◆ getValMutable()

::mlir::OpOperand & llzk::ram::StoreOp::getValMutable ( )
inline

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

◆ parse()

mlir::ParseResult llzk::ram::StoreOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::ram::StoreOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::ram::StoreOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::ram::StoreOp::verifyInvariantsImpl ( )

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

Member Data Documentation

◆ odsIndex_addr

int llzk::ram::StoreOp::odsIndex_addr = 0
staticconstexpr

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

◆ odsIndex_val

int llzk::ram::StoreOp::odsIndex_val = 1
staticconstexpr

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


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