1 //===-- FileWriters.h - File Writers Creation Functions ---------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Functions to add the various file writer passes.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_CODEGEN_FILEWRITERS_H
15 #define LLVM_CODEGEN_FILEWRITERS_H
21 class PassManagerBase;
22 class MachineCodeEmitter;
26 MachineCodeEmitter *AddELFWriter(PassManagerBase &FPM, raw_ostream &O,
28 MachineCodeEmitter *AddMachOWriter(PassManagerBase &FPM, raw_ostream &O,
31 } // end llvm namespace
33 #endif // LLVM_CODEGEN_FILEWRITERS_H