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

Public Types

using Adaptor = IteOpAdaptor
template<typename RangeT>
using GenericAdaptor = IteOpGenericAdaptor<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::BoolTypegetCond ()
::mlir::TypedValue<::mlir::Type > getThenValue ()
::mlir::TypedValue<::mlir::Type > getElseValue ()
::mlir::OpOperand & getCondMutable ()
::mlir::OpOperand & getThenValueMutable ()
::mlir::OpOperand & getElseValueMutable ()
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 ()
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 cond, ::mlir::Value thenValue, ::mlir::Value elseValue)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value cond, ::mlir::Value thenValue, ::mlir::Value elseValue)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value cond, ::mlir::Value thenValue, ::mlir::Value elseValue)
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)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::smt::IteOp::GenericAdaptor = IteOpGenericAdaptor<RangeT>

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

Member Function Documentation

◆ build() [1/5]

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

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

◆ build() [2/5]

void llzk::smt::IteOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::Value cond,
::mlir::Value thenValue,
::mlir::Value elseValue )
static

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

◆ build() [3/5]

void llzk::smt::IteOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value cond,
::mlir::Value thenValue,
::mlir::Value elseValue )
static

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

◆ build() [4/5]

void llzk::smt::IteOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value cond,
::mlir::Value thenValue,
::mlir::Value elseValue )
static

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

◆ build() [5/5]

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

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

◆ getAttributeNames()

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

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

◆ getCond()

::mlir::TypedValue<::llzk::smt::BoolType > llzk::smt::IteOp::getCond ( )
inline

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

◆ getCondMutable()

::mlir::OpOperand & llzk::smt::IteOp::getCondMutable ( )
inline

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

◆ getEffects()

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

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

◆ getElseValue()

::mlir::TypedValue<::mlir::Type > llzk::smt::IteOp::getElseValue ( )
inline

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

◆ getElseValueMutable()

::mlir::OpOperand & llzk::smt::IteOp::getElseValueMutable ( )
inline

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getResult()

::mlir::TypedValue<::mlir::Type > llzk::smt::IteOp::getResult ( )
inline

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

◆ getThenValue()

::mlir::TypedValue<::mlir::Type > llzk::smt::IteOp::getThenValue ( )
inline

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

◆ getThenValueMutable()

::mlir::OpOperand & llzk::smt::IteOp::getThenValueMutable ( )
inline

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

◆ inferReturnTypes()

llvm::LogicalResult llzk::smt::IteOp::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

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

◆ parse()

mlir::ParseResult llzk::smt::IteOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ print()

void llzk::smt::IteOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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


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