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

Public Types

using Base = CallGraphSCCsPrinterPassBase

Public Member Functions

 CallGraphSCCsPrinterPassBase ()
 CallGraphSCCsPrinterPassBase (const CallGraphSCCsPrinterPassBase &other)
CallGraphSCCsPrinterPassBaseoperator= (const CallGraphSCCsPrinterPassBase &)=delete
 CallGraphSCCsPrinterPassBase (CallGraphSCCsPrinterPassBase &&)=delete
CallGraphSCCsPrinterPassBaseoperator= (CallGraphSCCsPrinterPassBase &&)=delete
 ~CallGraphSCCsPrinterPassBase ()=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.
 CallGraphSCCsPrinterPassBase (CallGraphSCCsPrinterPassOptions 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<::llzk::OutputStreamoutputStream

Friends

std::unique_ptr<::mlir::Pass > createCallGraphSCCsPrinterPass ()
std::unique_ptr<::mlir::Pass > createCallGraphSCCsPrinterPass (CallGraphSCCsPrinterPassOptions options)

Detailed Description

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

Definition at line 153 of file CallGraphPasses.cpp.

Member Typedef Documentation

◆ Base

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

Definition at line 155 of file CallGraphPasses.cpp.

Constructor & Destructor Documentation

◆ CallGraphSCCsPrinterPassBase() [1/4]

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

Definition at line 157 of file CallGraphPasses.cpp.

◆ CallGraphSCCsPrinterPassBase() [2/4]

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

Definition at line 158 of file CallGraphPasses.cpp.

◆ CallGraphSCCsPrinterPassBase() [3/4]

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

◆ ~CallGraphSCCsPrinterPassBase()

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

◆ CallGraphSCCsPrinterPassBase() [4/4]

template<typename DerivedT>
llzk::impl::CallGraphSCCsPrinterPassBase< DerivedT >::CallGraphSCCsPrinterPassBase ( CallGraphSCCsPrinterPassOptions 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 210 of file CallGraphPasses.cpp.

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 179 of file CallGraphPasses.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 184 of file CallGraphPasses.cpp.

◆ getArgument()

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

Definition at line 168 of file CallGraphPasses.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 165 of file CallGraphPasses.cpp.

◆ getDependentDialects()

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

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

Definition at line 189 of file CallGraphPasses.cpp.

◆ getDescription()

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

Definition at line 170 of file CallGraphPasses.cpp.

◆ getName()

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

Definition at line 176 of file CallGraphPasses.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 173 of file CallGraphPasses.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ createCallGraphSCCsPrinterPass [1/2]

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

Definition at line 224 of file CallGraphPasses.cpp.

◆ createCallGraphSCCsPrinterPass [2/2]

template<typename DerivedT>
std::unique_ptr<::mlir::Pass > createCallGraphSCCsPrinterPass ( CallGraphSCCsPrinterPassOptions options)
friend

Definition at line 228 of file CallGraphPasses.cpp.

Member Data Documentation

◆ outputStream

template<typename DerivedT>
::mlir::Pass::Option<::llzk::OutputStream> llzk::impl::CallGraphSCCsPrinterPassBase< DerivedT >::outputStream
protected
Initial value:
{*this, "stream", ::llvm::cl::desc("Specifies the stream to which the pass prints."), ::llvm::cl::init(::llzk::OutputStream::Errs), ::llvm::cl::values(
"Print pass output to 'llvm::outs()'"),
"Print pass output to 'llvm::errs()'"),
"Print pass output to 'llvm::dbgs()'")
)}
::llvm::StringRef stringifyOutputStream(OutputStream val)

Definition at line 214 of file CallGraphPasses.cpp.


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