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

Public Types

using Base = CallGraphPrinterPassBase

Public Member Functions

 CallGraphPrinterPassBase ()
 CallGraphPrinterPassBase (const CallGraphPrinterPassBase &other)
CallGraphPrinterPassBaseoperator= (const CallGraphPrinterPassBase &)=delete
 CallGraphPrinterPassBase (CallGraphPrinterPassBase &&)=delete
CallGraphPrinterPassBaseoperator= (CallGraphPrinterPassBase &&)=delete
 ~CallGraphPrinterPassBase ()=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.
 CallGraphPrinterPassBase (CallGraphPrinterPassOptions 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 > createCallGraphPrinterPass ()
std::unique_ptr<::mlir::Pass > createCallGraphPrinterPass (CallGraphPrinterPassOptions options)

Detailed Description

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

Definition at line 39 of file CallGraphPasses.cpp.

Member Typedef Documentation

◆ Base

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

Definition at line 41 of file CallGraphPasses.cpp.

Constructor & Destructor Documentation

◆ CallGraphPrinterPassBase() [1/4]

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

Definition at line 43 of file CallGraphPasses.cpp.

◆ CallGraphPrinterPassBase() [2/4]

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

Definition at line 44 of file CallGraphPasses.cpp.

◆ CallGraphPrinterPassBase() [3/4]

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

◆ ~CallGraphPrinterPassBase()

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

◆ CallGraphPrinterPassBase() [4/4]

template<typename DerivedT>
llzk::impl::CallGraphPrinterPassBase< DerivedT >::CallGraphPrinterPassBase ( CallGraphPrinterPassOptions 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 96 of file CallGraphPasses.cpp.

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 65 of file CallGraphPasses.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 70 of file CallGraphPasses.cpp.

◆ getArgument()

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

Definition at line 54 of file CallGraphPasses.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 51 of file CallGraphPasses.cpp.

◆ getDependentDialects()

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

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

Definition at line 75 of file CallGraphPasses.cpp.

◆ getDescription()

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

Definition at line 56 of file CallGraphPasses.cpp.

◆ getName()

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

Definition at line 62 of file CallGraphPasses.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 59 of file CallGraphPasses.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ createCallGraphPrinterPass [1/2]

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

Definition at line 110 of file CallGraphPasses.cpp.

◆ createCallGraphPrinterPass [2/2]

template<typename DerivedT>
std::unique_ptr<::mlir::Pass > createCallGraphPrinterPass ( CallGraphPrinterPassOptions options)
friend

Definition at line 114 of file CallGraphPasses.cpp.

Member Data Documentation

◆ outputStream

template<typename DerivedT>
::mlir::Pass::Option<::llzk::OutputStream> llzk::impl::CallGraphPrinterPassBase< 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 100 of file CallGraphPasses.cpp.


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