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

Public Types

using Base = PodToScalarPassBase

Public Member Functions

 PodToScalarPassBase ()
 PodToScalarPassBase (const PodToScalarPassBase &other)
PodToScalarPassBaseoperator= (const PodToScalarPassBase &)=delete
 PodToScalarPassBase (PodToScalarPassBase &&)=delete
PodToScalarPassBaseoperator= (PodToScalarPassBase &&)=delete
 ~PodToScalarPassBase ()=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.

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.

Friends

std::unique_ptr<::mlir::Pass > createPodToScalarPass ()
 Explicitly declare the TypeID for this class.

Detailed Description

template<typename DerivedT>
class llzk::pod::impl::PodToScalarPassBase< DerivedT >

Definition at line 25 of file PodToScalarPass.cpp.

Member Typedef Documentation

◆ Base

template<typename DerivedT>
using llzk::pod::impl::PodToScalarPassBase< DerivedT >::Base = PodToScalarPassBase

Definition at line 27 of file PodToScalarPass.cpp.

Constructor & Destructor Documentation

◆ PodToScalarPassBase() [1/3]

template<typename DerivedT>
llzk::pod::impl::PodToScalarPassBase< DerivedT >::PodToScalarPassBase ( )
inline

Definition at line 29 of file PodToScalarPass.cpp.

◆ PodToScalarPassBase() [2/3]

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

Definition at line 30 of file PodToScalarPass.cpp.

◆ PodToScalarPassBase() [3/3]

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

◆ ~PodToScalarPassBase()

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

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 51 of file PodToScalarPass.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 56 of file PodToScalarPass.cpp.

◆ getArgument()

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

Definition at line 40 of file PodToScalarPass.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 37 of file PodToScalarPass.cpp.

◆ getDependentDialects()

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

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

Definition at line 61 of file PodToScalarPass.cpp.

◆ getDescription()

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

Definition at line 42 of file PodToScalarPass.cpp.

◆ getName()

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

Definition at line 48 of file PodToScalarPass.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 45 of file PodToScalarPass.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ createPodToScalarPass

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

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 85 of file PodToScalarPass.cpp.


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