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

Public Types

using Adaptor = BVCmpOpAdaptor
template<typename RangeT>
using GenericAdaptor = BVCmpOpGenericAdaptor<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::BitVectorTypegetLhs ()
::mlir::TypedValue<::llzk::smt::BitVectorTypegetRhs ()
::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::BVCmpPredicateAttr getPredAttr ()
::llzk::smt::BVCmpPredicate getPred ()
void setPredAttr (::llzk::smt::BVCmpPredicateAttr attr)
void setPred (::llzk::smt::BVCmpPredicate 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::BVCmpPredicateAttr pred, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::smt::BVCmpPredicateAttr pred, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::smt::BVCmpPredicateAttr pred, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::llzk::smt::BVCmpPredicate pred, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::smt::BVCmpPredicate pred, ::mlir::Value lhs, ::mlir::Value rhs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::smt::BVCmpPredicate 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 1927 of file SMT.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::smt::BVCmpOp::GenericAdaptor = BVCmpOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/8]

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

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

◆ build() [2/8]

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

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

◆ build() [3/8]

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

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

◆ build() [4/8]

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

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

◆ build() [5/8]

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

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

◆ build() [6/8]

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

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

◆ build() [7/8]

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

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

◆ build() [8/8]

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

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

◆ computePropertiesHash()

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

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

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getLhs()

::mlir::TypedValue<::llzk::smt::BitVectorType > llzk::smt::BVCmpOp::getLhs ( )
inline

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

◆ getLhsMutable()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPred()

llzk::smt::BVCmpPredicate llzk::smt::BVCmpOp::getPred ( )

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

◆ getPredAttr()

::llzk::smt::BVCmpPredicateAttr llzk::smt::BVCmpOp::getPredAttr ( )
inline

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

◆ getPredAttrName() [1/2]

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

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

◆ getPredAttrName() [2/2]

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

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

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

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

◆ getRhs()

::mlir::TypedValue<::llzk::smt::BitVectorType > llzk::smt::BVCmpOp::getRhs ( )
inline

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

◆ getRhsMutable()

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

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

◆ inferReturnTypes()

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ readProperties()

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

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

◆ setInherentAttr()

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

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

◆ setPred()

void llzk::smt::BVCmpOp::setPred ( ::llzk::smt::BVCmpPredicate attrValue)

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

◆ setPredAttr()

void llzk::smt::BVCmpOp::setPredAttr ( ::llzk::smt::BVCmpPredicateAttr attr)
inline

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ writeProperties()

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

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


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