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

Public Types

using Adaptor = SMTInfoSetOpAdaptor
template<typename RangeT>
using GenericAdaptor = SMTInfoSetOpGenericAdaptor<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_info::KeywordAttr getKeyAttr ()
::llzk::smt_info::KeywordAttr getKey ()
::mlir::Attribute getValueAttr ()
::mlir::Attribute getValue ()
void setKeyAttr (::llzk::smt_info::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_info::KeywordAttr key, ::mlir::Attribute value)
static SMTInfoSetOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::llzk::smt_info::KeywordAttr key, ::mlir::Attribute value)
static SMTInfoSetOp create (::mlir::ImplicitLocOpBuilder &builder, ::llzk::smt_info::KeywordAttr key, ::mlir::Attribute value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::smt_info::KeywordAttr key, ::mlir::Attribute value)
static SMTInfoSetOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::llzk::smt_info::KeywordAttr key, ::mlir::Attribute value)
static SMTInfoSetOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::llzk::smt_info::KeywordAttr key, ::mlir::Attribute value)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static SMTInfoSetOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static SMTInfoSetOp 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 SMTInfoSetOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static SMTInfoSetOp 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)
::llvm::LogicalResult setPropertiesFromParsedAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)

Detailed Description

Definition at line 140 of file SMTInfoOps.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::smt_info::SMTInfoSetOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

Definition at line 147 of file SMTInfoOps.h.inc.

◆ GenericAdaptor

Definition at line 146 of file SMTInfoOps.h.inc.

◆ Properties

Member Function Documentation

◆ build() [1/4]

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

Definition at line 262 of file SMTInfoOps.cpp.inc.

◆ build() [2/4]

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

Definition at line 292 of file SMTInfoOps.cpp.inc.

◆ build() [3/4]

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

Definition at line 226 of file SMTInfoOps.cpp.inc.

◆ build() [4/4]

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

Definition at line 243 of file SMTInfoOps.cpp.inc.

◆ computePropertiesHash()

llvm::hash_code llzk::smt_info::SMTInfoSetOp::computePropertiesHash ( const Properties & prop)
static

Definition at line 151 of file SMTInfoOps.cpp.inc.

◆ create() [1/8]

SMTInfoSetOp llzk::smt_info::SMTInfoSetOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::llzk::smt_info::KeywordAttr key,
::mlir::Attribute value )
static

Definition at line 239 of file SMTInfoOps.cpp.inc.

◆ create() [2/8]

SMTInfoSetOp llzk::smt_info::SMTInfoSetOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::llzk::smt_info::KeywordAttr key,
::mlir::Attribute value )
static

Definition at line 258 of file SMTInfoOps.cpp.inc.

◆ create() [3/8]

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

Definition at line 288 of file SMTInfoOps.cpp.inc.

◆ create() [4/8]

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

Definition at line 309 of file SMTInfoOps.cpp.inc.

◆ create() [5/8]

SMTInfoSetOp llzk::smt_info::SMTInfoSetOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::llzk::smt_info::KeywordAttr key,
::mlir::Attribute value )
static

Definition at line 231 of file SMTInfoOps.cpp.inc.

◆ create() [6/8]

SMTInfoSetOp llzk::smt_info::SMTInfoSetOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::llzk::smt_info::KeywordAttr key,
::mlir::Attribute value )
static

Definition at line 250 of file SMTInfoOps.cpp.inc.

◆ create() [7/8]

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

Definition at line 280 of file SMTInfoOps.cpp.inc.

◆ create() [8/8]

SMTInfoSetOp llzk::smt_info::SMTInfoSetOp::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 301 of file SMTInfoOps.cpp.inc.

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::smt_info::SMTInfoSetOp::getAttributeNames ( )
inline

Definition at line 149 of file SMTInfoOps.h.inc.

◆ getInherentAttr()

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

Definition at line 158 of file SMTInfoOps.cpp.inc.

◆ getKey()

llzk::smt_info::KeywordAttr llzk::smt_info::SMTInfoSetOp::getKey ( )

Definition at line 216 of file SMTInfoOps.cpp.inc.

◆ getKeyAttr()

::llzk::smt_info::KeywordAttr llzk::smt_info::SMTInfoSetOp::getKeyAttr ( )
inline

Definition at line 203 of file SMTInfoOps.h.inc.

◆ getKeyAttrName() [1/2]

::mlir::StringAttr llzk::smt_info::SMTInfoSetOp::getKeyAttrName ( )
inline

Definition at line 154 of file SMTInfoOps.h.inc.

◆ getKeyAttrName() [2/2]

::mlir::StringAttr llzk::smt_info::SMTInfoSetOp::getKeyAttrName ( ::mlir::OperationName name)
inlinestatic

Definition at line 158 of file SMTInfoOps.h.inc.

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::smt_info::SMTInfoSetOp::getODSOperandIndexAndLength ( unsigned index)
inline

Definition at line 174 of file SMTInfoOps.h.inc.

◆ getODSOperands()

::mlir::Operation::operand_range llzk::smt_info::SMTInfoSetOp::getODSOperands ( unsigned index)
inline

Definition at line 178 of file SMTInfoOps.h.inc.

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::smt_info::SMTInfoSetOp::getODSResultIndexAndLength ( unsigned index)
inline

Definition at line 184 of file SMTInfoOps.h.inc.

◆ getODSResults()

::mlir::Operation::result_range llzk::smt_info::SMTInfoSetOp::getODSResults ( unsigned index)
inline

Definition at line 188 of file SMTInfoOps.h.inc.

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::smt_info::SMTInfoSetOp::getOperationName ( )
inlinestatic

Definition at line 170 of file SMTInfoOps.h.inc.

◆ getPropertiesAsAttr()

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

Definition at line 128 of file SMTInfoOps.cpp.inc.

◆ getValue()

mlir::Attribute llzk::smt_info::SMTInfoSetOp::getValue ( )

Definition at line 221 of file SMTInfoOps.cpp.inc.

◆ getValueAttr()

::mlir::Attribute llzk::smt_info::SMTInfoSetOp::getValueAttr ( )
inline

Definition at line 208 of file SMTInfoOps.h.inc.

◆ getValueAttrName() [1/2]

::mlir::StringAttr llzk::smt_info::SMTInfoSetOp::getValueAttrName ( )
inline

Definition at line 162 of file SMTInfoOps.h.inc.

◆ getValueAttrName() [2/2]

::mlir::StringAttr llzk::smt_info::SMTInfoSetOp::getValueAttrName ( ::mlir::OperationName name)
inlinestatic

Definition at line 166 of file SMTInfoOps.h.inc.

◆ parse()

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

Definition at line 102 of file SMTInfoOps.cpp.

◆ populateInherentAttrs()

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

Definition at line 179 of file SMTInfoOps.cpp.inc.

◆ print()

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

Definition at line 123 of file SMTInfoOps.cpp.

◆ readProperties()

llvm::LogicalResult llzk::smt_info::SMTInfoSetOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

Definition at line 200 of file SMTInfoOps.cpp.inc.

◆ setInherentAttr()

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

Definition at line 167 of file SMTInfoOps.cpp.inc.

◆ setKeyAttr()

void llzk::smt_info::SMTInfoSetOp::setKeyAttr ( ::llzk::smt_info::KeywordAttr attr)
inline

Definition at line 213 of file SMTInfoOps.h.inc.

◆ setPropertiesFromAttr()

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

Definition at line 91 of file SMTInfoOps.cpp.inc.

◆ setPropertiesFromParsedAttr()

llvm::LogicalResult llzk::smt_info::SMTInfoSetOp::setPropertiesFromParsedAttr ( Properties & prop,
::mlir::Attribute attr,
::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError )
static

Definition at line 333 of file SMTInfoOps.cpp.inc.

◆ setValueAttr()

void llzk::smt_info::SMTInfoSetOp::setValueAttr ( ::mlir::Attribute attr)
inline

Definition at line 217 of file SMTInfoOps.h.inc.

◆ verify()

LogicalResult SMTInfoSetOp::verify ( )

Definition at line 131 of file SMTInfoOps.cpp.

◆ verifyInherentAttrs()

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

Definition at line 185 of file SMTInfoOps.cpp.inc.

◆ verifyInvariants()

llvm::LogicalResult llzk::smt_info::SMTInfoSetOp::verifyInvariants ( )

Definition at line 327 of file SMTInfoOps.cpp.inc.

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::smt_info::SMTInfoSetOp::verifyInvariantsImpl ( )

Definition at line 313 of file SMTInfoOps.cpp.inc.

◆ writeProperties()

void llzk::smt_info::SMTInfoSetOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

Definition at line 210 of file SMTInfoOps.cpp.inc.


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