LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::impl::SymbolUseGraphPrinterPassBase< DerivedT > Class Template Reference
Inheritance diagram for llzk::impl::SymbolUseGraphPrinterPassBase< DerivedT >:
[legend]
Collaboration diagram for llzk::impl::SymbolUseGraphPrinterPassBase< DerivedT >:
[legend]

Public Types

using Base = SymbolUseGraphPrinterPassBase
 

Public Member Functions

 SymbolUseGraphPrinterPassBase ()
 
 SymbolUseGraphPrinterPassBase (const SymbolUseGraphPrinterPassBase &other)
 
::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.
 
 SymbolUseGraphPrinterPassBase (const SymbolUseGraphPrinterPassOptions &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
 
::mlir::Pass::Option< bool > saveDotGraph {*this, "saveDot", ::llvm::cl::desc("Whether to dump the graph to DOT format."), ::llvm::cl::init(false)}
 

Detailed Description

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

Definition at line 424 of file SymbolUseGraphPass.cpp.

Member Typedef Documentation

◆ Base

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

Definition at line 426 of file SymbolUseGraphPass.cpp.

Constructor & Destructor Documentation

◆ SymbolUseGraphPrinterPassBase() [1/3]

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

Definition at line 428 of file SymbolUseGraphPass.cpp.

◆ SymbolUseGraphPrinterPassBase() [2/3]

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

Definition at line 429 of file SymbolUseGraphPass.cpp.

◆ SymbolUseGraphPrinterPassBase() [3/3]

template<typename DerivedT>
llzk::impl::SymbolUseGraphPrinterPassBase< DerivedT >::SymbolUseGraphPrinterPassBase ( const SymbolUseGraphPrinterPassOptions & 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 478 of file SymbolUseGraphPass.cpp.

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 446 of file SymbolUseGraphPass.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 451 of file SymbolUseGraphPass.cpp.

◆ getArgument()

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

Definition at line 435 of file SymbolUseGraphPass.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 432 of file SymbolUseGraphPass.cpp.

◆ getDependentDialects()

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

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

Definition at line 456 of file SymbolUseGraphPass.cpp.

◆ getDescription()

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

Definition at line 437 of file SymbolUseGraphPass.cpp.

◆ getName()

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

Definition at line 443 of file SymbolUseGraphPass.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 440 of file SymbolUseGraphPass.cpp.

Member Data Documentation

◆ outputStream

template<typename DerivedT>
::mlir::Pass::Option<::llzk::OutputStream> llzk::impl::SymbolUseGraphPrinterPassBase< 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 483 of file SymbolUseGraphPass.cpp.

◆ saveDotGraph

template<typename DerivedT>
::mlir::Pass::Option<bool> llzk::impl::SymbolUseGraphPrinterPassBase< DerivedT >::saveDotGraph {*this, "saveDot", ::llvm::cl::desc("Whether to dump the graph to DOT format."), ::llvm::cl::init(false)}
protected

Definition at line 491 of file SymbolUseGraphPass.cpp.


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