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

Public Types

using Base = ComputeConstrainToProductPassBase

Public Member Functions

 ComputeConstrainToProductPassBase ()
 ComputeConstrainToProductPassBase (const ComputeConstrainToProductPassBase &other)
ComputeConstrainToProductPassBaseoperator= (const ComputeConstrainToProductPassBase &)=delete
 ComputeConstrainToProductPassBase (ComputeConstrainToProductPassBase &&)=delete
ComputeConstrainToProductPassBaseoperator= (ComputeConstrainToProductPassBase &&)=delete
 ~ComputeConstrainToProductPassBase ()=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.
 ComputeConstrainToProductPassBase (ComputeConstrainToProductPassOptions 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< std::string > rootStruct {*this, "root-struct", ::llvm::cl::desc("Root struct at which to start alignment (default to `@Main`)"), ::llvm::cl::init("@Main")}

Detailed Description

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

Definition at line 30 of file LLZKComputeConstrainToProductPass.cpp.

Member Typedef Documentation

◆ Base

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

Definition at line 32 of file LLZKComputeConstrainToProductPass.cpp.

Constructor & Destructor Documentation

◆ ComputeConstrainToProductPassBase() [1/4]

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

Definition at line 34 of file LLZKComputeConstrainToProductPass.cpp.

◆ ComputeConstrainToProductPassBase() [2/4]

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

Definition at line 35 of file LLZKComputeConstrainToProductPass.cpp.

◆ ComputeConstrainToProductPassBase() [3/4]

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

◆ ~ComputeConstrainToProductPassBase()

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

◆ ComputeConstrainToProductPassBase() [4/4]

template<typename DerivedT>
llzk::impl::ComputeConstrainToProductPassBase< DerivedT >::ComputeConstrainToProductPassBase ( ComputeConstrainToProductPassOptions 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 88 of file LLZKComputeConstrainToProductPass.cpp.

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 56 of file LLZKComputeConstrainToProductPass.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 61 of file LLZKComputeConstrainToProductPass.cpp.

◆ getArgument()

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

Definition at line 45 of file LLZKComputeConstrainToProductPass.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 42 of file LLZKComputeConstrainToProductPass.cpp.

◆ getDependentDialects()

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

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

Definition at line 66 of file LLZKComputeConstrainToProductPass.cpp.

◆ getDescription()

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

Definition at line 47 of file LLZKComputeConstrainToProductPass.cpp.

◆ getName()

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

Definition at line 53 of file LLZKComputeConstrainToProductPass.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 50 of file LLZKComputeConstrainToProductPass.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ rootStruct

template<typename DerivedT>
::mlir::Pass::Option<std::string> llzk::impl::ComputeConstrainToProductPassBase< DerivedT >::rootStruct {*this, "root-struct", ::llvm::cl::desc("Root struct at which to start alignment (default to `@Main`)"), ::llvm::cl::init("@Main")}
protected

Definition at line 92 of file LLZKComputeConstrainToProductPass.cpp.


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