LLVM API Documentation
#include "llvm/Transforms/IPO.h"#include "llvm/Analysis/FindUsedTypes.h"#include "llvm/Module.h"#include "llvm/TypeSymbolTable.h"#include "llvm/DerivedTypes.h"#include "llvm/ADT/Statistic.h"#include "llvm/Support/Compiler.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "deadtypeelim" |
Functions | |
| STATISTIC (NumKilled,"Number of unused typenames removed from symtab") | |
| ModulePass * | llvm::createDeadTypeEliminationPass () |
| static bool | ShouldNukeSymtabEntry (const Type *Ty) |
Variables | |
| static RegisterPass< DTE > | X ("deadtypeelim","Dead Type Elimination") |
| #define DEBUG_TYPE "deadtypeelim" |
Definition at line 15 of file DeadTypeElimination.cpp.
| static bool ShouldNukeSymtabEntry | ( | const Type * | Ty | ) | [inline, static] |
Definition at line 59 of file DeadTypeElimination.cpp.
References llvm::Type::isInteger(), and llvm::Type::isPrimitiveType().
| STATISTIC | ( | NumKilled | , | |
| "Number of unused typenames removed from symtab" | ||||
| ) |
char ID [static] |
Definition at line 29 of file DeadTypeElimination.cpp.
RegisterPass<DTE> X("deadtypeelim","Dead Type Elimination") [static] |