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

Public Types

using Adaptor = ReturnOpAdaptor
template<typename RangeT>
using GenericAdaptor = ReturnOpGenericAdaptor<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::Operation::operand_range getOperands ()
::mlir::MutableOperandRange getOperandsMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::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 ()
::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)
static ReturnOp create (::mlir::OpBuilder &builder, ::mlir::Location location)
static ReturnOp create (::mlir::ImplicitLocOpBuilder &builder)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands)
static ReturnOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands)
static ReturnOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static ReturnOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static ReturnOp 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 ReturnOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static ReturnOp 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_operands = 0

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

using llzk::function::ReturnOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::function::ReturnOp::GenericAdaptor = ReturnOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/4]

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

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

◆ build() [2/4]

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

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

◆ build() [3/4]

void llzk::function::ReturnOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState )
static

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

◆ build() [4/4]

void llzk::function::ReturnOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::ValueRange operands )
static

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

◆ computePropertiesHash()

llvm::hash_code llzk::function::ReturnOp::computePropertiesHash ( const Properties & prop)
static

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

◆ create() [1/8]

ReturnOp llzk::function::ReturnOp::create ( ::mlir::ImplicitLocOpBuilder & builder)
static

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

◆ create() [2/8]

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

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

◆ create() [3/8]

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

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

◆ create() [4/8]

ReturnOp llzk::function::ReturnOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::ValueRange operands )
static

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

◆ create() [5/8]

ReturnOp llzk::function::ReturnOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location )
static

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

◆ create() [6/8]

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

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

◆ create() [7/8]

ReturnOp llzk::function::ReturnOp::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 1721 of file Ops.cpp.inc.

◆ create() [8/8]

ReturnOp llzk::function::ReturnOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::ValueRange operands )
static

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::function::ReturnOp::getAttributeNames ( )
inline

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::function::ReturnOp::getODSOperandIndexAndLength ( unsigned index)

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::function::ReturnOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::function::ReturnOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::function::ReturnOp::getODSResults ( unsigned index)
inline

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

◆ getOperands()

::mlir::Operation::operand_range llzk::function::ReturnOp::getOperands ( )
inline

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

◆ getOperandsMutable()

mlir::MutableOperandRange llzk::function::ReturnOp::getOperandsMutable ( )

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::function::ReturnOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ parse()

mlir::ParseResult llzk::function::ReturnOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::function::ReturnOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verify()

LogicalResult llzk::function::ReturnOp::verify ( )

Definition at line 526 of file Ops.cpp.

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::function::ReturnOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::function::ReturnOp::verifyInvariantsImpl ( )

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

Member Data Documentation

◆ odsIndex_operands

int llzk::function::ReturnOp::odsIndex_operands = 0
staticconstexpr

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


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