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

Public Types

using Adaptor = IntToFeltOpAdaptor
template<typename RangeT>
using GenericAdaptor = IntToFeltOpGenericAdaptor<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 > getValue ()
::mlir::OpOperand & getValueMutable ()
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 value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value value)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::cast::IntToFeltOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::cast::IntToFeltOp::GenericAdaptor = IntToFeltOpGenericAdaptor<RangeT>

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

Member Function Documentation

◆ build() [1/3]

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

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

◆ build() [2/3]

void llzk::cast::IntToFeltOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::Value value )
static

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

◆ build() [3/3]

void llzk::cast::IntToFeltOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value value )
static

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::cast::IntToFeltOp::getAttributeNames ( )
inline

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

◆ getEffects()

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

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::cast::IntToFeltOp::getODSOperandIndexAndLength ( unsigned index)
inline

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::cast::IntToFeltOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::cast::IntToFeltOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::cast::IntToFeltOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::cast::IntToFeltOp::getOperationName ( )
inlinestatic

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

◆ getResult()

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

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

◆ getValue()

::mlir::TypedValue<::mlir::Type > llzk::cast::IntToFeltOp::getValue ( )
inline

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

◆ getValueMutable()

::mlir::OpOperand & llzk::cast::IntToFeltOp::getValueMutable ( )
inline

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

◆ parse()

mlir::ParseResult llzk::cast::IntToFeltOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ print()

void llzk::cast::IntToFeltOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ verifyInvariants()

llvm::LogicalResult llzk::cast::IntToFeltOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::cast::IntToFeltOp::verifyInvariantsImpl ( )

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


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