view gen/optimizer.h @ 1471:230765fc82f4

Emit nicer error messages when the user didn't set LLVM_REV and autodetection didn't find a suitable revision or when the LLVM revision in use is too old.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 03 Jun 2009 16:09:48 +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