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

Public Types

using Base = ConstraintDependencyGraphPrinterPassBase

Public Member Functions

 ConstraintDependencyGraphPrinterPassBase ()
 ConstraintDependencyGraphPrinterPassBase (const ConstraintDependencyGraphPrinterPassBase &other)
ConstraintDependencyGraphPrinterPassBaseoperator= (const ConstraintDependencyGraphPrinterPassBase &)=delete
 ConstraintDependencyGraphPrinterPassBase (ConstraintDependencyGraphPrinterPassBase &&)=delete
ConstraintDependencyGraphPrinterPassBaseoperator= (ConstraintDependencyGraphPrinterPassBase &&)=delete
 ~ConstraintDependencyGraphPrinterPassBase ()=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.
 ConstraintDependencyGraphPrinterPassBase (ConstraintDependencyGraphPrinterPassOptions 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 > runIntraprocedural {*this, "intraprocedural", ::llvm::cl::desc("Whether to run the analysis intra-procedurally only (default is false)."), ::llvm::cl::init(false)}

Friends

std::unique_ptr<::mlir::Pass > createConstraintDependencyGraphPrinterPass ()
std::unique_ptr<::mlir::Pass > createConstraintDependencyGraphPrinterPass (ConstraintDependencyGraphPrinterPassOptions options)

Detailed Description

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

Definition at line 268 of file ConstraintDependencyGraphPass.cpp.

Member Typedef Documentation

◆ Base

Definition at line 270 of file ConstraintDependencyGraphPass.cpp.

Constructor & Destructor Documentation

◆ ConstraintDependencyGraphPrinterPassBase() [1/4]

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

Definition at line 272 of file ConstraintDependencyGraphPass.cpp.

◆ ConstraintDependencyGraphPrinterPassBase() [2/4]

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

Definition at line 273 of file ConstraintDependencyGraphPass.cpp.

◆ ConstraintDependencyGraphPrinterPassBase() [3/4]

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

◆ ~ConstraintDependencyGraphPrinterPassBase()

◆ ConstraintDependencyGraphPrinterPassBase() [4/4]

template<typename DerivedT>
llzk::impl::ConstraintDependencyGraphPrinterPassBase< DerivedT >::ConstraintDependencyGraphPrinterPassBase ( ConstraintDependencyGraphPrinterPassOptions 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 325 of file ConstraintDependencyGraphPass.cpp.

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 294 of file ConstraintDependencyGraphPass.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 299 of file ConstraintDependencyGraphPass.cpp.

◆ getArgument()

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

Definition at line 283 of file ConstraintDependencyGraphPass.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 280 of file ConstraintDependencyGraphPass.cpp.

◆ getDependentDialects()

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

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

Definition at line 304 of file ConstraintDependencyGraphPass.cpp.

◆ getDescription()

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

Definition at line 285 of file ConstraintDependencyGraphPass.cpp.

◆ getName()

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

Definition at line 291 of file ConstraintDependencyGraphPass.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 288 of file ConstraintDependencyGraphPass.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

◆ createConstraintDependencyGraphPrinterPass [1/2]

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

Definition at line 341 of file ConstraintDependencyGraphPass.cpp.

◆ createConstraintDependencyGraphPrinterPass [2/2]

template<typename DerivedT>
std::unique_ptr<::mlir::Pass > createConstraintDependencyGraphPrinterPass ( ConstraintDependencyGraphPrinterPassOptions options)
friend

Definition at line 345 of file ConstraintDependencyGraphPass.cpp.

Member Data Documentation

◆ outputStream

template<typename DerivedT>
::mlir::Pass::Option<::llzk::OutputStream> llzk::impl::ConstraintDependencyGraphPrinterPassBase< 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 330 of file ConstraintDependencyGraphPass.cpp.

◆ runIntraprocedural

template<typename DerivedT>
::mlir::Pass::Option<bool> llzk::impl::ConstraintDependencyGraphPrinterPassBase< DerivedT >::runIntraprocedural {*this, "intraprocedural", ::llvm::cl::desc("Whether to run the analysis intra-procedurally only (default is false)."), ::llvm::cl::init(false)}
protected

Definition at line 338 of file ConstraintDependencyGraphPass.cpp.


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