LLZK 0.1.0
Veridise's ZK Language IR
|
Public Types | |
using | Adaptor = CmpOpAdaptor |
template<typename RangeT> | |
using | GenericAdaptor = CmpOpGenericAdaptor<RangeT> |
using | FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>> |
using | Properties = FoldAdaptor::Properties |
Public Member Functions | |
static ::llvm::ArrayRef<::llvm::StringRef > | getAttributeNames () |
::mlir::StringAttr | getPredicateAttrName () |
std::pair< unsigned, unsigned > | getODSOperandIndexAndLength (unsigned index) |
::mlir::Operation::operand_range | getODSOperands (unsigned index) |
::mlir::TypedValue<::llzk::felt::FeltType > | getLhs () |
::mlir::TypedValue<::llzk::felt::FeltType > | 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 () |
void | writeProperties (::mlir::DialectBytecodeWriter &writer) |
::llzk::boolean::FeltCmpPredicateAttr | getPredicateAttr () |
::llzk::boolean::FeltCmpPredicate | getPredicate () |
void | setPredicateAttr (::llzk::boolean::FeltCmpPredicateAttr attr) |
void | setPredicate (::llzk::boolean::FeltCmpPredicate attrValue) |
::mlir::LogicalResult | verifyInvariantsImpl () |
::mlir::LogicalResult | verifyInvariants () |
void | print (::mlir::OpAsmPrinter &_odsPrinter) |
void | getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects) |
Static Public Member Functions | |
::mlir::StringAttr | getPredicateAttrName (::mlir::OperationName name) |
static constexpr ::llvm::StringLiteral | getOperationName () |
::mlir::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) |
::mlir::LogicalResult | verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) |
::mlir::LogicalResult | readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::llzk::boolean::FeltCmpPredicateAttr predicate, ::mlir::Value lhs, ::mlir::Value rhs) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::boolean::FeltCmpPredicateAttr predicate, ::mlir::Value lhs, ::mlir::Value rhs) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::boolean::FeltCmpPredicateAttr predicate, ::mlir::Value lhs, ::mlir::Value rhs) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::llzk::boolean::FeltCmpPredicate predicate, ::mlir::Value lhs, ::mlir::Value rhs) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::boolean::FeltCmpPredicate predicate, ::mlir::Value lhs, ::mlir::Value rhs) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::boolean::FeltCmpPredicate predicate, ::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={}) |
::mlir::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) |
using llzk::boolean::CmpOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>> |
using llzk::boolean::CmpOp::GenericAdaptor = CmpOpGenericAdaptor<RangeT> |
|
static |
Definition at line 852 of file Ops.cpp.inc.
|
static |
Definition at line 828 of file Ops.cpp.inc.
|
static |
Definition at line 797 of file Ops.cpp.inc.
|
static |
Definition at line 821 of file Ops.cpp.inc.
|
static |
Definition at line 790 of file Ops.cpp.inc.
|
static |
Definition at line 844 of file Ops.cpp.inc.
|
static |
Definition at line 813 of file Ops.cpp.inc.
|
static |
Definition at line 860 of file Ops.cpp.inc.
|
static |
Definition at line 730 of file Ops.cpp.inc.
|
inline |
void llzk::boolean::CmpOp::getEffects | ( | ::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > & | effects | ) |
Definition at line 982 of file Ops.cpp.inc.
|
static |
Definition at line 735 of file Ops.cpp.inc.
mlir::TypedValue<::llzk::felt::FeltType > llzk::boolean::CmpOp::getLhs | ( | ) |
Definition at line 654 of file Ops.cpp.inc.
mlir::OpOperand & llzk::boolean::CmpOp::getLhsMutable | ( | ) |
Definition at line 662 of file Ops.cpp.inc.
std::pair< unsigned, unsigned > llzk::boolean::CmpOp::getODSOperandIndexAndLength | ( | unsigned | index | ) |
Definition at line 644 of file Ops.cpp.inc.
mlir::Operation::operand_range llzk::boolean::CmpOp::getODSOperands | ( | unsigned | index | ) |
Definition at line 648 of file Ops.cpp.inc.
std::pair< unsigned, unsigned > llzk::boolean::CmpOp::getODSResultIndexAndLength | ( | unsigned | index | ) |
Definition at line 672 of file Ops.cpp.inc.
mlir::Operation::result_range llzk::boolean::CmpOp::getODSResults | ( | unsigned | index | ) |
Definition at line 676 of file Ops.cpp.inc.
|
inlinestatic |
llzk::boolean::FeltCmpPredicate llzk::boolean::CmpOp::getPredicate | ( | ) |
Definition at line 777 of file Ops.cpp.inc.
llzk::boolean::FeltCmpPredicateAttr llzk::boolean::CmpOp::getPredicateAttr | ( | ) |
Definition at line 773 of file Ops.cpp.inc.
|
inline |
|
inlinestatic |
|
static |
Definition at line 714 of file Ops.cpp.inc.
mlir::TypedValue<::mlir::IntegerType > llzk::boolean::CmpOp::getResult | ( | ) |
Definition at line 682 of file Ops.cpp.inc.
mlir::TypedValue<::llzk::felt::FeltType > llzk::boolean::CmpOp::getRhs | ( | ) |
Definition at line 658 of file Ops.cpp.inc.
mlir::OpOperand & llzk::boolean::CmpOp::getRhsMutable | ( | ) |
Definition at line 667 of file Ops.cpp.inc.
|
static |
Definition at line 915 of file Ops.cpp.inc.
|
static |
Definition at line 923 of file Ops.cpp.inc.
|
static |
Definition at line 748 of file Ops.cpp.inc.
void llzk::boolean::CmpOp::print | ( | ::mlir::OpAsmPrinter & | _odsPrinter | ) |
Definition at line 969 of file Ops.cpp.inc.
|
static |
Definition at line 761 of file Ops.cpp.inc.
|
static |
Definition at line 741 of file Ops.cpp.inc.
void llzk::boolean::CmpOp::setPredicate | ( | ::llzk::boolean::FeltCmpPredicate | attrValue | ) |
Definition at line 786 of file Ops.cpp.inc.
void llzk::boolean::CmpOp::setPredicateAttr | ( | ::llzk::boolean::FeltCmpPredicateAttr | attr | ) |
Definition at line 782 of file Ops.cpp.inc.
|
static |
Definition at line 686 of file Ops.cpp.inc.
|
static |
Definition at line 752 of file Ops.cpp.inc.
mlir::LogicalResult llzk::boolean::CmpOp::verifyInvariants | ( | ) |
Definition at line 911 of file Ops.cpp.inc.
mlir::LogicalResult llzk::boolean::CmpOp::verifyInvariantsImpl | ( | ) |
Definition at line 878 of file Ops.cpp.inc.
void llzk::boolean::CmpOp::writeProperties | ( | ::mlir::DialectBytecodeWriter & | writer | ) |
Definition at line 768 of file Ops.cpp.inc.