LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
Inheritance diagram for llzk::boolean::ExistsOp:
[legend]
Collaboration diagram for llzk::boolean::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 ()
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 ExistsOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value sort)
static ExistsOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value sort)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value sort)
static ExistsOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value sort)
static ExistsOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value sort)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value sort)
static ExistsOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value sort)
static ExistsOp 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 ExistsOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static ExistsOp 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 ExistsOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static ExistsOp 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 ExistsOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static ExistsOp 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 ExistsOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static ExistsOp 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 253 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

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

◆ Properties

Member Function Documentation

◆ build() [1/7]

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

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

◆ build() [2/7]

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

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

◆ build() [3/7]

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

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

◆ build() [4/7]

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

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

◆ build() [5/7]

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

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

◆ build() [6/7]

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

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

◆ build() [7/7]

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

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

◆ computePropertiesHash()

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

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

◆ create() [1/14]

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

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

◆ create() [2/14]

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

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

◆ create() [3/14]

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

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

◆ create() [4/14]

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

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

◆ create() [5/14]

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

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

◆ create() [6/14]

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

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

◆ create() [7/14]

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

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

◆ create() [8/14]

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

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

◆ create() [9/14]

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

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

◆ create() [10/14]

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

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

◆ create() [11/14]

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

◆ create() [12/14]

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

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

◆ create() [13/14]

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

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

◆ create() [14/14]

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

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

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getRegion()

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

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

◆ getResult()

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

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

◆ getSort()

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

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

◆ getSortMutable()

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

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

◆ inferReturnTypes()

llvm::LogicalResult llzk::boolean::ExistsOp::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 377 of file Ops.cpp.inc.

◆ parse()

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

Definition at line 303 of file Ops.cpp.

◆ populateInherentAttrs()

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

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

◆ print()

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

Definition at line 307 of file Ops.cpp.

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ setPropertiesFromParsedAttr()

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

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

◆ verify()

LogicalResult llzk::boolean::ExistsOp::verify ( )

Definition at line 301 of file Ops.cpp.

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

Member Data Documentation

◆ odsIndex_sort

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

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


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