LLVM  12.0.0git
Enumerations | Functions | Variables
Debugify.cpp File Reference
#include "llvm/Transforms/Utils/Debugify.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
Include dependency graph for Debugify.cpp:

Go to the source code of this file.

Enumerations

enum  Level
 

Functions

ModulePasscreateDebugifyModulePass ()
 
FunctionPasscreateDebugifyFunctionPass ()
 
ModulePasscreateCheckDebugifyModulePass (bool Strip, StringRef NameOfWrappedPass, DebugifyStatsMap *StatsMap)
 
FunctionPasscreateCheckDebugifyFunctionPass (bool Strip, StringRef NameOfWrappedPass, DebugifyStatsMap *StatsMap)
 

Variables

static RegisterPass< DebugifyModulePass > DM ("debugify", "Attach debug info to everything")
 
static RegisterPass< CheckDebugifyModulePass > CDM ("check-debugify", "Check debug info from -debugify")
 
static RegisterPass< DebugifyFunctionPass > DF ("debugify-function", "Attach debug info to a function")
 
static RegisterPass< CheckDebugifyFunctionPass > CDF ("check-debugify-function", "Check debug info from -debugify-function")
 

Enumeration Type Documentation

◆ Level

enum Level
strong

Definition at line 33 of file Debugify.cpp.

Function Documentation

◆ createCheckDebugifyFunctionPass()

FunctionPass* createCheckDebugifyFunctionPass ( bool  Strip,
StringRef  NameOfWrappedPass,
DebugifyStatsMap StatsMap 
)

Definition at line 493 of file Debugify.cpp.

◆ createCheckDebugifyModulePass()

ModulePass* createCheckDebugifyModulePass ( bool  Strip,
StringRef  NameOfWrappedPass,
DebugifyStatsMap StatsMap 
)

Definition at line 487 of file Debugify.cpp.

◆ createDebugifyFunctionPass()

FunctionPass* createDebugifyFunctionPass ( )

Definition at line 477 of file Debugify.cpp.

◆ createDebugifyModulePass()

ModulePass* createDebugifyModulePass ( )

Definition at line 475 of file Debugify.cpp.

Variable Documentation

◆ CDF

RegisterPass<CheckDebugifyFunctionPass> CDF("check-debugify-function", "Check debug info from -debugify-function")
static

◆ CDM

RegisterPass<CheckDebugifyModulePass> CDM("check-debugify", "Check debug info from -debugify")
static

◆ DF

RegisterPass<DebugifyFunctionPass> DF("debugify-function", "Attach debug info to a function")
static

Referenced by adjustFixupValue(), CheckBundleSubtargets(), llvm::RegionBase< RegionTraits< Function > >::clearNodeCache(), llvm::DILocation::cloneWithBaseDiscriminator(), llvm::MCFragment::dump(), llvm::DWARFContext::dump(), llvm::MCELFStreamer::emitBundleUnlock(), llvm::MCObjectStreamer::emitBytes(), llvm::MCWinCOFFStreamer::EmitCOFFImgRel32(), llvm::MCWinCOFFStreamer::EmitCOFFSecRel32(), llvm::MCWinCOFFStreamer::EmitCOFFSectionIndex(), llvm::MCObjectStreamer::emitDTPRel32Value(), llvm::MCObjectStreamer::emitDTPRel64Value(), llvm::MCObjectStreamer::emitFill(), llvm::MCObjectStreamer::emitGPRel32Value(), llvm::MCObjectStreamer::emitGPRel64Value(), llvm::X86TargetLowering::EmitInstrWithCustomInserter(), llvm::MCXCOFFStreamer::emitInstToData(), llvm::MCWinCOFFStreamer::emitInstToData(), llvm::MCObjectStreamer::emitLabelAtPos(), llvm::MCObjectStreamer::emitRelocDirective(), llvm::MCObjectStreamer::emitTPRel32Value(), llvm::MCObjectStreamer::emitTPRel64Value(), llvm::MCObjectStreamer::emitValueImpl(), llvm::DILocation::encodeDiscriminator(), llvm::RISCVAsmBackend::evaluateTargetFixup(), GetAEABIUnwindPersonalityName(), llvm::MCAssembler::getAtom(), llvm::DWARFContext::getDebugFrame(), llvm::DominanceFrontierWrapperPass::getDominanceFrontier(), llvm::DWARFContext::getEHFrame(), getFixupKindNumBytes(), getFixupKindSize(), llvm::rdf::DataFlowGraph::getNextShadow(), llvm::RISCVMCExpr::getPCRelHiFixup(), llvm::X86TargetLowering::getRegForInlineAsmConstraint(), llvm::ARMAsmBackend::hasNOP(), llvm::MCInstrInfo::InitMCInstrInfo(), isRightAfterData(), llvm::MCELFStreamer::MCELFStreamer(), llvm::RegionInfo::operator=(), llvm::MachineRegionInfo::recalculate(), llvm::RegionInfo::recalculate(), llvm::RISCVAsmBackend::requiresDiffExpressionRelocations(), llvm::MCAsmBackend::requiresDiffExpressionRelocations(), NewPMCheckDebugifyPass::run(), llvm::RegionInfoAnalysis::run(), llvm::RegionInfoPass::runOnFunction(), and llvm::MachineRegionInfoPass::runOnMachineFunction().

◆ DM

RegisterPass<DebugifyModulePass> DM("debugify", "Attach debug info to everything")
static