1 //===- llvm/Transforms/CleanupGCCOutput.h - Cleanup GCC Output ---*- C++ -*--=//
4 //===----------------------------------------------------------------------===//
6 #ifndef LLVM_TRANSFORMS_CLEANUPGCCOUTPUT_H
7 #define LLVM_TRANSFORMS_CLEANUPGCCOUTPUT_H
11 class CleanupGCCOutput : public Pass {
13 // doPassInitialization - For this pass, it removes global symbol table
14 // entries for primitive types. These are never used for linking in GCC and
15 // they make the output uglier to look at, so we nuke them.
17 bool doPassInitialization(Module *M);
19 // doPerMethodWork - This method simplifies the specified method hopefully.
21 bool doPerMethodWork(Method *M);