LLZK 3.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>>
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::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 ()
::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 result, ::mlir::Value lhs, ::mlir::Value rhs)
static MulFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs)
static MulFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::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 MulFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs)
static MulFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::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 MulFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs)
static MulFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::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 MulFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static MulFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::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={})
static MulFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static MulFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::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 MulFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static MulFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static MulFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static MulFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
::llvm::LogicalResult inferReturnTypes (::mlir::MLIRContext *context, ::std::optional<::mlir::Location > location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::PropertyRef 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)

Static Public Attributes

static constexpr int odsIndex_lhs = 0
static constexpr int odsIndex_rhs = 1

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

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

◆ Properties

Member Function Documentation

◆ build() [1/7]

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 1981 of file Ops.cpp.inc.

◆ build() [2/7]

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

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

◆ build() [3/7]

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

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

◆ build() [4/7]

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

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

◆ build() [5/7]

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

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

◆ build() [6/7]

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

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

◆ build() [7/7]

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

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

◆ computePropertiesHash()

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

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

◆ create() [1/14]

MulFeltOp llzk::felt::MulFeltOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Type result,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [2/14]

MulFeltOp llzk::felt::MulFeltOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [3/14]

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

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

◆ create() [4/14]

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

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

◆ create() [5/14]

MulFeltOp llzk::felt::MulFeltOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [6/14]

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

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

◆ create() [7/14]

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

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

◆ create() [8/14]

MulFeltOp llzk::felt::MulFeltOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Type result,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [9/14]

MulFeltOp llzk::felt::MulFeltOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [10/14]

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

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

◆ create() [11/14]

MulFeltOp llzk::felt::MulFeltOp::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 2040 of file Ops.cpp.inc.

◆ create() [12/14]

MulFeltOp llzk::felt::MulFeltOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [13/14]

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

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

◆ create() [14/14]

MulFeltOp llzk::felt::MulFeltOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ fold()

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

Definition at line 173 of file Ops.cpp.

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getLhs()

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

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

◆ getLhsMutable()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

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

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

◆ getRhs()

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

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

◆ getRhsMutable()

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

Definition at line 1441 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::PropertyRef properties,
::mlir::RegionRange regions,
::llvm::SmallVectorImpl<::mlir::Type > & inferredReturnTypes )
static

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

◆ 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 2212 of file Ops.cpp.inc.

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

Member Data Documentation

◆ odsIndex_lhs

int llzk::felt::MulFeltOp::odsIndex_lhs = 0
staticconstexpr

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

◆ odsIndex_rhs

int llzk::felt::MulFeltOp::odsIndex_rhs = 1
staticconstexpr

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


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