|
LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
|
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 |
| using llzk::array::InsertArrayOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>> |
| using llzk::array::InsertArrayOp::GenericAdaptor = InsertArrayOpGenericAdaptor<RangeT> |
|
static |
Definition at line 1474 of file Ops.cpp.inc.
|
static |
Definition at line 1494 of file Ops.cpp.inc.
|
static |
Definition at line 1454 of file Ops.cpp.inc.
|
static |
Definition at line 1436 of file Ops.cpp.inc.
|
static |
Definition at line 1417 of file Ops.cpp.inc.
|
static |
Definition at line 1470 of file Ops.cpp.inc.
|
static |
Definition at line 1490 of file Ops.cpp.inc.
|
static |
Definition at line 1511 of file Ops.cpp.inc.
|
static |
Definition at line 1450 of file Ops.cpp.inc.
|
static |
Definition at line 1462 of file Ops.cpp.inc.
|
static |
Definition at line 1482 of file Ops.cpp.inc.
|
static |
Definition at line 1503 of file Ops.cpp.inc.
|
static |
Definition at line 1442 of file Ops.cpp.inc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| mlir::MutableOperandRange llzk::array::InsertArrayOp::getIndicesMutable | ( | ) |
Definition at line 1393 of file Ops.cpp.inc.
|
static |
Definition at line 1422 of file Ops.cpp.inc.
| std::pair< unsigned, unsigned > llzk::array::InsertArrayOp::getODSOperandIndexAndLength | ( | unsigned | index | ) |
Definition at line 1375 of file Ops.cpp.inc.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
static |
Definition at line 1408 of file Ops.cpp.inc.
|
inline |
|
inline |
| 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.
|
static |
Definition at line 1546 of file Ops.cpp.inc.
|
static |
Definition at line 1429 of file Ops.cpp.inc.
| void llzk::array::InsertArrayOp::print | ( | ::mlir::OpAsmPrinter & | _odsPrinter | ) |
Definition at line 1615 of file Ops.cpp.inc.
|
static |
Definition at line 1426 of file Ops.cpp.inc.
|
static |
Definition at line 1399 of file Ops.cpp.inc.
|
static |
Definition at line 1432 of file Ops.cpp.inc.
| llvm::LogicalResult llzk::array::InsertArrayOp::verifyInvariants | ( | ) |
Definition at line 1540 of file Ops.cpp.inc.
| llvm::LogicalResult llzk::array::InsertArrayOp::verifyInvariantsImpl | ( | ) |
Definition at line 1515 of file Ops.cpp.inc.
| LogicalResult llzk::array::InsertArrayOp::verifySymbolUses | ( | ::mlir::SymbolTableCollection & | symbolTable | ) |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |