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

Public Types

using Adaptor = InsertArrayOpAdaptor
template<typename RangeT>
using GenericAdaptor = InsertArrayOpGenericAdaptor<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<::llzk::array::ArrayType > getArrRef ()
::mlir::Operation::operand_range getIndices ()
::mlir::TypedValue<::llzk::array::ArrayType > getRvalue ()
::mlir::OpOperand & getArrRefMutable ()
::mlir::MutableOperandRange getIndicesMutable ()
::mlir::OpOperand & getRvalueMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verify ()
::llvm::LogicalResult verifySymbolUses (::mlir::SymbolTableCollection &symbolTable)
bool isRead ()
 Return true if the op is a read, false if it's a write.
void print (::mlir::OpAsmPrinter &_odsPrinter)
inline ::llzk::array::ArrayType getArrRefType ()
 Gets the type of the referenced base array.

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 arr_ref, ::mlir::ValueRange indices, ::mlir::Value rvalue)
static InsertArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value arr_ref, ::mlir::ValueRange indices, ::mlir::Value rvalue)
static InsertArrayOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value arr_ref, ::mlir::ValueRange indices, ::mlir::Value rvalue)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value arr_ref, ::mlir::ValueRange indices, ::mlir::Value rvalue)
static InsertArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value arr_ref, ::mlir::ValueRange indices, ::mlir::Value rvalue)
static InsertArrayOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value arr_ref, ::mlir::ValueRange indices, ::mlir::Value rvalue)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static InsertArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static InsertArrayOp 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 InsertArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static InsertArrayOp 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_arr_ref = 0
static constexpr int odsIndex_indices = 1
static constexpr int odsIndex_rvalue = 2

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::array::InsertArrayOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

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

◆ Properties

Member Function Documentation

◆ build() [1/4]

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

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

◆ build() [2/4]

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

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

◆ build() [3/4]

void llzk::array::InsertArrayOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value arr_ref,
::mlir::ValueRange indices,
::mlir::Value rvalue )
static

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

◆ build() [4/4]

void llzk::array::InsertArrayOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value arr_ref,
::mlir::ValueRange indices,
::mlir::Value rvalue )
static

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

◆ computePropertiesHash()

llvm::hash_code llzk::array::InsertArrayOp::computePropertiesHash ( const Properties & prop)
static

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

◆ create() [1/8]

InsertArrayOp llzk::array::InsertArrayOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::Value arr_ref,
::mlir::ValueRange indices,
::mlir::Value rvalue )
static

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

◆ create() [2/8]

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

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

◆ create() [3/8]

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

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

◆ create() [4/8]

InsertArrayOp llzk::array::InsertArrayOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Value arr_ref,
::mlir::ValueRange indices,
::mlir::Value rvalue )
static

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

◆ create() [5/8]

InsertArrayOp llzk::array::InsertArrayOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::Value arr_ref,
::mlir::ValueRange indices,
::mlir::Value rvalue )
static

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

◆ create() [6/8]

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

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

◆ create() [7/8]

InsertArrayOp llzk::array::InsertArrayOp::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 1503 of file Ops.cpp.inc.

◆ create() [8/8]

InsertArrayOp llzk::array::InsertArrayOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Value arr_ref,
::mlir::ValueRange indices,
::mlir::Value rvalue )
static

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

◆ getArrRef()

::mlir::TypedValue<::llzk::array::ArrayType > llzk::array::InsertArrayOp::getArrRef ( )
inline

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

◆ getArrRefMutable()

::mlir::OpOperand & llzk::array::InsertArrayOp::getArrRefMutable ( )
inline

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

◆ getArrRefType()

inline ::llzk::array::ArrayType llzk::array::InsertArrayOp::getArrRefType ( )
inline

Gets the type of the referenced base array.

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::array::InsertArrayOp::getAttributeNames ( )
inline

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

◆ getIndices()

::mlir::Operation::operand_range llzk::array::InsertArrayOp::getIndices ( )
inline

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

◆ getIndicesMutable()

mlir::MutableOperandRange llzk::array::InsertArrayOp::getIndicesMutable ( )

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::array::InsertArrayOp::getODSOperandIndexAndLength ( unsigned index)

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::array::InsertArrayOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::array::InsertArrayOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::array::InsertArrayOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::array::InsertArrayOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getRvalue()

::mlir::TypedValue<::llzk::array::ArrayType > llzk::array::InsertArrayOp::getRvalue ( )
inline

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

◆ getRvalueMutable()

::mlir::OpOperand & llzk::array::InsertArrayOp::getRvalueMutable ( )
inline

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

◆ isRead()

bool llzk::array::InsertArrayOp::isRead ( )

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

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

◆ parse()

mlir::ParseResult llzk::array::InsertArrayOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::array::InsertArrayOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verify()

LogicalResult llzk::array::InsertArrayOp::verify ( )

Definition at line 495 of file Ops.cpp.

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::array::InsertArrayOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::array::InsertArrayOp::verifyInvariantsImpl ( )

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

◆ verifySymbolUses()

LogicalResult llzk::array::InsertArrayOp::verifySymbolUses ( ::mlir::SymbolTableCollection & symbolTable)

Definition at line 488 of file Ops.cpp.

Member Data Documentation

◆ odsIndex_arr_ref

int llzk::array::InsertArrayOp::odsIndex_arr_ref = 0
staticconstexpr

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

◆ odsIndex_indices

int llzk::array::InsertArrayOp::odsIndex_indices = 1
staticconstexpr

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

◆ odsIndex_rvalue

int llzk::array::InsertArrayOp::odsIndex_rvalue = 2
staticconstexpr

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


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