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

Public Member Functions

 TemplateOpAdaptor (TemplateOp op)
::llvm::LogicalResult verify (::mlir::Location loc)
 TemplateOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 TemplateOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 TemplateOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 TemplateOpGenericAdaptor (RangeT values, const TemplateOpGenericAdaptorBase &base)
template<typename LateInst = TemplateOp, typename = std::enable_if_t<std::is_same_v<LateInst, TemplateOp>>>
 TemplateOpGenericAdaptor (RangeT values, LateInst op)
Public Member Functions inherited from llzk::polymorphic::TemplateOpGenericAdaptor<::mlir::ValueRange >
 TemplateOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::ValueRange getODSOperands (unsigned index)
::mlir::ValueRange getOperands ()
Public Member Functions inherited from llzk::polymorphic::detail::TemplateOpGenericAdaptorBase
 TemplateOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 TemplateOpGenericAdaptorBase (TemplateOp op)
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
const PropertiesgetProperties ()
::mlir::DictionaryAttr getAttributes ()
::mlir::StringAttr getSymNameAttr ()
::llvm::StringRef getSymName ()
::mlir::Region & getBodyRegion ()
::mlir::RegionRange getRegions ()

Additional Inherited Members

Protected Attributes inherited from llzk::polymorphic::detail::TemplateOpGenericAdaptorBase
::mlir::DictionaryAttr odsAttrs
::std::optional<::mlir::OperationName > odsOpName
Properties properties
::mlir::RegionRange odsRegions

Detailed Description

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

Constructor & Destructor Documentation

◆ TemplateOpAdaptor()

llzk::polymorphic::TemplateOpAdaptor::TemplateOpAdaptor ( TemplateOp op)

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

Member Function Documentation

◆ TemplateOpGenericAdaptor() [1/5]

llzk::polymorphic::TemplateOpGenericAdaptor< RangeT >::TemplateOpGenericAdaptor ( RangeT values,
::mlir::DictionaryAttr attrs,
::mlir::OpaqueProperties properties,
::mlir::RegionRange regions = {} )
inline

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

◆ TemplateOpGenericAdaptor() [2/5]

llzk::polymorphic::TemplateOpGenericAdaptor< RangeT >::TemplateOpGenericAdaptor ( RangeT values,
::mlir::DictionaryAttr attrs,
const Properties & properties,
::mlir::RegionRange regions = {} )
inline

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

◆ TemplateOpGenericAdaptor() [3/5]

llzk::polymorphic::TemplateOpGenericAdaptor< RangeT >::TemplateOpGenericAdaptor ( RangeT values,
::mlir::DictionaryAttr attrs = nullptr )
inline

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

◆ TemplateOpGenericAdaptor() [4/5]

llzk::polymorphic::TemplateOpGenericAdaptor< RangeT >::TemplateOpGenericAdaptor ( RangeT values,
const TemplateOpGenericAdaptorBase & base )
inline

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

◆ TemplateOpGenericAdaptor() [5/5]

template<typename LateInst = TemplateOp, typename = std::enable_if_t<std::is_same_v<LateInst, TemplateOp>>>
llzk::polymorphic::TemplateOpGenericAdaptor< RangeT >::TemplateOpGenericAdaptor ( RangeT values,
LateInst op )
inline

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

◆ verify()

llvm::LogicalResult llzk::polymorphic::TemplateOpAdaptor::verify ( ::mlir::Location loc)

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


The documentation for this class was generated from the following files:
  • build/include/llzk/Dialect/Polymorphic/IR/Ops.h.inc
  • build/include/llzk/Dialect/Polymorphic/IR/Ops.cpp.inc