Declarations for functions that create different file writers.

llvm-svn: 34028
This commit is contained in:
Bill Wendling 2007-02-08 01:31:38 +00:00
parent 860ce1b82e
commit 6ea699e0fe
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
//===-- FileWriters.cpp - File Writers Creation Functions -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Bill Wendling and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// Functions to add the various file writer passes.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CODEGEN_FILEWRITERS_H
#define LLVM_CODEGEN_FILEWRITERS_H
#include <iosfwd>
namespace llvm {
class FunctionPassManager;
class MachineCodeEmitter;
class TargetMachine;
MachineCodeEmitter *AddELFWriter(FunctionPassManager &FPM, std::ostream &O,
TargetMachine &TM);
MachineCodeEmitter *AddMachOWriter(FunctionPassManager &FPM, std::ostream &O,
TargetMachine &TM);
} // end llvm namespace
#endif // LLVM_CODEGEN_FILEWRITERS_H