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

Public Types

using Adaptor = RepeatOpAdaptor
template<typename RangeT>
using GenericAdaptor = RepeatOpGenericAdaptor<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::smt::BitVectorTypegetInput ()
::mlir::OpOperand & getInputMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::llzk::smt::BitVectorTypegetResult ()
void print (::mlir::OpAsmPrinter &p)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verify ()
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)
unsigned getCount ()
 Get the number of times the input operand is repeated.

Static Public Member Functions

static constexpr ::llvm::StringLiteral getOperationName ()
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, unsigned count, mlir::Value input)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input)
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 8419 of file SMT.h.inc.

Member Typedef Documentation

◆ Adaptor

Definition at line 8423 of file SMT.h.inc.

◆ FoldAdaptor

using llzk::smt::RepeatOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

Definition at line 8426 of file SMT.h.inc.

◆ GenericAdaptor

template<typename RangeT>
using llzk::smt::RepeatOp::GenericAdaptor = RepeatOpGenericAdaptor<RangeT>

Definition at line 8425 of file SMT.h.inc.

Member Function Documentation

◆ build() [1/4]

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

Definition at line 9868 of file SMT.cpp.inc.

◆ build() [2/4]

void llzk::smt::RepeatOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::Value input )
static

Definition at line 9857 of file SMT.cpp.inc.

◆ build() [3/4]

void llzk::smt::RepeatOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value input )
static

Definition at line 9862 of file SMT.cpp.inc.

◆ build() [4/4]

void llzk::smt::RepeatOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
unsigned count,
mlir::Value input )
static

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::smt::RepeatOp::getAttributeNames ( )
inline

Definition at line 8427 of file SMT.h.inc.

◆ getCount()

unsigned RepeatOp::getCount ( )

Get the number of times the input operand is repeated.

Definition at line 204 of file SMTOps.cpp.

◆ getEffects()

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

Definition at line 9904 of file SMT.cpp.inc.

◆ getInput()

::mlir::TypedValue<::llzk::smt::BitVectorType > llzk::smt::RepeatOp::getInput ( )
inline

Definition at line 8445 of file SMT.h.inc.

◆ getInputMutable()

::mlir::OpOperand & llzk::smt::RepeatOp::getInputMutable ( )
inline

Definition at line 8449 of file SMT.h.inc.

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::smt::RepeatOp::getODSOperandIndexAndLength ( unsigned index)
inline

Definition at line 8435 of file SMT.h.inc.

◆ getODSOperands()

::mlir::Operation::operand_range llzk::smt::RepeatOp::getODSOperands ( unsigned index)
inline

Definition at line 8439 of file SMT.h.inc.

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::smt::RepeatOp::getODSResultIndexAndLength ( unsigned index)
inline

Definition at line 8454 of file SMT.h.inc.

◆ getODSResults()

::mlir::Operation::result_range llzk::smt::RepeatOp::getODSResults ( unsigned index)
inline

Definition at line 8458 of file SMT.h.inc.

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::smt::RepeatOp::getOperationName ( )
inlinestatic

Definition at line 8431 of file SMT.h.inc.

◆ getResult()

::mlir::TypedValue<::llzk::smt::BitVectorType > llzk::smt::RepeatOp::getResult ( )
inline

Definition at line 8464 of file SMT.h.inc.

◆ parse()

ParseResult RepeatOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

Definition at line 216 of file SMTOps.cpp.

◆ print()

void RepeatOp::print ( ::mlir::OpAsmPrinter & p)

Definition at line 268 of file SMTOps.cpp.

◆ verify()

LogicalResult RepeatOp::verify ( )

Definition at line 193 of file SMTOps.cpp.

◆ verifyInvariants()

llvm::LogicalResult llzk::smt::RepeatOp::verifyInvariants ( )

Definition at line 9898 of file SMT.cpp.inc.

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::smt::RepeatOp::verifyInvariantsImpl ( )

Definition at line 9876 of file SMT.cpp.inc.


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