Mercurial > projects > ldc
view gen/optimizer.h @ 1357:48747003a5de
Set explicit alignment for normal global variables, ensures alignment is correct for globals with union type.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Fri, 15 May 2009 17:17:20 +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