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

Public Types

using Adaptor = MulFeltOpAdaptor
template<typename RangeT>
using GenericAdaptor = MulFeltOpGenericAdaptor<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<::mlir::Type > getResult ()
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::mlir::OpFoldResult fold (FoldAdaptor adaptor)
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)
::llvm::LogicalResult inferReturnTypes (::mlir::MLIRContext *context, std::optional<::mlir::Location > location, Adaptor adaptor, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
static bool isCompatibleReturnTypes (::mlir::TypeRange l, ::mlir::TypeRange r)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::felt::MulFeltOp::GenericAdaptor = MulFeltOpGenericAdaptor<RangeT>

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

Member Function Documentation

◆ build() [1/5]

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

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

◆ build() [2/5]

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

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

◆ build() [3/5]

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

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

◆ build() [4/5]

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

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

◆ build() [5/5]

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

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

◆ fold()

OpFoldResult llzk::felt::MulFeltOp::fold ( FoldAdaptor adaptor)

Definition at line 161 of file Ops.cpp.

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getLhs()

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

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

◆ getLhsMutable()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getResult()

::mlir::TypedValue<::mlir::Type > llzk::felt::MulFeltOp::getResult ( )
inline

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

◆ getRhs()

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

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

◆ getRhsMutable()

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

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

◆ inferReturnTypes() [1/2]

::llvm::LogicalResult llzk::felt::MulFeltOp::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

◆ inferReturnTypes() [2/2]

::llvm::LogicalResult llzk::felt::MulFeltOp::inferReturnTypes ( ::mlir::MLIRContext * context,
std::optional<::mlir::Location > location,
Adaptor adaptor,
::llvm::SmallVectorImpl<::mlir::Type > & inferredReturnTypes )
static

◆ isCompatibleReturnTypes()

bool llzk::felt::MulFeltOp::isCompatibleReturnTypes ( ::mlir::TypeRange l,
::mlir::TypeRange r )
static

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

◆ parse()

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

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

◆ print()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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


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