LLVM 20.0.0git
|
DebugifyCustomPassManager wraps each pass with the debugify passes if needed. More...
#include "llvm/Transforms/Utils/Debugify.h"
Public Types | |
using | super = legacy::PassManager |
Public Member Functions | |
void | add (Pass *P) override |
Add a pass to the queue of passes to run. | |
void | setDIStatsMap (DebugifyStatsMap &StatMap) |
void | setDebugInfoBeforePass (DebugInfoPerPass &PerPassDI) |
void | setOrigDIVerifyBugsReportFilePath (StringRef BugsReportFilePath) |
StringRef | getOrigDIVerifyBugsReportFilePath () const |
void | setDebugifyMode (enum DebugifyMode M) |
bool | isSyntheticDebugInfo () const |
bool | isOriginalDebugInfoMode () const |
const DebugifyStatsMap & | getDebugifyStatsMap () const |
DebugInfoPerPass & | getDebugInfoPerPass () |
Public Member Functions inherited from llvm::legacy::PassManager | |
PassManager () | |
Create new pass manager. | |
~PassManager () override | |
void | add (Pass *P) override |
Add a pass to the queue of passes to run. | |
bool | run (Module &M) |
run - Execute all of the passes scheduled for execution. | |
Public Member Functions inherited from llvm::legacy::PassManagerBase | |
virtual | ~PassManagerBase () |
virtual void | add (Pass *P)=0 |
Add a pass to the queue of passes to run. | |
DebugifyCustomPassManager wraps each pass with the debugify passes if needed.
NOTE: We support legacy custom pass manager only. TODO: Add New PM support for custom pass manager.
Definition at line 229 of file Debugify.h.
Definition at line 236 of file Debugify.h.
|
inlineoverridevirtual |
Add a pass to the queue of passes to run.
This passes ownership of the Pass to the PassManager. When the PassManager is destroyed, the pass will be destroyed as well, so there is no need to delete the pass. This may even destroy the pass right away if it is found to be redundant. This implies that all passes MUST be allocated with 'new'.
Reimplemented from llvm::legacy::PassManager.
Definition at line 238 of file Debugify.h.
References llvm::legacy::PassManager::add(), createCheckDebugifyFunctionPass(), createCheckDebugifyModulePass(), createDebugifyFunctionPass(), createDebugifyModulePass(), llvm::isBitcodeWriterPass(), llvm::isIRPrintingPass(), isSyntheticDebugInfo(), Name, P, llvm::PT_Function, and llvm::PT_Module.
|
inline |
Definition at line 299 of file Debugify.h.
|
inline |
Definition at line 300 of file Debugify.h.
|
inline |
Definition at line 286 of file Debugify.h.
|
inline |
Definition at line 295 of file Debugify.h.
|
inline |
Definition at line 292 of file Debugify.h.
Referenced by add().
|
inline |
Definition at line 290 of file Debugify.h.
|
inline |
Definition at line 280 of file Debugify.h.
|
inline |
Definition at line 278 of file Debugify.h.
|
inline |
Definition at line 283 of file Debugify.h.