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

Public Member Functions

 ContractOpAdaptor (ContractOp op)
::llvm::LogicalResult verify (::mlir::Location loc)
 ContractOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 ContractOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 ContractOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 ContractOpGenericAdaptor (RangeT values, const ContractOpGenericAdaptorBase &base)
template<typename LateInst = ContractOp, typename = std::enable_if_t<std::is_same_v<LateInst, ContractOp>>>
 ContractOpGenericAdaptor (RangeT values, LateInst op)
Public Member Functions inherited from llzk::verif::ContractOpGenericAdaptor<::mlir::ValueRange >
 ContractOpGenericAdaptor (::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::verif::detail::ContractOpGenericAdaptorBase
 ContractOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 ContractOpGenericAdaptorBase (ContractOp op)
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
const PropertiesgetProperties ()
::mlir::DictionaryAttr getAttributes ()
::mlir::StringAttr getSymNameAttr ()
::llvm::StringRef getSymName ()
::mlir::SymbolRefAttr getTargetAttr ()
::mlir::SymbolRefAttr getTarget ()
::mlir::TypeAttr getFunctionTypeAttr ()
::mlir::FunctionType getFunctionType ()
::mlir::ArrayAttr getArgAttrsAttr ()
::std::optional< ::mlir::ArrayAttr > getArgAttrs ()
::mlir::Region & getBody ()
::mlir::RegionRange getRegions ()

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

◆ ContractOpAdaptor()

llzk::verif::ContractOpAdaptor::ContractOpAdaptor ( ContractOp op)

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

Member Function Documentation

◆ ContractOpGenericAdaptor() [1/5]

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

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

◆ ContractOpGenericAdaptor() [2/5]

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

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

◆ ContractOpGenericAdaptor() [3/5]

llzk::verif::ContractOpGenericAdaptor< RangeT >::ContractOpGenericAdaptor ( RangeT values,
::mlir::DictionaryAttr attrs = nullptr )
inline

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

◆ ContractOpGenericAdaptor() [4/5]

llzk::verif::ContractOpGenericAdaptor< RangeT >::ContractOpGenericAdaptor ( RangeT values,
const ContractOpGenericAdaptorBase & base )
inline

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

◆ ContractOpGenericAdaptor() [5/5]

template<typename LateInst = ContractOp, typename = std::enable_if_t<std::is_same_v<LateInst, ContractOp>>>
llzk::verif::ContractOpGenericAdaptor< RangeT >::ContractOpGenericAdaptor ( RangeT values,
LateInst op )
inline

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

◆ verify()

llvm::LogicalResult llzk::verif::ContractOpAdaptor::verify ( ::mlir::Location loc)

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


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