comparison gen/passes/Passes.h @ 1483:defafbabbe32

Add a pass to strip the bodies of `available_externally` functions so string literals and `TypeInfo`s only referenced by them can be deleted by `-globaldce`.
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 07 Jun 2009 16:00:13 +0200
parents e109e4031e8a
children c88b16d4a13c
comparison
equal deleted inserted replaced
1482:d9c5f5a43403 1483:defafbabbe32
10 // Performs simplifications on runtime calls. 10 // Performs simplifications on runtime calls.
11 llvm::FunctionPass* createSimplifyDRuntimeCalls(); 11 llvm::FunctionPass* createSimplifyDRuntimeCalls();
12 12
13 #ifdef USE_METADATA 13 #ifdef USE_METADATA
14 llvm::FunctionPass* createGarbageCollect2Stack(); 14 llvm::FunctionPass* createGarbageCollect2Stack();
15 llvm::ModulePass *createStripMetaData(); 15 llvm::ModulePass* createStripMetaData();
16 #endif 16 #endif
17 17
18 #if LLVM_REV >= 68940
19 llvm::ModulePass* createStripExternalsPass();
20 #endif
18 21
19 #endif 22 #endif