view gen/optimizer.h @ 1475:1f29cbc36bf5

Fix memory leak in configfile.cpp...probably the only one in ldc!
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Thu, 04 Jun 2009 16:46:05 -0600
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