|
LLVM 22.0.0git
|
#include "llvm/ADT/MapVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/Bitcode/BitcodeWriterPass.h"#include "llvm/IR/IRPrintingPasses.h"#include "llvm/IR/LegacyPassManager.h"#include "llvm/IR/Module.h"#include "llvm/IR/PassInstrumentation.h"#include "llvm/IR/PassManager.h"#include "llvm/IR/ValueHandle.h"#include "llvm/Pass.h"#include "llvm/Support/Compiler.h"Go to the source code of this file.
Classes | |
| struct | DebugInfoPerPass |
| Used to track the Debug Info Metadata information. More... | |
| class | NewPMDebugifyPass |
| struct | DebugifyStatistics |
| Track how much debugify information (in the synthetic mode only) has been lost. More... | |
| class | NewPMCheckDebugifyPass |
| class | llvm::DebugifyEachInstrumentation |
| class | llvm::DebugifyCustomPassManager |
| DebugifyCustomPassManager wraps each pass with the debugify passes if needed. More... | |
Namespaces | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
Typedefs | |
| using | DebugFnMap |
| using | DebugInstMap = llvm::MapVector<const llvm::Instruction *, bool> |
| using | DebugVarMap = llvm::MapVector<const llvm::DILocalVariable *, unsigned> |
| using | WeakInstValueMap |
| using | DebugifyStatsMap = llvm::MapVector<llvm::StringRef, DebugifyStatistics> |
| Map pass names to a per-pass DebugifyStatistics instance. | |
Enumerations | |
| enum class | DebugifyMode { NoDebugify , SyntheticDebugInfo , OriginalDebugInfo } |
| Used to check whether we track synthetic or original debug info. More... | |
| using DebugFnMap |
Definition at line 29 of file Debugify.h.
Map pass names to a per-pass DebugifyStatistics instance.
Definition at line 152 of file Debugify.h.
| using DebugInstMap = llvm::MapVector<const llvm::Instruction *, bool> |
Definition at line 31 of file Debugify.h.
| using DebugVarMap = llvm::MapVector<const llvm::DILocalVariable *, unsigned> |
Definition at line 32 of file Debugify.h.
| using WeakInstValueMap |
Definition at line 33 of file Debugify.h.
|
strong |
Used to check whether we track synthetic or original debug info.
| Enumerator | |
|---|---|
| NoDebugify | |
| SyntheticDebugInfo | |
| OriginalDebugInfo | |
Definition at line 98 of file Debugify.h.
| LLVM_ABI llvm::FunctionPass * createCheckDebugifyFunctionPass | ( | bool | Strip = false, |
| llvm::StringRef | NameOfWrappedPass = "", | ||
| DebugifyStatsMap * | StatsMap = nullptr, | ||
| enum DebugifyMode | Mode = DebugifyMode::SyntheticDebugInfo, | ||
| DebugInfoPerPass * | DebugInfoBeforePass = nullptr, | ||
| llvm::StringRef | OrigDIVerifyBugsReportFilePath = "" ) |
Definition at line 1090 of file Debugify.cpp.
References assert(), Mode, OriginalDebugInfo, and SyntheticDebugInfo.
Referenced by llvm::DebugifyCustomPassManager::add().
| LLVM_ABI llvm::ModulePass * createCheckDebugifyModulePass | ( | bool | Strip = false, |
| llvm::StringRef | NameOfWrappedPass = "", | ||
| DebugifyStatsMap * | StatsMap = nullptr, | ||
| enum DebugifyMode | Mode = DebugifyMode::SyntheticDebugInfo, | ||
| DebugInfoPerPass * | DebugInfoBeforePass = nullptr, | ||
| llvm::StringRef | OrigDIVerifyBugsReportFilePath = "" ) |
Definition at line 1078 of file Debugify.cpp.
References assert(), Mode, OriginalDebugInfo, and SyntheticDebugInfo.
Referenced by llvm::DebugifyCustomPassManager::add().
| LLVM_ABI llvm::FunctionPass * createDebugifyFunctionPass | ( | enum DebugifyMode | Mode = DebugifyMode::SyntheticDebugInfo, |
| llvm::StringRef | NameOfWrappedPass = "", | ||
| DebugInfoPerPass * | DebugInfoBeforePass = nullptr ) |
Definition at line 1055 of file Debugify.cpp.
References assert(), Mode, OriginalDebugInfo, and SyntheticDebugInfo.
Referenced by llvm::DebugifyCustomPassManager::add().
| LLVM_ABI llvm::ModulePass * createDebugifyModulePass | ( | enum DebugifyMode | Mode = DebugifyMode::SyntheticDebugInfo, |
| llvm::StringRef | NameOfWrappedPass = "", | ||
| DebugInfoPerPass * | DebugInfoBeforePass = nullptr ) |
Definition at line 1045 of file Debugify.cpp.
References assert(), Mode, OriginalDebugInfo, and SyntheticDebugInfo.
Referenced by llvm::DebugifyCustomPassManager::add().