LLVM  12.0.0git
Classes | Namespaces | Typedefs | Functions
Debugify.h File Reference
#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/PassManager.h"
Include dependency graph for Debugify.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::NewPMDebugifyPass
 
struct  llvm::DebugifyStatistics
 Track how much debugify information has been lost. More...
 
struct  llvm::NewPMCheckDebugifyPass
 
struct  llvm::DebugifyEachInstrumentation
 
class  llvm::DebugifyCustomPassManager
 DebugifyCustomPassManager wraps each pass with the debugify passes if needed. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 

Typedefs

using llvm::DebugifyStatsMap = llvm::MapVector< llvm::StringRef, DebugifyStatistics >
 Map pass names to a per-pass DebugifyStatistics instance. More...
 

Functions

bool llvm::applyDebugifyMetadata (Module &M, iterator_range< Module::iterator > Functions, StringRef Banner, std::function< bool(DIBuilder &, Function &)> ApplyToMF)
 Add synthesized debug information to a module. More...
 
bool llvm::stripDebugifyMetadata (Module &M)
 Strip out all of the metadata and debug info inserted by debugify. More...
 
llvm::ModulePassllvm::createDebugifyModulePass ()
 
llvm::FunctionPassllvm::createDebugifyFunctionPass ()
 
void llvm::exportDebugifyStats (StringRef Path, const DebugifyStatsMap &Map)
 
llvm::ModulePassllvm::createCheckDebugifyModulePass (bool Strip=false, llvm::StringRef NameOfWrappedPass="", DebugifyStatsMap *StatsMap=nullptr)
 
llvm::FunctionPassllvm::createCheckDebugifyFunctionPass (bool Strip=false, llvm::StringRef NameOfWrappedPass="", DebugifyStatsMap *StatsMap=nullptr)