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

Public Types

using Adaptor = DecreasesOpAdaptor
template<typename RangeT>
using GenericAdaptor = DecreasesOpGenericAdaptor<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::felt::FeltType > getValue ()
::mlir::OpOperand & getValueMutable ()
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 value)
static DecreasesOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value value)
static DecreasesOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value value)
static DecreasesOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value value)
static DecreasesOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value value)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static DecreasesOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static DecreasesOp 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 DecreasesOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static DecreasesOp 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_value = 0

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::verif::DecreasesOp::GenericAdaptor = DecreasesOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/4]

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

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

◆ build() [2/4]

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

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

◆ build() [3/4]

void llzk::verif::DecreasesOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value value )
static

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

◆ build() [4/4]

void llzk::verif::DecreasesOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value value )
static

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

◆ computePropertiesHash()

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

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

◆ create() [1/8]

DecreasesOp llzk::verif::DecreasesOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::Value value )
static

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

◆ create() [2/8]

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

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

◆ create() [3/8]

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

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

◆ create() [4/8]

DecreasesOp llzk::verif::DecreasesOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Value value )
static

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

◆ create() [5/8]

DecreasesOp llzk::verif::DecreasesOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::Value value )
static

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

◆ create() [6/8]

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

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

◆ create() [7/8]

DecreasesOp llzk::verif::DecreasesOp::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 1361 of file Ops.cpp.inc.

◆ create() [8/8]

DecreasesOp llzk::verif::DecreasesOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Value value )
static

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::verif::DecreasesOp::getAttributeNames ( )
inline

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::verif::DecreasesOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

::mlir::Operation::result_range llzk::verif::DecreasesOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::verif::DecreasesOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getValue()

::mlir::TypedValue<::llzk::felt::FeltType > llzk::verif::DecreasesOp::getValue ( )
inline

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

◆ getValueMutable()

::mlir::OpOperand & llzk::verif::DecreasesOp::getValueMutable ( )
inline

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::verif::DecreasesOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::verif::DecreasesOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::verif::DecreasesOp::verifyInvariantsImpl ( )

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

Member Data Documentation

◆ odsIndex_value

int llzk::verif::DecreasesOp::odsIndex_value = 0
staticconstexpr

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


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