LLVM API Documentation

StripDeadPrototypes.cpp File Reference

#include "llvm/Transforms/IPO.h"
#include "llvm/Pass.h"
#include "llvm/Module.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/Compiler.h"

Include dependency graph for StripDeadPrototypes.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "strip-dead-prototypes"

Functions

 STATISTIC (NumDeadPrototypes,"Number of dead prototypes removed")
ModulePass * llvm::createStripDeadPrototypesPass ()

Variables

static RegisterPass
< StripDeadPrototypesPass > 
X ("strip-dead-prototypes","Strip Unused Function Prototypes")


Define Documentation

#define DEBUG_TYPE   "strip-dead-prototypes"

Definition at line 17 of file StripDeadPrototypes.cpp.


Function Documentation

STATISTIC ( NumDeadPrototypes  ,
"Number of dead prototypes removed"   
)


Variable Documentation

char ID [static]

Definition at line 32 of file StripDeadPrototypes.cpp.

RegisterPass<StripDeadPrototypesPass> X("strip-dead-prototypes","Strip Unused Function Prototypes") [static]