LLVM API Documentation

ADCE.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/BasicBlock.h"
#include "llvm/Instructions.h"
#include "llvm/Pass.h"
#include "llvm/Support/CFG.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/InstIterator.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"

Include dependency graph for ADCE.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "adce"

Functions

 STATISTIC (NumRemoved,"Number of instructions removed")
FunctionPass * llvm::createAggressiveDCEPass ()

Variables

static RegisterPass< ADCE > X ("adce","Aggressive Dead Code Elimination")


Define Documentation

#define DEBUG_TYPE   "adce"

Definition at line 17 of file ADCE.cpp.


Function Documentation

STATISTIC ( NumRemoved  ,
"Number of instructions removed"   
)


Variable Documentation

char ID [static]

Definition at line 36 of file ADCE.cpp.

RegisterPass<ADCE> X("adce","Aggressive Dead Code Elimination") [static]