Mercurial > projects > ldc
view gen/optimizer.h @ 1277:6bd5ce91b136
Add some attributes to runtime calls, to provide the standard LLVM optimization
passes with more information.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Wed, 29 Apr 2009 17:47:24 +0200 |
parents | 0b26cfb2d445 |
children | d9c5f5a43403 |
line wrap: on
line source
#ifndef LDC_GEN_OPTIMIZER_H #define LDC_GEN_OPTIMIZER_H namespace llvm { class Module; } bool ldc_optimize_module(llvm::Module* m); bool doInline(); int optLevel(); bool optimize(); #endif