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

Public Types

using Base = PredecessorPrinterPassBase

Public Member Functions

 PredecessorPrinterPassBase ()
 PredecessorPrinterPassBase (const PredecessorPrinterPassBase &other)
PredecessorPrinterPassBaseoperator= (const PredecessorPrinterPassBase &)=delete
 PredecessorPrinterPassBase (PredecessorPrinterPassBase &&)=delete
PredecessorPrinterPassBaseoperator= (PredecessorPrinterPassBase &&)=delete
 ~PredecessorPrinterPassBase ()=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.
 PredecessorPrinterPassBase (PredecessorPrinterPassOptions 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 > preRunRequiredAnalyses {*this, "prerun", ::llvm::cl::desc("Whether to pre-run the required dataflow analyses (e.g., liveness analysis)."), ::llvm::cl::init(false)}

Detailed Description

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

Definition at line 349 of file PredecessorAnalysisPass.cpp.

Member Typedef Documentation

◆ Base

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

Definition at line 351 of file PredecessorAnalysisPass.cpp.

Constructor & Destructor Documentation

◆ PredecessorPrinterPassBase() [1/4]

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

Definition at line 353 of file PredecessorAnalysisPass.cpp.

◆ PredecessorPrinterPassBase() [2/4]

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

Definition at line 354 of file PredecessorAnalysisPass.cpp.

◆ PredecessorPrinterPassBase() [3/4]

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

◆ ~PredecessorPrinterPassBase()

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

◆ PredecessorPrinterPassBase() [4/4]

template<typename DerivedT>
llzk::impl::PredecessorPrinterPassBase< DerivedT >::PredecessorPrinterPassBase ( PredecessorPrinterPassOptions 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 406 of file PredecessorAnalysisPass.cpp.

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 375 of file PredecessorAnalysisPass.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 380 of file PredecessorAnalysisPass.cpp.

◆ getArgument()

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

Definition at line 364 of file PredecessorAnalysisPass.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 361 of file PredecessorAnalysisPass.cpp.

◆ getDependentDialects()

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

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

Definition at line 385 of file PredecessorAnalysisPass.cpp.

◆ getDescription()

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

Definition at line 366 of file PredecessorAnalysisPass.cpp.

◆ getName()

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

Definition at line 372 of file PredecessorAnalysisPass.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 369 of file PredecessorAnalysisPass.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ outputStream

template<typename DerivedT>
::mlir::Pass::Option<::llzk::OutputStream> llzk::impl::PredecessorPrinterPassBase< 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 411 of file PredecessorAnalysisPass.cpp.

◆ preRunRequiredAnalyses

template<typename DerivedT>
::mlir::Pass::Option<bool> llzk::impl::PredecessorPrinterPassBase< DerivedT >::preRunRequiredAnalyses {*this, "prerun", ::llvm::cl::desc("Whether to pre-run the required dataflow analyses (e.g., liveness analysis)."), ::llvm::cl::init(false)}
protected

Definition at line 419 of file PredecessorAnalysisPass.cpp.


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