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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getPredAttrName ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
::mlir::TypedValue<::llzk::smt::IntTypegetLhs ()
::mlir::TypedValue<::llzk::smt::IntTypegetRhs ()
::mlir::OpOperand & getLhsMutable ()
::mlir::OpOperand & getRhsMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::llzk::smt::BoolTypegetResult ()
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::llzk::smt::IntPredicateAttr getPredAttr ()
::llzk::smt::IntPredicate getPred ()
void setPredAttr (::llzk::smt::IntPredicateAttr attr)
void setPred (::llzk::smt::IntPredicate attrValue)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
void print (::mlir::OpAsmPrinter &_odsPrinter)
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)

Static Public Member Functions

::mlir::StringAttr getPredAttrName (::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::Type result, ::llzk::smt::IntPredicateAttr pred, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::smt::IntPredicateAttr pred, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::smt::IntPredicateAttr pred, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::llzk::smt::IntPredicate pred, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::smt::IntPredicate pred, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::smt::IntPredicate pred, ::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 void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
::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 6480 of file SMT.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::smt::IntCmpOp::GenericAdaptor = IntCmpOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/8]

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

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

◆ build() [2/8]

void llzk::smt::IntCmpOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llzk::smt::IntPredicate pred,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [3/8]

void llzk::smt::IntCmpOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llzk::smt::IntPredicateAttr pred,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [4/8]

void llzk::smt::IntCmpOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::llzk::smt::IntPredicate pred,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [5/8]

void llzk::smt::IntCmpOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::llzk::smt::IntPredicateAttr pred,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [6/8]

void llzk::smt::IntCmpOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::llzk::smt::IntPredicate pred,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [7/8]

void llzk::smt::IntCmpOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::llzk::smt::IntPredicateAttr pred,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [8/8]

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

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

◆ computePropertiesHash()

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

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

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getLhs()

::mlir::TypedValue<::llzk::smt::IntType > llzk::smt::IntCmpOp::getLhs ( )
inline

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

◆ getLhsMutable()

::mlir::OpOperand & llzk::smt::IntCmpOp::getLhsMutable ( )
inline

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPred()

llzk::smt::IntPredicate llzk::smt::IntCmpOp::getPred ( )

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

◆ getPredAttr()

::llzk::smt::IntPredicateAttr llzk::smt::IntCmpOp::getPredAttr ( )
inline

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

◆ getPredAttrName() [1/2]

::mlir::StringAttr llzk::smt::IntCmpOp::getPredAttrName ( )
inline

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

◆ getPredAttrName() [2/2]

::mlir::StringAttr llzk::smt::IntCmpOp::getPredAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

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

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

◆ getRhs()

::mlir::TypedValue<::llzk::smt::IntType > llzk::smt::IntCmpOp::getRhs ( )
inline

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

◆ getRhsMutable()

::mlir::OpOperand & llzk::smt::IntCmpOp::getRhsMutable ( )
inline

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

◆ inferReturnTypes()

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ readProperties()

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

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

◆ setInherentAttr()

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

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

◆ setPred()

void llzk::smt::IntCmpOp::setPred ( ::llzk::smt::IntPredicate attrValue)

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

◆ setPredAttr()

void llzk::smt::IntCmpOp::setPredAttr ( ::llzk::smt::IntPredicateAttr attr)
inline

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ writeProperties()

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

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


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