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

Public Types

using Adaptor = YieldOpAdaptor
template<typename RangeT>
using GenericAdaptor = YieldOpGenericAdaptor<RangeT>
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>
using Properties = FoldAdaptor::Properties

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 > getVal ()
::mlir::OpOperand & getValMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
void print (::mlir::OpAsmPrinter &_odsPrinter)

Static Public Member Functions

static constexpr ::llvm::StringLiteral getOperationName ()
::llvm::LogicalResult setPropertiesFromAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
::mlir::Attribute getPropertiesAsAttr (::mlir::MLIRContext *ctx, const Properties &prop)
static llvm::hash_code computePropertiesHash (const Properties &prop)
static std::optional< mlir::Attribute > getInherentAttr (::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
static void setInherentAttr (Properties &prop, llvm::StringRef name, mlir::Attribute value)
static void populateInherentAttrs (::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
::llvm::LogicalResult verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value val)
static YieldOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value val)
static YieldOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value val)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value val)
static YieldOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value val)
static YieldOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value val)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static YieldOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static YieldOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static YieldOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static YieldOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Static Public Attributes

static constexpr int odsIndex_val = 0

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::polymorphic::YieldOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::polymorphic::YieldOp::GenericAdaptor = YieldOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/4]

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

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

◆ build() [2/4]

void llzk::polymorphic::YieldOp::build ( ::mlir::OpBuilder & ,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ build() [3/4]

void llzk::polymorphic::YieldOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value val )
static

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

◆ build() [4/4]

void llzk::polymorphic::YieldOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value val )
static

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

◆ computePropertiesHash()

llvm::hash_code llzk::polymorphic::YieldOp::computePropertiesHash ( const Properties & prop)
static

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

◆ create() [1/8]

YieldOp llzk::polymorphic::YieldOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::Value val )
static

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

◆ create() [2/8]

YieldOp llzk::polymorphic::YieldOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

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

◆ create() [3/8]

YieldOp llzk::polymorphic::YieldOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ create() [4/8]

YieldOp llzk::polymorphic::YieldOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Value val )
static

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

◆ create() [5/8]

YieldOp llzk::polymorphic::YieldOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::Value val )
static

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

◆ create() [6/8]

YieldOp llzk::polymorphic::YieldOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

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

◆ create() [7/8]

YieldOp llzk::polymorphic::YieldOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ create() [8/8]

YieldOp llzk::polymorphic::YieldOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Value val )
static

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::polymorphic::YieldOp::getAttributeNames ( )
inline

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

◆ getInherentAttr()

std::optional< mlir::Attribute > llzk::polymorphic::YieldOp::getInherentAttr ( ::mlir::MLIRContext * ctx,
const Properties & prop,
llvm::StringRef name )
static

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::polymorphic::YieldOp::getODSOperandIndexAndLength ( unsigned index)
inline

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::polymorphic::YieldOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::polymorphic::YieldOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::polymorphic::YieldOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::polymorphic::YieldOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

mlir::Attribute llzk::polymorphic::YieldOp::getPropertiesAsAttr ( ::mlir::MLIRContext * ctx,
const Properties & prop )
static

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

◆ getVal()

::mlir::TypedValue<::mlir::Type > llzk::polymorphic::YieldOp::getVal ( )
inline

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

◆ getValMutable()

::mlir::OpOperand & llzk::polymorphic::YieldOp::getValMutable ( )
inline

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

◆ parse()

mlir::ParseResult llzk::polymorphic::YieldOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

void llzk::polymorphic::YieldOp::populateInherentAttrs ( ::mlir::MLIRContext * ctx,
const Properties & prop,
::mlir::NamedAttrList & attrs )
static

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

◆ print()

void llzk::polymorphic::YieldOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ setInherentAttr()

void llzk::polymorphic::YieldOp::setInherentAttr ( Properties & prop,
llvm::StringRef name,
mlir::Attribute value )
static

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

◆ setPropertiesFromAttr()

llvm::LogicalResult llzk::polymorphic::YieldOp::setPropertiesFromAttr ( Properties & prop,
::mlir::Attribute attr,
::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError )
static

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

◆ verifyInherentAttrs()

llvm::LogicalResult llzk::polymorphic::YieldOp::verifyInherentAttrs ( ::mlir::OperationName opName,
::mlir::NamedAttrList & attrs,
llvm::function_ref<::mlir::InFlightDiagnostic()> emitError )
static

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

◆ verifyInvariants()

llvm::LogicalResult llzk::polymorphic::YieldOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::polymorphic::YieldOp::verifyInvariantsImpl ( )

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

Member Data Documentation

◆ odsIndex_val

int llzk::polymorphic::YieldOp::odsIndex_val = 0
staticconstexpr

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


The documentation for this class was generated from the following files:
  • build/include/llzk/Dialect/Polymorphic/IR/Ops.h.inc
  • build/include/llzk/Dialect/Polymorphic/IR/Ops.cpp.inc