LLZK 3.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>>
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::OpOperand & getAddrMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::llzk::felt::FeltType > getVal ()
::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::Type val, ::mlir::Value addr)
static LoadOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type val, ::mlir::Value addr)
static LoadOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type val, ::mlir::Value addr)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value addr)
static LoadOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value addr)
static LoadOp create (::mlir::ImplicitLocOpBuilder &builder, ::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={})
static LoadOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static LoadOp 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 LoadOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static LoadOp 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

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

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

◆ Properties

Member Function Documentation

◆ build() [1/4]

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 136 of file Ops.cpp.inc.

◆ build() [2/4]

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

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

◆ build() [3/4]

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

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

◆ build() [4/4]

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

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

◆ computePropertiesHash()

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

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

◆ create() [1/8]

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

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

◆ create() [2/8]

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

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

◆ create() [3/8]

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

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

◆ create() [4/8]

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

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

◆ create() [5/8]

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

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

◆ create() [6/8]

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

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

◆ create() [7/8]

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

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

◆ create() [8/8]

LoadOp llzk::ram::LoadOp::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 165 of file Ops.cpp.inc.

◆ getAddr()

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

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

◆ getAddrMutable()

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

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

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getVal()

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

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

Member Data Documentation

◆ odsIndex_addr

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

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


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