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

Public Types

using Adaptor = ArraySelectOpAdaptor
template<typename RangeT>
using GenericAdaptor = ArraySelectOpGenericAdaptor<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<::llzk::smt::ArrayTypegetArray ()
::mlir::TypedValue<::mlir::Type > getIndex ()
::mlir::OpOperand & getArrayMutable ()
::mlir::OpOperand & getIndexMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::mlir::Type > getResult ()
::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 result, ::mlir::Value array, ::mlir::Value index)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value array, ::mlir::Value index)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value array, ::mlir::Value index)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
::llvm::LogicalResult inferReturnTypes (::mlir::MLIRContext *context, ::std::optional<::mlir::Location > location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

Definition at line 771 of file SMT.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::smt::ArraySelectOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

Definition at line 778 of file SMT.h.inc.

◆ GenericAdaptor

template<typename RangeT>
using llzk::smt::ArraySelectOp::GenericAdaptor = ArraySelectOpGenericAdaptor<RangeT>

Definition at line 777 of file SMT.h.inc.

Member Function Documentation

◆ build() [1/5]

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

Definition at line 890 of file SMT.cpp.inc.

◆ build() [2/5]

void llzk::smt::ArraySelectOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::Value array,
::mlir::Value index )
static

Definition at line 861 of file SMT.cpp.inc.

◆ build() [3/5]

void llzk::smt::ArraySelectOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value array,
::mlir::Value index )
static

Definition at line 883 of file SMT.cpp.inc.

◆ build() [4/5]

void llzk::smt::ArraySelectOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value array,
::mlir::Value index )
static

Definition at line 867 of file SMT.cpp.inc.

◆ build() [5/5]

void llzk::smt::ArraySelectOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

Definition at line 898 of file SMT.cpp.inc.

◆ getArray()

::mlir::TypedValue<::llzk::smt::ArrayType > llzk::smt::ArraySelectOp::getArray ( )
inline

Definition at line 797 of file SMT.h.inc.

◆ getArrayMutable()

::mlir::OpOperand & llzk::smt::ArraySelectOp::getArrayMutable ( )
inline

Definition at line 805 of file SMT.h.inc.

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::smt::ArraySelectOp::getAttributeNames ( )
inline

Definition at line 779 of file SMT.h.inc.

◆ getEffects()

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

Definition at line 1020 of file SMT.cpp.inc.

◆ getIndex()

::mlir::TypedValue<::mlir::Type > llzk::smt::ArraySelectOp::getIndex ( )
inline

Definition at line 801 of file SMT.h.inc.

◆ getIndexMutable()

::mlir::OpOperand & llzk::smt::ArraySelectOp::getIndexMutable ( )
inline

Definition at line 810 of file SMT.h.inc.

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::smt::ArraySelectOp::getODSOperandIndexAndLength ( unsigned index)
inline

Definition at line 787 of file SMT.h.inc.

◆ getODSOperands()

::mlir::Operation::operand_range llzk::smt::ArraySelectOp::getODSOperands ( unsigned index)
inline

Definition at line 791 of file SMT.h.inc.

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::smt::ArraySelectOp::getODSResultIndexAndLength ( unsigned index)
inline

Definition at line 815 of file SMT.h.inc.

◆ getODSResults()

::mlir::Operation::result_range llzk::smt::ArraySelectOp::getODSResults ( unsigned index)
inline

Definition at line 819 of file SMT.h.inc.

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::smt::ArraySelectOp::getOperationName ( )
inlinestatic

Definition at line 783 of file SMT.h.inc.

◆ getResult()

::mlir::TypedValue<::mlir::Type > llzk::smt::ArraySelectOp::getResult ( )
inline

Definition at line 825 of file SMT.h.inc.

◆ inferReturnTypes()

llvm::LogicalResult llzk::smt::ArraySelectOp::inferReturnTypes ( ::mlir::MLIRContext * context,
::std::optional<::mlir::Location > location,
::mlir::ValueRange operands,
::mlir::DictionaryAttr attributes,
::mlir::OpaqueProperties properties,
::mlir::RegionRange regions,
::llvm::SmallVectorImpl<::mlir::Type > & inferredReturnTypes )
static

Definition at line 952 of file SMT.cpp.inc.

◆ parse()

mlir::ParseResult llzk::smt::ArraySelectOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

Definition at line 962 of file SMT.cpp.inc.

◆ print()

void llzk::smt::ArraySelectOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

Definition at line 1007 of file SMT.cpp.inc.

◆ verifyInvariants()

llvm::LogicalResult llzk::smt::ArraySelectOp::verifyInvariants ( )

Definition at line 948 of file SMT.cpp.inc.

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::smt::ArraySelectOp::verifyInvariantsImpl ( )

Definition at line 916 of file SMT.cpp.inc.


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