LLVM  13.0.0git
Macros | Functions | Variables
DwarfEHPrepare.cpp File Reference
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/CFG.h"
#include "llvm/Analysis/DomTreeUpdater.h"
#include "llvm/Analysis/EHPersonalities.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/CodeGen/RuntimeLibcalls.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/Casting.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Transforms/Utils/Local.h"
#include <cstddef>
Include dependency graph for DwarfEHPrepare.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "dwarfehprepare"
 

Functions

 STATISTIC (NumResumesLowered, "Number of resume calls lowered")
 
static bool prepareDwarfEH (CodeGenOpt::Level OptLevel, FunctionCallee &RewindFunction, Function &F, const TargetLowering &TLI, DominatorTree *DT, const TargetTransformInfo *TTI)
 
 INITIALIZE_PASS_BEGIN (DwarfEHPrepareLegacyPass, DEBUG_TYPE, "Prepare DWARF exceptions", false, false) INITIALIZE_PASS_END(DwarfEHPrepareLegacyPass
 

Variables

 DEBUG_TYPE
 
Prepare DWARF exceptions
 
Prepare DWARF false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "dwarfehprepare"

Definition at line 42 of file DwarfEHPrepare.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( DwarfEHPrepareLegacyPass  ,
DEBUG_TYPE  ,
"Prepare DWARF exceptions ,
false  ,
false   
)

◆ prepareDwarfEH()

static bool prepareDwarfEH ( CodeGenOpt::Level  OptLevel,
FunctionCallee RewindFunction,
Function F,
const TargetLowering TLI,
DominatorTree DT,
const TargetTransformInfo TTI 
)
static

Definition at line 257 of file DwarfEHPrepare.cpp.

References F, and llvm::DomTreeUpdater::Lazy.

◆ STATISTIC()

STATISTIC ( NumResumesLowered  ,
"Number of resume calls lowered  
)

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 322 of file DwarfEHPrepare.cpp.

◆ exceptions

Prepare DWARF exceptions

Definition at line 323 of file DwarfEHPrepare.cpp.

◆ false

Prepare DWARF false

Definition at line 323 of file DwarfEHPrepare.cpp.