LLVM  12.0.0git
Classes | Namespaces | Typedefs | Functions
Debugify.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/MapVector.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  NewPMDebugifyPass
 
struct  DebugifyStatistics
 Track how much debugify information has been lost. More...
 
struct  NewPMCheckDebugifyPass
 

Namespaces

 llvm
 This class represents lattice values for constants.
 

Typedefs

using 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::ModulePasscreateDebugifyModulePass ()
 
llvm::FunctionPasscreateDebugifyFunctionPass ()
 
llvm::ModulePasscreateCheckDebugifyModulePass (bool Strip=false, llvm::StringRef NameOfWrappedPass="", DebugifyStatsMap *StatsMap=nullptr)
 
llvm::FunctionPasscreateCheckDebugifyFunctionPass (bool Strip=false, llvm::StringRef NameOfWrappedPass="", DebugifyStatsMap *StatsMap=nullptr)
 

Typedef Documentation

◆ DebugifyStatsMap

Map pass names to a per-pass DebugifyStatistics instance.

Definition at line 75 of file Debugify.h.

Function Documentation

◆ createCheckDebugifyFunctionPass()

llvm::FunctionPass* createCheckDebugifyFunctionPass ( bool  Strip = false,
llvm::StringRef  NameOfWrappedPass = "",
DebugifyStatsMap StatsMap = nullptr 
)

Definition at line 493 of file Debugify.cpp.

◆ createCheckDebugifyModulePass()

llvm::ModulePass* createCheckDebugifyModulePass ( bool  Strip = false,
llvm::StringRef  NameOfWrappedPass = "",
DebugifyStatsMap StatsMap = nullptr 
)

Definition at line 487 of file Debugify.cpp.

◆ createDebugifyFunctionPass()

llvm::FunctionPass* createDebugifyFunctionPass ( )

Definition at line 477 of file Debugify.cpp.

◆ createDebugifyModulePass()

llvm::ModulePass* createDebugifyModulePass ( )

Definition at line 475 of file Debugify.cpp.