view gen/optimizer.h @ 1177:a8b9fc41c34b

Fix #246 by running type->semantic() on parameters so tuples are expanded.
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 29 Mar 2009 23:57:51 +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