LLZK 0.1.0
Veridise's ZK Language IR
|
Public Types | |
using | Base = UnusedDeclarationEliminationPassBase |
Public Member Functions | |
UnusedDeclarationEliminationPassBase () | |
UnusedDeclarationEliminationPassBase (const UnusedDeclarationEliminationPassBase &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 ®istry) const override |
Return the dialect that must be loaded in the context before this pass. | |
UnusedDeclarationEliminationPassBase (const UnusedDeclarationEliminationPassOptions &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< bool > | removeStructs {*this, "remove-structs", ::llvm::cl::desc("Whether to remove unused struct definitions as well. Requires module to declare a Main component, otherwise all components will appear unused."), ::llvm::cl::init(false)} |
Definition at line 246 of file LLZKUnusedDeclarationEliminationPass.cpp.
using llzk::impl::UnusedDeclarationEliminationPassBase< DerivedT >::Base = UnusedDeclarationEliminationPassBase |
Definition at line 248 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inline |
Definition at line 250 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inline |
Definition at line 251 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
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 300 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlinestatic |
Support isa/dyn_cast functionality for the derived pass class.
Definition at line 268 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
A clone method to create a copy of this pass.
Definition at line 273 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Definition at line 257 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlinestatic |
Returns the command-line argument attached to this pass.
Definition at line 254 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Return the dialect that must be loaded in the context before this pass.
Definition at line 278 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Definition at line 259 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Definition at line 265 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlinestatic |
Returns the derived pass name.
Definition at line 262 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
protected |
Definition at line 304 of file LLZKUnusedDeclarationEliminationPass.cpp.