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

Public Types

using Adaptor = ForallOpAdaptor
template<typename RangeT>
using GenericAdaptor = ForallOpGenericAdaptor<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 5664 of file SMT.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::smt::ForallOp::GenericAdaptor = ForallOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build()

void ForallOp::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 445 of file SMTOps.cpp.

◆ computePropertiesHash()

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

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

◆ getAttributeNames()

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

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

◆ getBody()

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

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

◆ getBoundVarNames()

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

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

◆ getBoundVarNamesAttr()

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

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

◆ getBoundVarNamesAttrName() [1/2]

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

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

◆ getBoundVarNamesAttrName() [2/2]

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

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

◆ getInherentAttr()

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

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

◆ getNoPattern()

bool llzk::smt::ForallOp::getNoPattern ( )

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

◆ getNoPatternAttr()

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

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

◆ getNoPatternAttrName() [1/2]

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

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

◆ getNoPatternAttrName() [2/2]

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPatterns()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

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

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

◆ getWeight()

uint32_t llzk::smt::ForallOp::getWeight ( )

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

◆ getWeightAttr()

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

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

◆ getWeightAttrName() [1/2]

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

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

◆ getWeightAttrName() [2/2]

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

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

◆ inferReturnTypes()

llvm::LogicalResult llzk::smt::ForallOp::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 6914 of file SMT.cpp.inc.

◆ parse()

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

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

◆ populateDefaultProperties()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ readProperties()

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

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

◆ removeBoundVarNamesAttr()

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

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

◆ removeNoPatternAttr()

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

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

◆ setBoundVarNamesAttr()

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

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

◆ setInherentAttr()

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

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

◆ setNoPattern()

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

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

◆ setNoPatternAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ setWeight()

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

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

◆ setWeightAttr()

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

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

◆ verify()

LogicalResult ForallOp::verify ( )

Definition at line 434 of file SMTOps.cpp.

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ verifyRegions()

LogicalResult ForallOp::verifyRegions ( )

Definition at line 443 of file SMTOps.cpp.

◆ writeProperties()

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

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


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