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

Public Types

using Adaptor = OrBoolOpAdaptor
template<typename RangeT>
using GenericAdaptor = OrBoolOpGenericAdaptor<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<::mlir::Type > getLhs ()
::mlir::TypedValue<::mlir::Type > getRhs ()
::mlir::OpOperand & getLhsMutable ()
::mlir::OpOperand & getRhsMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::mlir::IntegerType > getResult ()
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::mlir::OpFoldResult fold (FoldAdaptor adaptor)
void print (::mlir::OpAsmPrinter &_odsPrinter)
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 lhs, ::mlir::Value rhs)
static OrBoolOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs)
static OrBoolOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value lhs, ::mlir::Value rhs)
static OrBoolOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs)
static OrBoolOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs)
static OrBoolOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs)
static OrBoolOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static OrBoolOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static OrBoolOp 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 OrBoolOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static OrBoolOp 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 OrBoolOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static OrBoolOp 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 OrBoolOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static OrBoolOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
::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)
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Static Public Attributes

static constexpr int odsIndex_lhs = 0
static constexpr int odsIndex_rhs = 1

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::boolean::OrBoolOp::GenericAdaptor = OrBoolOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/7]

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

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

◆ build() [2/7]

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

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

◆ build() [3/7]

void llzk::boolean::OrBoolOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [4/7]

void llzk::boolean::OrBoolOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [5/7]

void llzk::boolean::OrBoolOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [6/7]

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

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

◆ build() [7/7]

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

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

◆ computePropertiesHash()

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

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

◆ create() [1/14]

OrBoolOp llzk::boolean::OrBoolOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Type result,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [2/14]

OrBoolOp llzk::boolean::OrBoolOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [3/14]

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

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

◆ create() [4/14]

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

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

◆ create() [5/14]

OrBoolOp llzk::boolean::OrBoolOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [6/14]

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

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

◆ create() [7/14]

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

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

◆ create() [8/14]

OrBoolOp llzk::boolean::OrBoolOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Type result,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [9/14]

OrBoolOp llzk::boolean::OrBoolOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [10/14]

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

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

◆ create() [11/14]

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

◆ create() [12/14]

OrBoolOp llzk::boolean::OrBoolOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ create() [13/14]

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

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

◆ create() [14/14]

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

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

◆ fold()

OpFoldResult llzk::boolean::OrBoolOp::fold ( FoldAdaptor adaptor)

Definition at line 85 of file Ops.cpp.

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getLhs()

::mlir::TypedValue<::mlir::Type > llzk::boolean::OrBoolOp::getLhs ( )
inline

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

◆ getLhsMutable()

::mlir::OpOperand & llzk::boolean::OrBoolOp::getLhsMutable ( )
inline

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

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

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

◆ getRhs()

::mlir::TypedValue<::mlir::Type > llzk::boolean::OrBoolOp::getRhs ( )
inline

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

◆ getRhsMutable()

::mlir::OpOperand & llzk::boolean::OrBoolOp::getRhsMutable ( )
inline

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

◆ inferReturnTypes()

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::boolean::OrBoolOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

Member Data Documentation

◆ odsIndex_lhs

int llzk::boolean::OrBoolOp::odsIndex_lhs = 0
staticconstexpr

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

◆ odsIndex_rhs

int llzk::boolean::OrBoolOp::odsIndex_rhs = 1
staticconstexpr

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


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