LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::cast::FeltToIndexOp Class Reference
Inheritance diagram for llzk::cast::FeltToIndexOp:
[legend]
Collaboration diagram for llzk::cast::FeltToIndexOp:
[legend]

Public Types

using Adaptor = FeltToIndexOpAdaptor
 
template<typename RangeT>
using GenericAdaptor = FeltToIndexOpGenericAdaptor<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<::llzk::felt::FeltTypegetValue ()
 
::mlir::OpOperand & getValueMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::TypedValue<::mlir::IndexType > getResult ()
 
::mlir::LogicalResult verifyInvariantsImpl ()
 
::mlir::LogicalResult verifyInvariants ()
 
::mlir::LogicalResult verify ()
 
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 95 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

Member Function Documentation

◆ build() [1/3]

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

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

◆ build() [2/3]

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

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

◆ build() [3/3]

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

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

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getResult()

mlir::TypedValue<::mlir::IndexType > llzk::cast::FeltToIndexOp::getResult ( )

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

◆ getValue()

mlir::TypedValue<::llzk::felt::FeltType > llzk::cast::FeltToIndexOp::getValue ( )

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

◆ getValueMutable()

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

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

◆ parse()

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

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

◆ print()

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

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

◆ verify()

LogicalResult llzk::cast::FeltToIndexOp::verify ( )

Definition at line 28 of file Ops.cpp.

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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


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