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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getBoundVarNamesAttrName ()
::mlir::StringAttr getNoPatternAttrName ()
::mlir::StringAttr getWeightAttrName ()
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)
::mlir::TypedValue<::llzk::smt::BoolTypegetResult ()
::mlir::Region & getBody ()
::mlir::MutableArrayRef<::mlir::Region > getPatterns ()
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::mlir::IntegerAttr getWeightAttr ()
uint32_t getWeight ()
::mlir::UnitAttr getNoPatternAttr ()
bool getNoPattern ()
::mlir::ArrayAttr getBoundVarNamesAttr ()
::std::optional< ::mlir::ArrayAttr > getBoundVarNames ()
void setWeightAttr (::mlir::IntegerAttr attr)
void setWeight (uint32_t attrValue)
void setNoPatternAttr (::mlir::UnitAttr attr)
void setNoPattern (bool attrValue)
void setBoundVarNamesAttr (::mlir::ArrayAttr attr)
::mlir::Attribute removeNoPatternAttr ()
::mlir::Attribute removeBoundVarNamesAttr ()
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verify ()
::llvm::LogicalResult verifyRegions ()
void print (::mlir::OpAsmPrinter &_odsPrinter)

Static Public Member Functions

::mlir::StringAttr getBoundVarNamesAttrName (::mlir::OperationName name)
::mlir::StringAttr getNoPatternAttrName (::mlir::OperationName name)
::mlir::StringAttr getWeightAttrName (::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::TypeRange boundVarTypes, llvm::function_ref< mlir::Value(mlir::OpBuilder &, mlir::Location, mlir::ValueRange)> bodyBuilder, std::optional< llvm::ArrayRef< mlir::StringRef > > boundVarNames=std::nullopt, llvm::function_ref< mlir::ValueRange(mlir::OpBuilder &, mlir::Location, mlir::ValueRange)> patternBuilder={}, uint32_t weight=0, bool noPattern=false)
static void populateDefaultProperties (::mlir::OperationName opName, Properties &properties)
::llvm::LogicalResult inferReturnTypes (::mlir::MLIRContext *context, ::std::optional<::mlir::Location > location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::smt::ExistsOp::GenericAdaptor = ExistsOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build()

void ExistsOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
mlir::TypeRange boundVarTypes,
llvm::function_ref< mlir::Value(mlir::OpBuilder &, mlir::Location, mlir::ValueRange)> bodyBuilder,
std::optional< llvm::ArrayRef< mlir::StringRef > > boundVarNames = std::nullopt,
llvm::function_ref< mlir::ValueRange(mlir::OpBuilder &, mlir::Location, mlir::ValueRange)> patternBuilder = {},
uint32_t weight = 0,
bool noPattern = false )
static

Definition at line 473 of file SMTOps.cpp.

◆ computePropertiesHash()

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

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

◆ getAttributeNames()

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

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

◆ getBody()

::mlir::Region & llzk::smt::ExistsOp::getBody ( )
inline

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

◆ getBoundVarNames()

std::optional<::mlir::ArrayAttr > llzk::smt::ExistsOp::getBoundVarNames ( )

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

◆ getBoundVarNamesAttr()

::mlir::ArrayAttr llzk::smt::ExistsOp::getBoundVarNamesAttr ( )
inline

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

◆ getBoundVarNamesAttrName() [1/2]

::mlir::StringAttr llzk::smt::ExistsOp::getBoundVarNamesAttrName ( )
inline

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

◆ getBoundVarNamesAttrName() [2/2]

::mlir::StringAttr llzk::smt::ExistsOp::getBoundVarNamesAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getInherentAttr()

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

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

◆ getNoPattern()

bool llzk::smt::ExistsOp::getNoPattern ( )

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

◆ getNoPatternAttr()

::mlir::UnitAttr llzk::smt::ExistsOp::getNoPatternAttr ( )
inline

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

◆ getNoPatternAttrName() [1/2]

::mlir::StringAttr llzk::smt::ExistsOp::getNoPatternAttrName ( )
inline

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

◆ getNoPatternAttrName() [2/2]

::mlir::StringAttr llzk::smt::ExistsOp::getNoPatternAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPatterns()

::mlir::MutableArrayRef<::mlir::Region > llzk::smt::ExistsOp::getPatterns ( )
inline

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

::mlir::TypedValue<::llzk::smt::BoolType > llzk::smt::ExistsOp::getResult ( )
inline

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

◆ getWeight()

uint32_t llzk::smt::ExistsOp::getWeight ( )

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

◆ getWeightAttr()

::mlir::IntegerAttr llzk::smt::ExistsOp::getWeightAttr ( )
inline

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

◆ getWeightAttrName() [1/2]

::mlir::StringAttr llzk::smt::ExistsOp::getWeightAttrName ( )
inline

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

◆ getWeightAttrName() [2/2]

::mlir::StringAttr llzk::smt::ExistsOp::getWeightAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ inferReturnTypes()

llvm::LogicalResult llzk::smt::ExistsOp::inferReturnTypes ( ::mlir::MLIRContext * context,
::std::optional<::mlir::Location > location,
::mlir::ValueRange operands,
::mlir::DictionaryAttr attributes,
::mlir::OpaqueProperties properties,
::mlir::RegionRange regions,
::llvm::SmallVectorImpl<::mlir::Type > & inferredReturnTypes )
static

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

◆ parse()

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

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

◆ populateDefaultProperties()

void llzk::smt::ExistsOp::populateDefaultProperties ( ::mlir::OperationName opName,
Properties & properties )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ readProperties()

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

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

◆ removeBoundVarNamesAttr()

::mlir::Attribute llzk::smt::ExistsOp::removeBoundVarNamesAttr ( )
inline

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

◆ removeNoPatternAttr()

::mlir::Attribute llzk::smt::ExistsOp::removeNoPatternAttr ( )
inline

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

◆ setBoundVarNamesAttr()

void llzk::smt::ExistsOp::setBoundVarNamesAttr ( ::mlir::ArrayAttr attr)
inline

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

◆ setInherentAttr()

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

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

◆ setNoPattern()

void llzk::smt::ExistsOp::setNoPattern ( bool attrValue)

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

◆ setNoPatternAttr()

void llzk::smt::ExistsOp::setNoPatternAttr ( ::mlir::UnitAttr attr)
inline

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

◆ setPropertiesFromAttr()

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

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

◆ setWeight()

void llzk::smt::ExistsOp::setWeight ( uint32_t attrValue)

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

◆ setWeightAttr()

void llzk::smt::ExistsOp::setWeightAttr ( ::mlir::IntegerAttr attr)
inline

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

◆ verify()

LogicalResult ExistsOp::verify ( )

Definition at line 462 of file SMTOps.cpp.

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ verifyRegions()

LogicalResult ExistsOp::verifyRegions ( )

Definition at line 471 of file SMTOps.cpp.

◆ writeProperties()

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

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


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