view gen/passes/Passes.h @ 1600:a60e7d1ce3ee

Folded in a patch by Troy Straszheim to better report errors with -run.
author Robert Clipsham <robert@octarineparrot.com>
date Mon, 28 Dec 2009 02:23:41 +0000
parents 4551475bc6b6
children
line wrap: on
line source

#ifndef LDC_PASSES_H
#define LDC_PASSES_H

#include "gen/metadata.h"
namespace llvm {
    class FunctionPass;
    class ModulePass;
}

// Performs simplifications on runtime calls.
llvm::FunctionPass* createSimplifyDRuntimeCalls();

#if USE_METADATA
llvm::FunctionPass* createGarbageCollect2Stack();
#endif // USE_METADATA

llvm::ModulePass* createStripExternalsPass();

#endif