1 //===- llvm/Transforms/IPO.h - Interprocedural Optimiations -----*- C++ -*-===//
4 //===----------------------------------------------------------------------===//
6 #ifndef LLVM_TRANSFORMS_IPO_H
7 #define LLVM_TRANSFORMS_IPO_H
11 //===----------------------------------------------------------------------===//
12 // createDeadTypeEliminationPass - Return a new pass that eliminates symbol
13 // table entries for types that are never used.
15 Pass *createDeadTypeEliminationPass();
18 //===----------------------------------------------------------------------===//
19 // FunctionResolvingPass - Go over the functions that are in the module and
20 // look for functions that have the same name. More often than not, there will
23 // void "foo"(int, int)
24 // because of the way things are declared in C. If this is the case, patch
27 // This is an interprocedural pass.
29 Pass *createFunctionResolvingPass();