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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getLogicAttrName ()
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)
::mlir::StringAttr getLogicAttr ()
::llvm::StringRef getLogic ()
void setLogicAttr (::mlir::StringAttr attr)
void setLogic (::llvm::StringRef attrValue)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
void print (::mlir::OpAsmPrinter &_odsPrinter)

Static Public Member Functions

::mlir::StringAttr getLogicAttrName (::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, ::mlir::StringAttr logic)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::StringAttr logic)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llvm::StringRef logic)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llvm::StringRef logic)
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 8706 of file SMT.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::smt::SetLogicOp::GenericAdaptor = SetLogicOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/5]

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

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

◆ build() [2/5]

void llzk::smt::SetLogicOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llvm::StringRef logic )
static

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

◆ build() [3/5]

void llzk::smt::SetLogicOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::StringAttr logic )
static

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

◆ build() [4/5]

void llzk::smt::SetLogicOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::llvm::StringRef logic )
static

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

◆ build() [5/5]

void llzk::smt::SetLogicOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::StringAttr logic )
static

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

◆ computePropertiesHash()

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

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

◆ getAttributeNames()

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

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

◆ getInherentAttr()

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

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

◆ getLogic()

llvm::StringRef llzk::smt::SetLogicOp::getLogic ( )

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

◆ getLogicAttr()

::mlir::StringAttr llzk::smt::SetLogicOp::getLogicAttr ( )
inline

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

◆ getLogicAttrName() [1/2]

::mlir::StringAttr llzk::smt::SetLogicOp::getLogicAttrName ( )
inline

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

◆ getLogicAttrName() [2/2]

::mlir::StringAttr llzk::smt::SetLogicOp::getLogicAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ readProperties()

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

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

◆ setInherentAttr()

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

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

◆ setLogic()

void llzk::smt::SetLogicOp::setLogic ( ::llvm::StringRef attrValue)

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

◆ setLogicAttr()

void llzk::smt::SetLogicOp::setLogicAttr ( ::mlir::StringAttr attr)
inline

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ writeProperties()

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

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


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