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

Public Types

using Base = InlineStructsPassBase
 

Public Member Functions

 InlineStructsPassBase ()
 
 InlineStructsPassBase (const InlineStructsPassBase &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.
 
 InlineStructsPassBase (const InlineStructsPassOptions &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< uint64_t > maxComplexity {*this, "max-merge-complexity", ::llvm::cl::desc("Maximum allowed constraint+multiplications in merged @constrain functions"), ::llvm::cl::init(0)}
 

Detailed Description

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

Definition at line 28 of file LLZKInlineStructsPass.cpp.

Member Typedef Documentation

◆ Base

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

Definition at line 30 of file LLZKInlineStructsPass.cpp.

Constructor & Destructor Documentation

◆ InlineStructsPassBase() [1/3]

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

Definition at line 32 of file LLZKInlineStructsPass.cpp.

◆ InlineStructsPassBase() [2/3]

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

Definition at line 33 of file LLZKInlineStructsPass.cpp.

◆ InlineStructsPassBase() [3/3]

template<typename DerivedT>
llzk::impl::InlineStructsPassBase< DerivedT >::InlineStructsPassBase ( const InlineStructsPassOptions & 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 82 of file LLZKInlineStructsPass.cpp.

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 50 of file LLZKInlineStructsPass.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 55 of file LLZKInlineStructsPass.cpp.

◆ getArgument()

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

Definition at line 39 of file LLZKInlineStructsPass.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 36 of file LLZKInlineStructsPass.cpp.

◆ getDependentDialects()

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

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

Definition at line 60 of file LLZKInlineStructsPass.cpp.

◆ getDescription()

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

Definition at line 41 of file LLZKInlineStructsPass.cpp.

◆ getName()

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

Definition at line 47 of file LLZKInlineStructsPass.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 44 of file LLZKInlineStructsPass.cpp.

Member Data Documentation

◆ maxComplexity

template<typename DerivedT>
::mlir::Pass::Option<uint64_t> llzk::impl::InlineStructsPassBase< DerivedT >::maxComplexity {*this, "max-merge-complexity", ::llvm::cl::desc("Maximum allowed constraint+multiplications in merged @constrain functions"), ::llvm::cl::init(0)}
protected

Definition at line 86 of file LLZKInlineStructsPass.cpp.


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