LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::cast::IntToFeltOp Class Reference
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::Value getValue ()
 
::mlir::OpOperand & getValueMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::TypedValue<::llzk::felt::FeltTypegetResult ()
 
::mlir::LogicalResult verifyInvariantsImpl ()
 
::mlir::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 196 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

Definition at line 202 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 276 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 265 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 270 of file Ops.cpp.inc.

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getResult()

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

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

◆ getValue()

mlir::Value llzk::cast::IntToFeltOp::getValue ( )

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

◆ getValueMutable()

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

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

◆ parse()

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

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

◆ print()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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


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