LLVM API Documentation
#include "llvm/Transforms/IPO.h"
#include "llvm/Analysis/FindUsedTypes.h"
#include "llvm/Module.h"
#include "llvm/SymbolTable.h"
#include "llvm/DerivedTypes.h"
#include "llvm/ADT/Statistic.h"
Include dependency graph for DeadTypeElimination.cpp:
Go to the source code of this file.
Functions | |
ModulePass * | llvm::createDeadTypeEliminationPass () |
static bool | ShouldNukeSymtabEntry (const Type *Ty) |
Variables | |
RegisterOpt< DTE > | X ("deadtypeelim","Dead Type Elimination") |
Statistic | NumKilled ("deadtypeelim","Number of unused typenames removed from symtab") |
static bool ShouldNukeSymtabEntry | ( | const Type * | Ty | ) | [inline, static] |
Definition at line 52 of file DeadTypeElimination.cpp.
References llvm::Type::isPrimitiveType(), and Ty.
RegisterOpt<DTE> X("deadtypeelim","Dead Type Elimination") [static] |