LLVM: llvm::DebugifyCustomPassManager Class Reference (original) (raw)
DebugifyCustomPassManager wraps each pass with the debugify passes if needed. More...
#include "[llvm/Transforms/Utils/Debugify.h](Debugify%5F8h%5Fsource.html)"
| 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 () |
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 234 of file Debugify.h.
◆ super
◆ add()
| void llvm::DebugifyCustomPassManager::add ( Pass * P) | 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'.
Implements llvm::legacy::PassManagerBase.
Definition at line 243 of file Debugify.h.
References llvm::legacy::PassManager::add(), createCheckDebugifyFunctionPass(), createCheckDebugifyModulePass(), createDebugifyFunctionPass(), createDebugifyModulePass(), llvm::isBitcodeWriterPass(), llvm::isIRPrintingPass(), isSyntheticDebugInfo(), NoDebugify, P, llvm::PT_Function, and llvm::PT_Module.
◆ getDebugifyStatsMap()
◆ getDebugInfoPerPass()
| DebugInfoPerPass & llvm::DebugifyCustomPassManager::getDebugInfoPerPass ( ) | inline |
|---|
◆ getOrigDIVerifyBugsReportFilePath()
| StringRef llvm::DebugifyCustomPassManager::getOrigDIVerifyBugsReportFilePath ( ) const | inline |
|---|
◆ isOriginalDebugInfoMode()
| bool llvm::DebugifyCustomPassManager::isOriginalDebugInfoMode ( ) const | inline |
|---|
◆ isSyntheticDebugInfo()
| bool llvm::DebugifyCustomPassManager::isSyntheticDebugInfo ( ) const | inline |
|---|
◆ setDebugifyMode()
| void llvm::DebugifyCustomPassManager::setDebugifyMode ( enum DebugifyMode M) | inline |
|---|
◆ setDebugInfoBeforePass()
| void llvm::DebugifyCustomPassManager::setDebugInfoBeforePass ( DebugInfoPerPass & PerPassDI) | inline |
|---|
◆ setDIStatsMap()
| void llvm::DebugifyCustomPassManager::setDIStatsMap ( DebugifyStatsMap & StatMap) | inline |
|---|
◆ setOrigDIVerifyBugsReportFilePath()
| void llvm::DebugifyCustomPassManager::setOrigDIVerifyBugsReportFilePath ( StringRef BugsReportFilePath) | inline |
|---|
The documentation for this class was generated from the following file:
- include/llvm/Transforms/Utils/Debugify.h