LLVM 22.0.0git
DwarfEHPrepare.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "dwarf-eh-prepare"

Functions

 STATISTIC (NumResumesLowered, "Number of resume calls lowered")
 STATISTIC (NumCleanupLandingPadsUnreachable, "Number of cleanup landing pads found unreachable")
 STATISTIC (NumCleanupLandingPadsRemaining, "Number of cleanup landing pads remaining")
 STATISTIC (NumNoUnwind, "Number of functions with nounwind")
 STATISTIC (NumUnwind, "Number of functions with unwind")
static bool prepareDwarfEH (CodeGenOptLevel OptLevel, Function &F, const TargetLowering &TLI, DominatorTree *DT, const TargetTransformInfo *TTI, const Triple &TargetTriple)
 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   "dwarf-eh-prepare"

Definition at line 44 of file DwarfEHPrepare.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

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

◆ prepareDwarfEH()

bool prepareDwarfEH ( CodeGenOptLevel OptLevel,
Function & F,
const TargetLowering & TLI,
DominatorTree * DT,
const TargetTransformInfo * TTI,
const Triple & TargetTriple )
static

Definition at line 320 of file DwarfEHPrepare.cpp.

References F.

Referenced by llvm::DwarfEHPreparePass::run().

◆ STATISTIC() [1/5]

STATISTIC ( NumCleanupLandingPadsRemaining ,
"Number of cleanup landing pads remaining"  )

◆ STATISTIC() [2/5]

STATISTIC ( NumCleanupLandingPadsUnreachable ,
"Number of cleanup landing pads found unreachable"  )

◆ STATISTIC() [3/5]

STATISTIC ( NumNoUnwind ,
"Number of functions with nounwind"  )

◆ STATISTIC() [4/5]

STATISTIC ( NumResumesLowered ,
"Number of resume calls lowered"  )

◆ STATISTIC() [5/5]

STATISTIC ( NumUnwind ,
"Number of functions with unwind"  )

References F.

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 404 of file DwarfEHPrepare.cpp.

◆ exceptions

Prepare DWARF exceptions

Definition at line 405 of file DwarfEHPrepare.cpp.

◆ false

Prepare DWARF false

Definition at line 405 of file DwarfEHPrepare.cpp.