LLVM 20.0.0git
Macros | Functions
StripDeadPrototypes.cpp File Reference
#include "llvm/Transforms/IPO/StripDeadPrototypes.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/Module.h"
#include "llvm/Transforms/IPO.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "strip-dead-prototypes"
 

Functions

 STATISTIC (NumDeadPrototypes, "Number of dead prototypes removed")
 
static bool stripDeadPrototypes (Module &M)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "strip-dead-prototypes"

Definition at line 23 of file StripDeadPrototypes.cpp.

Function Documentation

◆ STATISTIC()

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

◆ stripDeadPrototypes()

static bool stripDeadPrototypes ( Module M)
static

Definition at line 27 of file StripDeadPrototypes.cpp.

References F, and llvm::make_early_inc_range().

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