LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
PruneEH.cpp File Reference
#include "llvm/Transforms/IPO.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Analysis/CallGraphSCCPass.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/Support/CFG.h"
#include <algorithm>
Include dependency graph for PruneEH.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "prune-eh"
 

Functions

 STATISTIC (NumRemoved,"Number of invokes removed")
 
 STATISTIC (NumUnreach,"Number of noreturn calls optimized")
 
 INITIALIZE_PASS_BEGIN (PruneEH,"prune-eh","Remove unused exception handling info", false, false) INITIALIZE_PASS_END(PruneEH
 

Variables

prune eh
 

Macro Definition Documentation

#define DEBUG_TYPE   "prune-eh"

Definition at line 17 of file PruneEH.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( PruneEH  ,
"prune-eh ,
"Remove unused exception handling info ,
false  ,
false   
)
STATISTIC ( NumRemoved  ,
"Number of invokes removed"   
)
STATISTIC ( NumUnreach  ,
"Number of noreturn calls optimized"   
)

Variable Documentation

prune eh

Definition at line 55 of file PruneEH.cpp.