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

Public Types

using Adaptor = ShlFeltOpAdaptor
template<typename RangeT>
using GenericAdaptor = ShlFeltOpGenericAdaptor<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 2034 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::felt::ShlFeltOp::GenericAdaptor = ShlFeltOpGenericAdaptor<RangeT>

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

Member Function Documentation

◆ build() [1/5]

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

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

◆ build() [2/5]

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

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

◆ build() [3/5]

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

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

◆ build() [4/5]

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

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

◆ build() [5/5]

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

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

◆ fold()

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

Definition at line 273 of file Ops.cpp.

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getLhs()

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

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

◆ getLhsMutable()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getResult()

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

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

◆ getRhs()

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

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

◆ getRhsMutable()

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

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

◆ inferReturnTypes() [1/2]

::llvm::LogicalResult llzk::felt::ShlFeltOp::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::ShlFeltOp::inferReturnTypes ( ::mlir::MLIRContext * context,
std::optional<::mlir::Location > location,
Adaptor adaptor,
::llvm::SmallVectorImpl<::mlir::Type > & inferredReturnTypes )
static

◆ isCompatibleReturnTypes()

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

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

◆ parse()

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

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

◆ print()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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


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