LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
Inheritance diagram for llzk::boolean::ForAllOp:
[legend]
Collaboration diagram for llzk::boolean::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 ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
::mlir::TypedValue<::llzk::array::ArrayType > getSort ()
::mlir::OpOperand & getSortMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::mlir::IntegerType > getResult ()
::mlir::Region & getRegion ()
void print (::mlir::OpAsmPrinter &p)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verify ()
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)

Static Public Member Functions

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)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value sort)
static ForAllOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value sort)
static ForAllOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value sort)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value sort)
static ForAllOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value sort)
static ForAllOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value sort)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value sort)
static ForAllOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value sort)
static ForAllOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value sort)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static ForAllOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static ForAllOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static ForAllOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static ForAllOp create (::mlir::ImplicitLocOpBuilder &builder, ::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 ForAllOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static ForAllOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static ForAllOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static ForAllOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
::llvm::LogicalResult inferReturnTypes (::mlir::MLIRContext *context, ::std::optional<::mlir::Location > location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::PropertyRef properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
::llvm::LogicalResult setPropertiesFromParsedAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)

Static Public Attributes

static constexpr int odsIndex_sort = 0

Detailed Description

Definition at line 442 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

Definition at line 446 of file Ops.h.inc.

◆ FoldAdaptor

using llzk::boolean::ForAllOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

Definition at line 449 of file Ops.h.inc.

◆ GenericAdaptor

template<typename RangeT>
using llzk::boolean::ForAllOp::GenericAdaptor = ForAllOpGenericAdaptor<RangeT>

Definition at line 448 of file Ops.h.inc.

◆ Properties

Member Function Documentation

◆ build() [1/7]

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

Definition at line 533 of file Ops.cpp.inc.

◆ build() [2/7]

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

Definition at line 587 of file Ops.cpp.inc.

◆ build() [3/7]

void llzk::boolean::ForAllOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::Value sort )
static

Definition at line 468 of file Ops.cpp.inc.

◆ build() [4/7]

void llzk::boolean::ForAllOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value sort )
static

Definition at line 514 of file Ops.cpp.inc.

◆ build() [5/7]

void llzk::boolean::ForAllOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value sort )
static

Definition at line 486 of file Ops.cpp.inc.

◆ build() [6/7]

void llzk::boolean::ForAllOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

Definition at line 555 of file Ops.cpp.inc.

◆ build() [7/7]

void llzk::boolean::ForAllOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

Definition at line 610 of file Ops.cpp.inc.

◆ computePropertiesHash()

llvm::hash_code llzk::boolean::ForAllOp::computePropertiesHash ( const Properties & prop)
static

Definition at line 449 of file Ops.cpp.inc.

◆ create() [1/14]

ForAllOp llzk::boolean::ForAllOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Type result,
::mlir::Value sort )
static

Definition at line 482 of file Ops.cpp.inc.

◆ create() [2/14]

ForAllOp llzk::boolean::ForAllOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::Value sort )
static

Definition at line 529 of file Ops.cpp.inc.

◆ create() [3/14]

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

Definition at line 551 of file Ops.cpp.inc.

◆ create() [4/14]

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

Definition at line 606 of file Ops.cpp.inc.

◆ create() [5/14]

ForAllOp llzk::boolean::ForAllOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Value sort )
static

Definition at line 510 of file Ops.cpp.inc.

◆ create() [6/14]

ForAllOp llzk::boolean::ForAllOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

Definition at line 583 of file Ops.cpp.inc.

◆ create() [7/14]

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

Definition at line 639 of file Ops.cpp.inc.

◆ create() [8/14]

ForAllOp llzk::boolean::ForAllOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Type result,
::mlir::Value sort )
static

Definition at line 474 of file Ops.cpp.inc.

◆ create() [9/14]

ForAllOp llzk::boolean::ForAllOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::Value sort )
static

Definition at line 521 of file Ops.cpp.inc.

◆ create() [10/14]

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

Definition at line 543 of file Ops.cpp.inc.

◆ create() [11/14]

ForAllOp llzk::boolean::ForAllOp::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 598 of file Ops.cpp.inc.

◆ create() [12/14]

ForAllOp llzk::boolean::ForAllOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Value sort )
static

Definition at line 502 of file Ops.cpp.inc.

◆ create() [13/14]

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

Definition at line 575 of file Ops.cpp.inc.

◆ create() [14/14]

ForAllOp llzk::boolean::ForAllOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

Definition at line 631 of file Ops.cpp.inc.

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::boolean::ForAllOp::getAttributeNames ( )
inline

Definition at line 452 of file Ops.h.inc.

◆ getEffects()

void llzk::boolean::ForAllOp::getEffects ( ::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > & effects)

Definition at line 706 of file Ops.cpp.inc.

◆ getInherentAttr()

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

Definition at line 454 of file Ops.cpp.inc.

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::boolean::ForAllOp::getODSOperandIndexAndLength ( unsigned index)
inline

Definition at line 460 of file Ops.h.inc.

◆ getODSOperands()

::mlir::Operation::operand_range llzk::boolean::ForAllOp::getODSOperands ( unsigned index)
inline

Definition at line 464 of file Ops.h.inc.

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::boolean::ForAllOp::getODSResultIndexAndLength ( unsigned index)
inline

Definition at line 479 of file Ops.h.inc.

◆ getODSResults()

::mlir::Operation::result_range llzk::boolean::ForAllOp::getODSResults ( unsigned index)
inline

Definition at line 483 of file Ops.h.inc.

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::boolean::ForAllOp::getOperationName ( )
inlinestatic

Definition at line 456 of file Ops.h.inc.

◆ getPropertiesAsAttr()

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

Definition at line 440 of file Ops.cpp.inc.

◆ getRegion()

::mlir::Region & llzk::boolean::ForAllOp::getRegion ( )
inline

Definition at line 493 of file Ops.h.inc.

◆ getResult()

::mlir::TypedValue<::mlir::IntegerType > llzk::boolean::ForAllOp::getResult ( )
inline

Definition at line 489 of file Ops.h.inc.

◆ getSort()

::mlir::TypedValue<::llzk::array::ArrayType > llzk::boolean::ForAllOp::getSort ( )
inline

Definition at line 470 of file Ops.h.inc.

◆ getSortMutable()

::mlir::OpOperand & llzk::boolean::ForAllOp::getSortMutable ( )
inline

Definition at line 474 of file Ops.h.inc.

◆ inferReturnTypes()

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

Definition at line 678 of file Ops.cpp.inc.

◆ parse()

ParseResult llzk::boolean::ForAllOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

Definition at line 291 of file Ops.cpp.

◆ populateInherentAttrs()

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

Definition at line 461 of file Ops.cpp.inc.

◆ print()

void llzk::boolean::ForAllOp::print ( ::mlir::OpAsmPrinter & p)

Definition at line 295 of file Ops.cpp.

◆ setInherentAttr()

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

Definition at line 458 of file Ops.cpp.inc.

◆ setPropertiesFromAttr()

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

Definition at line 431 of file Ops.cpp.inc.

◆ setPropertiesFromParsedAttr()

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

Definition at line 686 of file Ops.cpp.inc.

◆ verify()

LogicalResult llzk::boolean::ForAllOp::verify ( )

Definition at line 289 of file Ops.cpp.

◆ verifyInherentAttrs()

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

Definition at line 464 of file Ops.cpp.inc.

◆ verifyInvariants()

llvm::LogicalResult llzk::boolean::ForAllOp::verifyInvariants ( )

Definition at line 672 of file Ops.cpp.inc.

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::boolean::ForAllOp::verifyInvariantsImpl ( )

Definition at line 643 of file Ops.cpp.inc.

Member Data Documentation

◆ odsIndex_sort

int llzk::boolean::ForAllOp::odsIndex_sort = 0
staticconstexpr

Definition at line 450 of file Ops.h.inc.


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