LLVM API Documentation

Defines | 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/CFG.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 <algorithm>
Include dependency graph for PruneEH.cpp:

Go to the source code of this file.

Defines

#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

Define 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.