|
LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
|
Public Types | |
| using | Adaptor = EnsureConstrainOpAdaptor |
| template<typename RangeT> | |
| using | GenericAdaptor = EnsureConstrainOpGenericAdaptor<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::IntegerType > | getCondition () |
| ::mlir::OpOperand & | getConditionMutable () |
| std::pair< unsigned, unsigned > | getODSResultIndexAndLength (unsigned index) |
| ::mlir::Operation::result_range | getODSResults (unsigned index) |
| ::llvm::LogicalResult | verifyInvariantsImpl () |
| ::llvm::LogicalResult | verifyInvariants () |
| void | getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects) |
| void | print (::mlir::OpAsmPrinter &_odsPrinter) |
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 condition) |
| static EnsureConstrainOp | create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value condition) |
| static EnsureConstrainOp | create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value condition) |
| static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value condition) |
| static EnsureConstrainOp | create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value condition) |
| static EnsureConstrainOp | create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value condition) |
| static void | build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={}) |
| static EnsureConstrainOp | create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={}) |
| static EnsureConstrainOp | 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 EnsureConstrainOp | create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={}) |
| static EnsureConstrainOp | 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_condition = 0 |
| using llzk::verif::EnsureConstrainOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>> |
| using llzk::verif::EnsureConstrainOp::GenericAdaptor = EnsureConstrainOpGenericAdaptor<RangeT> |
|
static |
Definition at line 1710 of file Ops.cpp.inc.
|
static |
Definition at line 1730 of file Ops.cpp.inc.
|
static |
Definition at line 1692 of file Ops.cpp.inc.
|
static |
Definition at line 1676 of file Ops.cpp.inc.
|
static |
Definition at line 1657 of file Ops.cpp.inc.
|
static |
Definition at line 1706 of file Ops.cpp.inc.
|
static |
Definition at line 1726 of file Ops.cpp.inc.
|
static |
Definition at line 1747 of file Ops.cpp.inc.
|
static |
Definition at line 1688 of file Ops.cpp.inc.
|
static |
Definition at line 1698 of file Ops.cpp.inc.
|
static |
Definition at line 1718 of file Ops.cpp.inc.
|
static |
Definition at line 1739 of file Ops.cpp.inc.
|
static |
Definition at line 1680 of file Ops.cpp.inc.
|
inline |
|
inline |
|
inline |
| void llzk::verif::EnsureConstrainOp::getEffects | ( | ::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > & | effects | ) |
Definition at line 1800 of file Ops.cpp.inc.
|
static |
Definition at line 1662 of file Ops.cpp.inc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
static |
Definition at line 1648 of file Ops.cpp.inc.
|
static |
Definition at line 1768 of file Ops.cpp.inc.
|
static |
Definition at line 1669 of file Ops.cpp.inc.
| void llzk::verif::EnsureConstrainOp::print | ( | ::mlir::OpAsmPrinter & | _odsPrinter | ) |
Definition at line 1791 of file Ops.cpp.inc.
|
static |
Definition at line 1666 of file Ops.cpp.inc.
|
static |
Definition at line 1639 of file Ops.cpp.inc.
|
static |
Definition at line 1672 of file Ops.cpp.inc.
| llvm::LogicalResult llzk::verif::EnsureConstrainOp::verifyInvariants | ( | ) |
Definition at line 1764 of file Ops.cpp.inc.
| llvm::LogicalResult llzk::verif::EnsureConstrainOp::verifyInvariantsImpl | ( | ) |
Definition at line 1751 of file Ops.cpp.inc.
|
staticconstexpr |