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

Public Types

using Base = PolyLoweringPassBase
 

Public Member Functions

 PolyLoweringPassBase ()
 
 PolyLoweringPassBase (const PolyLoweringPassBase &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.
 
 PolyLoweringPassBase (const PolyLoweringPassOptions &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< unsigned > maxDegree {*this, "max-degree", ::llvm::cl::desc("Maximum degree of constraint polynomials (default 2, minimum 2)"), ::llvm::cl::init(2)}
 

Detailed Description

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

Definition at line 26 of file LLZKPolyLoweringPass.cpp.

Member Typedef Documentation

◆ Base

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

Definition at line 28 of file LLZKPolyLoweringPass.cpp.

Constructor & Destructor Documentation

◆ PolyLoweringPassBase() [1/3]

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

Definition at line 30 of file LLZKPolyLoweringPass.cpp.

◆ PolyLoweringPassBase() [2/3]

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

Definition at line 31 of file LLZKPolyLoweringPass.cpp.

◆ PolyLoweringPassBase() [3/3]

template<typename DerivedT>
llzk::impl::PolyLoweringPassBase< DerivedT >::PolyLoweringPassBase ( const PolyLoweringPassOptions & 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 80 of file LLZKPolyLoweringPass.cpp.

Member Function Documentation

◆ classof()

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

Support isa/dyn_cast functionality for the derived pass class.

Definition at line 48 of file LLZKPolyLoweringPass.cpp.

◆ clonePass()

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

A clone method to create a copy of this pass.

Definition at line 53 of file LLZKPolyLoweringPass.cpp.

◆ getArgument()

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

Definition at line 37 of file LLZKPolyLoweringPass.cpp.

◆ getArgumentName()

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

Returns the command-line argument attached to this pass.

Definition at line 34 of file LLZKPolyLoweringPass.cpp.

◆ getDependentDialects()

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

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

Definition at line 58 of file LLZKPolyLoweringPass.cpp.

◆ getDescription()

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

Definition at line 39 of file LLZKPolyLoweringPass.cpp.

◆ getName()

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

Definition at line 45 of file LLZKPolyLoweringPass.cpp.

◆ getPassName()

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

Returns the derived pass name.

Definition at line 42 of file LLZKPolyLoweringPass.cpp.

Member Data Documentation

◆ maxDegree

template<typename DerivedT>
::mlir::Pass::Option<unsigned> llzk::impl::PolyLoweringPassBase< DerivedT >::maxDegree {*this, "max-degree", ::llvm::cl::desc("Maximum degree of constraint polynomials (default 2, minimum 2)"), ::llvm::cl::init(2)}
protected

Definition at line 84 of file LLZKPolyLoweringPass.cpp.


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