Mercurial > projects > ldc
view gen/passes/Passes.h @ 1329:e5b57fd8307c
Turn new _d_array_slice_copy runtime call into memcpy when the slice lengths are
equal and alias analysis says it's safe.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 10 May 2009 04:18:14 +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