LLZK 0.1.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
llzk::impl::InlineStructsPassBase< DerivedT > Class Template Reference
Inheritance diagram for llzk::impl::InlineStructsPassBase< DerivedT >:
[legend]
Collaboration diagram for llzk::impl::InlineStructsPassBase< DerivedT >:
[legend]

Public Types

using Base = InlineStructsPassBase

Public Member Functions

 InlineStructsPassBase ()
 InlineStructsPassBase (const InlineStructsPassBase &other)
InlineStructsPassBaseoperator= (const InlineStructsPassBase &)=delete
 InlineStructsPassBase (InlineStructsPassBase &&)=delete
InlineStructsPassBaseoperator= (InlineStructsPassBase &&)=delete
 ~InlineStructsPassBase ()=default
::llvm::StringRef getArgument () const override
::llvm::StringRef getDescription () const override
::llvm::StringRef getName () const override
std::unique_ptr<::mlir::Pass > clonePass () const override
 A clone method to create a copy of this pass.
void getDependentDialects (::mlir::DialectRegistry &registry) const override
 Return the dialect that must be loaded in the context before this pass.
 InlineStructsPassBase (InlineStructsPassOptions options)
 Explicitly declare the TypeID for this class.

Static Public Member Functions

static constexpr ::llvm::StringLiteral getArgumentName ()
 Returns the command-line argument attached to this pass.
static constexpr ::llvm::StringLiteral getPassName ()
 Returns the derived pass name.
static bool classof (const ::mlir::Pass *pass)
 Support isa/dyn_cast functionality for the derived pass class.

Protected Attributes

::mlir::Pass::Option< uint64_t > maxComplexity {*this, "max-merge-complexity", ::llvm::cl::desc("Maximum allowed constraint+multiplications in merged @constrain functions"), ::llvm::cl::init(0)}

Detailed Description

template<typename DerivedT>
class llzk::impl::InlineStructsPassBase< DerivedT >

Definition at line 186 of file LLZKInlineStructsPass.cpp.

Member Typedef Documentation

◆ Base

template<typename DerivedT>
using llzk::impl::InlineStructsPassBase< DerivedT >::Base = InlineStructsPassBase

Definition at line 188 of file LLZKInlineStructsPass.cpp.

Constructor & Destructor Documentation

◆ InlineStructsPassBase() [1/4]

template<typename DerivedT>
llzk::impl::InlineStructsPassBase< DerivedT >::InlineStructsPassBase ( )
inline

Definition at line 190 of file LLZKInlineStructsPass.cpp.

◆ InlineStructsPassBase() [2/4]

template<typename DerivedT>
llzk::impl::InlineStructsPassBase< DerivedT >::InlineStructsPassBase ( const InlineStructsPassBase< DerivedT > & other)
inline

Definition at line 191 of file LLZKInlineStructsPass.cpp.

◆ InlineStructsPassBase() [3/4]

template<typename DerivedT>
llzk::impl::InlineStructsPassBase< DerivedT >::InlineStructsPassBase ( InlineStructsPassBase< DerivedT > && )
delete

◆ ~InlineStructsPassBase()

template<typename DerivedT>
llzk::impl::InlineStructsPassBase< DerivedT >::~InlineStructsPassBase ( )
default

◆ InlineStructsPassBase() [4/4]

template<typename DerivedT>
llzk::impl::InlineStructsPassBase< DerivedT >::InlineStructsPassBase ( InlineStructsPassOptions options)
inline

Explicitly declare the TypeID for this class.

We declare an explicit private instantiation because Pass classes should only be visible by the current library.

Definition at line 243 of file LLZKInlineStructsPass.cpp.

Member Function Documentation

◆ classof()

template<typename DerivedT>
bool llzk::impl::InlineStructsPassBase< DerivedT >::classof ( const ::mlir::Pass * pass)
inlinestatic

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 212 of file LLZKInlineStructsPass.cpp.

◆ clonePass()

template<typename DerivedT>
std::unique_ptr<::mlir::Pass > llzk::impl::InlineStructsPassBase< DerivedT >::clonePass ( ) const
inlineoverride

A clone method to create a copy of this pass.

Definition at line 217 of file LLZKInlineStructsPass.cpp.

◆ getArgument()

template<typename DerivedT>
::llvm::StringRef llzk::impl::InlineStructsPassBase< DerivedT >::getArgument ( ) const
inlineoverride

Definition at line 201 of file LLZKInlineStructsPass.cpp.

◆ getArgumentName()

template<typename DerivedT>
constexpr ::llvm::StringLiteral llzk::impl::InlineStructsPassBase< DerivedT >::getArgumentName ( )
inlinestatic

Returns the command-line argument attached to this pass.

Definition at line 198 of file LLZKInlineStructsPass.cpp.

◆ getDependentDialects()

template<typename DerivedT>
void llzk::impl::InlineStructsPassBase< DerivedT >::getDependentDialects ( ::mlir::DialectRegistry & registry) const
inlineoverride

Return the dialect that must be loaded in the context before this pass.

Definition at line 222 of file LLZKInlineStructsPass.cpp.

◆ getDescription()

template<typename DerivedT>
::llvm::StringRef llzk::impl::InlineStructsPassBase< DerivedT >::getDescription ( ) const
inlineoverride

Definition at line 203 of file LLZKInlineStructsPass.cpp.

◆ getName()

template<typename DerivedT>
::llvm::StringRef llzk::impl::InlineStructsPassBase< DerivedT >::getName ( ) const
inlineoverride

Definition at line 209 of file LLZKInlineStructsPass.cpp.

◆ getPassName()

template<typename DerivedT>
constexpr ::llvm::StringLiteral llzk::impl::InlineStructsPassBase< DerivedT >::getPassName ( )
inlinestatic

Returns the derived pass name.

Definition at line 206 of file LLZKInlineStructsPass.cpp.

◆ operator=() [1/2]

template<typename DerivedT>
InlineStructsPassBase & llzk::impl::InlineStructsPassBase< DerivedT >::operator= ( const InlineStructsPassBase< DerivedT > & )
delete

◆ operator=() [2/2]

template<typename DerivedT>
InlineStructsPassBase & llzk::impl::InlineStructsPassBase< DerivedT >::operator= ( InlineStructsPassBase< DerivedT > && )
delete

Member Data Documentation

◆ maxComplexity

template<typename DerivedT>
::mlir::Pass::Option<uint64_t> llzk::impl::InlineStructsPassBase< DerivedT >::maxComplexity {*this, "max-merge-complexity", ::llvm::cl::desc("Maximum allowed constraint+multiplications in merged @constrain functions"), ::llvm::cl::init(0)}
protected

Definition at line 247 of file LLZKInlineStructsPass.cpp.


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