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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getKeyAttrName ()
::mlir::StringAttr getValueAttrName ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::llzk::smt::KeywordAttr getKeyAttr ()
::llzk::smt::KeywordAttr getKey ()
::mlir::Attribute getValueAttr ()
::mlir::Attribute getValue ()
void setKeyAttr (::llzk::smt::KeywordAttr attr)
void setValueAttr (::mlir::Attribute attr)
void print (::mlir::OpAsmPrinter &p)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verify ()

Static Public Member Functions

::mlir::StringAttr getKeyAttrName (::mlir::OperationName name)
::mlir::StringAttr getValueAttrName (::mlir::OperationName name)
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)
::llvm::LogicalResult readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::smt::KeywordAttr key, ::mlir::Attribute value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::smt::KeywordAttr key, ::mlir::Attribute 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 8728 of file SMT.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::smt::SetInfoOp::GenericAdaptor = SetInfoOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/3]

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

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

◆ build() [2/3]

void llzk::smt::SetInfoOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llzk::smt::KeywordAttr key,
::mlir::Attribute value )
static

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

◆ build() [3/3]

void llzk::smt::SetInfoOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::llzk::smt::KeywordAttr key,
::mlir::Attribute value )
static

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

◆ computePropertiesHash()

llvm::hash_code llzk::smt::SetInfoOp::computePropertiesHash ( const Properties & prop)
static

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

◆ getAttributeNames()

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

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

◆ getInherentAttr()

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

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

◆ getKey()

llzk::smt::KeywordAttr llzk::smt::SetInfoOp::getKey ( )

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

◆ getKeyAttr()

::llzk::smt::KeywordAttr llzk::smt::SetInfoOp::getKeyAttr ( )
inline

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

◆ getKeyAttrName() [1/2]

::mlir::StringAttr llzk::smt::SetInfoOp::getKeyAttrName ( )
inline

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

◆ getKeyAttrName() [2/2]

::mlir::StringAttr llzk::smt::SetInfoOp::getKeyAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getValue()

mlir::Attribute llzk::smt::SetInfoOp::getValue ( )

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

◆ getValueAttr()

::mlir::Attribute llzk::smt::SetInfoOp::getValueAttr ( )
inline

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

◆ getValueAttrName() [1/2]

::mlir::StringAttr llzk::smt::SetInfoOp::getValueAttrName ( )
inline

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

◆ getValueAttrName() [2/2]

::mlir::StringAttr llzk::smt::SetInfoOp::getValueAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ parse()

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

Definition at line 167 of file SMTOps.cpp.

◆ populateInherentAttrs()

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

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

◆ print()

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

Definition at line 190 of file SMTOps.cpp.

◆ readProperties()

llvm::LogicalResult llzk::smt::SetInfoOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

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

◆ setInherentAttr()

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

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

◆ setKeyAttr()

void llzk::smt::SetInfoOp::setKeyAttr ( ::llzk::smt::KeywordAttr attr)
inline

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

◆ setPropertiesFromAttr()

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

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

◆ setValueAttr()

void llzk::smt::SetInfoOp::setValueAttr ( ::mlir::Attribute attr)
inline

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

◆ verify()

LogicalResult SetInfoOp::verify ( )

Definition at line 198 of file SMTOps.cpp.

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ writeProperties()

void llzk::smt::SetInfoOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

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


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