LLZK 0.1.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
llzk::felt::UnsignedModFeltOp Class Reference
Inheritance diagram for llzk::felt::UnsignedModFeltOp:
[legend]
Collaboration diagram for llzk::felt::UnsignedModFeltOp:
[legend]

Public Types

using Adaptor = UnsignedModFeltOpAdaptor
template<typename RangeT>
using GenericAdaptor = UnsignedModFeltOpGenericAdaptor<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<::mlir::Type > getLhs ()
::mlir::TypedValue<::mlir::Type > getRhs ()
::mlir::OpOperand & getLhsMutable ()
::mlir::OpOperand & getRhsMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::llzk::felt::FeltTypegetResult ()
::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 lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs)
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 2998 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

Member Function Documentation

◆ build() [1/5]

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

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

◆ build() [2/5]

void llzk::felt::UnsignedModFeltOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [3/5]

void llzk::felt::UnsignedModFeltOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [4/5]

void llzk::felt::UnsignedModFeltOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [5/5]

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

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::felt::UnsignedModFeltOp::getAttributeNames ( )
inline

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

◆ getEffects()

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

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

◆ getLhs()

::mlir::TypedValue<::mlir::Type > llzk::felt::UnsignedModFeltOp::getLhs ( )
inline

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

◆ getLhsMutable()

::mlir::OpOperand & llzk::felt::UnsignedModFeltOp::getLhsMutable ( )
inline

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::felt::UnsignedModFeltOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

::mlir::Operation::result_range llzk::felt::UnsignedModFeltOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::felt::UnsignedModFeltOp::getOperationName ( )
inlinestatic

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

◆ getResult()

::mlir::TypedValue<::llzk::felt::FeltType > llzk::felt::UnsignedModFeltOp::getResult ( )
inline

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

◆ getRhs()

::mlir::TypedValue<::mlir::Type > llzk::felt::UnsignedModFeltOp::getRhs ( )
inline

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

◆ getRhsMutable()

::mlir::OpOperand & llzk::felt::UnsignedModFeltOp::getRhsMutable ( )
inline

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

◆ inferReturnTypes()

llvm::LogicalResult llzk::felt::UnsignedModFeltOp::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 2980 of file Ops.cpp.inc.

◆ parse()

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

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

◆ print()

void llzk::felt::UnsignedModFeltOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ verifyInvariants()

llvm::LogicalResult llzk::felt::UnsignedModFeltOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::felt::UnsignedModFeltOp::verifyInvariantsImpl ( )

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


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