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

Public Types

using Adaptor = PowFeltOpAdaptor
template<typename RangeT>
using GenericAdaptor = PowFeltOpGenericAdaptor<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 PowFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs)
static PowFeltOp 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 PowFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs)
static PowFeltOp 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 PowFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs)
static PowFeltOp 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 PowFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static PowFeltOp 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 PowFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static PowFeltOp 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 PowFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static PowFeltOp 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 PowFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static PowFeltOp 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 2272 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::felt::PowFeltOp::GenericAdaptor = PowFeltOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/7]

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

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

◆ build() [2/7]

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

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

◆ build() [3/7]

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

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

◆ build() [4/7]

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

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

◆ build() [5/7]

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

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

◆ build() [6/7]

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

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

◆ build() [7/7]

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

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

◆ computePropertiesHash()

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

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

◆ create() [1/14]

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

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

◆ create() [2/14]

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

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

◆ create() [3/14]

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

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

◆ create() [4/14]

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

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

◆ create() [5/14]

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

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

◆ create() [6/14]

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

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

◆ create() [7/14]

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

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

◆ create() [8/14]

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

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

◆ create() [9/14]

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

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

◆ create() [10/14]

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

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

◆ create() [11/14]

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

◆ create() [12/14]

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

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

◆ create() [13/14]

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

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

◆ create() [14/14]

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

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

◆ fold()

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

Definition at line 183 of file Ops.cpp.

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getLhs()

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

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

◆ getLhsMutable()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

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

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

◆ getRhs()

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

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

◆ getRhsMutable()

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

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

◆ inferReturnTypes() [1/2]

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

◆ inferReturnTypes() [2/2]

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

◆ isCompatibleReturnTypes()

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

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

Member Data Documentation

◆ odsIndex_lhs

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

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

◆ odsIndex_rhs

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

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


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