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 318 of file LLZKUnusedDeclarationEliminationPass.cpp.
using llzk::impl::UnusedDeclarationEliminationPassBase< DerivedT >::Base = UnusedDeclarationEliminationPassBase |
Definition at line 320 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inline |
Definition at line 322 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inline |
Definition at line 323 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 372 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlinestatic |
Support isa/dyn_cast functionality for the derived pass class.
Definition at line 340 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
A clone method to create a copy of this pass.
Definition at line 345 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Definition at line 329 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlinestatic |
Returns the command-line argument attached to this pass.
Definition at line 326 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Return the dialect that must be loaded in the context before this pass.
Definition at line 350 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Definition at line 331 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlineoverride |
Definition at line 337 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
inlinestatic |
Returns the derived pass name.
Definition at line 334 of file LLZKUnusedDeclarationEliminationPass.cpp.
|
protected |
Definition at line 376 of file LLZKUnusedDeclarationEliminationPass.cpp.