blob: eb7a06d17d8ce4f8495625817de4465b32f82c7c [file] [log] [blame]
Chris Lattnerb3f4d1b2001-10-31 04:32:53 +00001//===- llvm/Transforms/CleanupGCCOutput.h - Cleanup GCC Output ---*- C++ -*--=//
2//
3//
4//===----------------------------------------------------------------------===//
5
6#ifndef LLVM_TRANSFORMS_CLEANUPGCCOUTPUT_H
7#define LLVM_TRANSFORMS_CLEANUPGCCOUTPUT_H
8
9#include "llvm/Pass.h"
10
11class CleanupGCCOutput : public Pass {
12public:
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.
16 //
17 bool doPassInitialization(Module *M);
18
19 // doPerMethodWork - This method simplifies the specified method hopefully.
20 //
21 bool doPerMethodWork(Method *M);
22};
23
24#endif