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 397 of file LLZKUnusedDeclarationEliminationPass.cpp.
using llzk::impl::UnusedDeclarationEliminationPassBase< DerivedT >::Base = UnusedDeclarationEliminationPassBase |
Definition at line 399 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inline |
Definition at line 401 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inline |
Definition at line 402 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 451 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlinestatic |
Support isa/dyn_cast functionality for the derived pass class.
Definition at line 419 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
A clone method to create a copy of this pass.
Definition at line 424 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Definition at line 408 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlinestatic |
Returns the command-line argument attached to this pass.
Definition at line 405 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Return the dialect that must be loaded in the context before this pass.
Definition at line 429 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Definition at line 410 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Definition at line 416 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlinestatic |
Returns the derived pass name.
Definition at line 413 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
protected |
Definition at line 455 of file LLZKUnusedDeclarationEliminationPass.cpp.