view gen/optimizer.h @ 1451:297d1e2f6441

Add `syscall` to the x86-64 asm parser, and both `syscall` and `sysret` to the x86 one. Fixes #316.
author Frits van Bommel <fvbommel wxs.nl>
date Mon, 01 Jun 2009 23:42: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