view gen/optimizer.h @ 1266:17d4d554300a

Force 'fast' compilation when debug info is requested. LLVM trunk seems to skip debug info for non-fast compilation.
author Christian Kamm <kamm incasoftware de>
date Sun, 26 Apr 2009 18:21:07 +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