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

Public Types

using Adaptor = LoadOpAdaptor
template<typename RangeT>
using GenericAdaptor = LoadOpGenericAdaptor<RangeT>
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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::OpOperand & getAddrMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::llzk::felt::FeltTypegetVal ()
::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 ()
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type val, ::mlir::Value addr)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value addr)
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 96 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::ram::LoadOp::GenericAdaptor = LoadOpGenericAdaptor<RangeT>

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

Member Function Documentation

◆ build() [1/3]

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

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

◆ build() [2/3]

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

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

◆ build() [3/3]

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

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

◆ getAddr()

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

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

◆ getAddrMutable()

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

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

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getVal()

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

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

◆ parse()

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

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

◆ print()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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


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