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

Public Types

using Base = ExposeChildMembersPassBase

Public Member Functions

 ExposeChildMembersPassBase ()
 ExposeChildMembersPassBase (const ExposeChildMembersPassBase &other)
ExposeChildMembersPassBase & operator= (const ExposeChildMembersPassBase &)=delete
 ExposeChildMembersPassBase (ExposeChildMembersPassBase &&)=delete
ExposeChildMembersPassBase & operator= (ExposeChildMembersPassBase &&)=delete
 ~ExposeChildMembersPassBase ()=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.
 ExposeChildMembersPassBase (ExposeChildMembersPassOptions options)
 Explicitly declare the TypeID for this class. We declare an explicit private instantiation because Pass classes should only be visible by the current library.

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< std::string > rootStruct {*this, "root-struct", ::llvm::cl::desc(R"PO(Root struct symbol path (defaults to llzk.main))PO"), ::llvm::cl::init("")}

Friends

std::unique_ptr<::mlir::Pass > createExposeChildMembersPass ()
std::unique_ptr<::mlir::Pass > createExposeChildMembersPass (ExposeChildMembersPassOptions options)

Detailed Description

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

Definition at line 34 of file ExposeChildMembersPass.cpp.

Member Typedef Documentation

◆ Base

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

Definition at line 36 of file ExposeChildMembersPass.cpp.

Constructor & Destructor Documentation

◆ ExposeChildMembersPassBase() [1/4]

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

Definition at line 38 of file ExposeChildMembersPass.cpp.

◆ ExposeChildMembersPassBase() [2/4]

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

Definition at line 39 of file ExposeChildMembersPass.cpp.

◆ ExposeChildMembersPassBase() [3/4]

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

◆ ~ExposeChildMembersPassBase()

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

◆ ExposeChildMembersPassBase() [4/4]

template<typename DerivedT>
llzk::component::impl::ExposeChildMembersPassBase< DerivedT >::ExposeChildMembersPassBase ( ExposeChildMembersPassOptions 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 91 of file ExposeChildMembersPass.cpp.

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 60 of file ExposeChildMembersPass.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 65 of file ExposeChildMembersPass.cpp.

◆ getArgument()

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

Definition at line 49 of file ExposeChildMembersPass.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 46 of file ExposeChildMembersPass.cpp.

◆ getDependentDialects()

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

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

Definition at line 70 of file ExposeChildMembersPass.cpp.

◆ getDescription()

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

Definition at line 51 of file ExposeChildMembersPass.cpp.

◆ getName()

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

Definition at line 57 of file ExposeChildMembersPass.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 54 of file ExposeChildMembersPass.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ createExposeChildMembersPass [1/2]

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

Definition at line 98 of file ExposeChildMembersPass.cpp.

◆ createExposeChildMembersPass [2/2]

template<typename DerivedT>
std::unique_ptr<::mlir::Pass > createExposeChildMembersPass ( ExposeChildMembersPassOptions options)
friend

Definition at line 102 of file ExposeChildMembersPass.cpp.

Member Data Documentation

◆ rootStruct

template<typename DerivedT>
::mlir::Pass::Option<std::string> llzk::component::impl::ExposeChildMembersPassBase< DerivedT >::rootStruct {*this, "root-struct", ::llvm::cl::desc(R"PO(Root struct symbol path (defaults to llzk.main))PO"), ::llvm::cl::init("")}
protected

Definition at line 95 of file ExposeChildMembersPass.cpp.


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