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

Public Types

using Adaptor = NonDetOpAdaptor
template<typename RangeT>
using GenericAdaptor = NonDetOpGenericAdaptor<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)
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::mlir::Type > getRes ()
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
void getAsmResultNames (::mlir::OpAsmSetValueNameFn setNameFn)
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::Type res)
static NonDetOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type res)
static NonDetOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type res)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes)
static NonDetOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes)
static NonDetOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static NonDetOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static NonDetOp 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 NonDetOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static NonDetOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static void getCanonicalizationPatterns (::mlir::RewritePatternSet &results, ::mlir::MLIRContext *context)
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::NonDetOp::GenericAdaptor = NonDetOpGenericAdaptor<RangeT>

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

◆ Properties

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

Member Function Documentation

◆ build() [1/4]

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

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

◆ build() [2/4]

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

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

◆ build() [3/4]

void llzk::NonDetOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type res )
static

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

◆ build() [4/4]

void llzk::NonDetOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes )
static

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

◆ computePropertiesHash()

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

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

◆ create() [1/8]

NonDetOp llzk::NonDetOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Type res )
static

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

◆ create() [2/8]

NonDetOp llzk::NonDetOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes )
static

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

◆ create() [3/8]

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

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

◆ create() [4/8]

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

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

◆ create() [5/8]

NonDetOp llzk::NonDetOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Type res )
static

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

◆ create() [6/8]

NonDetOp llzk::NonDetOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes )
static

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

◆ create() [7/8]

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

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

◆ create() [8/8]

NonDetOp llzk::NonDetOp::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 152 of file Ops.cpp.inc.

◆ getAsmResultNames()

void llzk::NonDetOp::getAsmResultNames ( ::mlir::OpAsmSetValueNameFn setNameFn)

Definition at line 44 of file Ops.cpp.

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::NonDetOp::getAttributeNames ( )
inline

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

◆ getCanonicalizationPatterns()

void llzk::NonDetOp::getCanonicalizationPatterns ( ::mlir::RewritePatternSet & results,
::mlir::MLIRContext * context )
static

Definition at line 48 of file Ops.cpp.

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::NonDetOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

::mlir::Operation::result_range llzk::NonDetOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::NonDetOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getRes()

::mlir::TypedValue<::mlir::Type > llzk::NonDetOp::getRes ( )
inline

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::NonDetOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::NonDetOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::NonDetOp::verifyInvariantsImpl ( )

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


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