view ir/irmodule.h @ 689:06c05906b054

Always run SimplifyCFG to workaround LLVM bug 2613.
author Christian Kamm <kamm incasoftware de>
date Sun, 12 Oct 2008 15:33:14 +0200
parents b411c41a9716
children 1714836f2c0b
line wrap: on
line source

#ifndef LDC_IR_IRMODULE_H
#define LDC_IR_IRMODULE_H

#include "ir/ir.h"

struct Module;

struct IrModule : IrBase
{
    IrModule(Module* module, const char* srcfilename);
    virtual ~IrModule();

    Module* M;

    LLGlobalVariable* dwarfCompileUnit;
    LLGlobalVariable* fileName;
};

#endif