Mercurial > projects > ldc
view gen/passes/Passes.h @ 1424:ad999630aa35
Teach -dgc2stack to preserve the call graph. This should allow for more
efficient execution by the pass manager.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Thu, 28 May 2009 02:14:01 +0200 |
parents | e109e4031e8a |
children | defafbabbe32 |
line wrap: on
line source
#ifndef LDC_PASSES_H #define LDC_PASSES_H #include "gen/metadata.h" namespace llvm { class FunctionPass; class ModulePass; } // Performs simplifications on runtime calls. llvm::FunctionPass* createSimplifyDRuntimeCalls(); #ifdef USE_METADATA llvm::FunctionPass* createGarbageCollect2Stack(); llvm::ModulePass *createStripMetaData(); #endif #endif