LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
llzk::component::impl::InlineStructsPassBase< DerivedT > Class Template Reference
Inheritance diagram for llzk::component::impl::InlineStructsPassBase< DerivedT >:
[legend]
Collaboration diagram for llzk::component::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)}

Friends

std::unique_ptr<::mlir::Pass > createInlineStructsPass ()
std::unique_ptr<::mlir::Pass > createInlineStructsPass (InlineStructsPassOptions options)

Detailed Description

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

Definition at line 33 of file InlineStructsPass.cpp.

Member Typedef Documentation

◆ Base

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

Definition at line 35 of file InlineStructsPass.cpp.

Constructor & Destructor Documentation

◆ InlineStructsPassBase() [1/4]

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

Definition at line 37 of file InlineStructsPass.cpp.

◆ InlineStructsPassBase() [2/4]

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

Definition at line 38 of file InlineStructsPass.cpp.

◆ InlineStructsPassBase() [3/4]

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

◆ ~InlineStructsPassBase()

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

◆ InlineStructsPassBase() [4/4]

template<typename DerivedT>
llzk::component::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 90 of file InlineStructsPass.cpp.

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 59 of file InlineStructsPass.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 64 of file InlineStructsPass.cpp.

◆ getArgument()

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

Definition at line 48 of file InlineStructsPass.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 45 of file InlineStructsPass.cpp.

◆ getDependentDialects()

template<typename DerivedT>
void llzk::component::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 69 of file InlineStructsPass.cpp.

◆ getDescription()

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

Definition at line 50 of file InlineStructsPass.cpp.

◆ getName()

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

Definition at line 56 of file InlineStructsPass.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 53 of file InlineStructsPass.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ createInlineStructsPass [1/2]

template<typename DerivedT>
std::unique_ptr<::mlir::Pass > createInlineStructsPass ( )
friend

Definition at line 97 of file InlineStructsPass.cpp.

◆ createInlineStructsPass [2/2]

template<typename DerivedT>
std::unique_ptr<::mlir::Pass > createInlineStructsPass ( InlineStructsPassOptions options)
friend

Definition at line 101 of file InlineStructsPass.cpp.

Member Data Documentation

◆ maxComplexity

template<typename DerivedT>
::mlir::Pass::Option<uint64_t> llzk::component::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 94 of file InlineStructsPass.cpp.


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