view gen/optimizer.h @ 1260:3d6a908a34e9

Add `#include "gen/llvm-version.h"` to files that use the macro it defines...
author Frits van Bommel <fvbommel wxs.nl>
date Fri, 24 Apr 2009 16:47:42 +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