mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
38373542a1
cleanup, removed some #includes and moved Object Code Emitter out-of-line. llvm-svn: 74813
32 lines
986 B
C++
32 lines
986 B
C++
//===-- FileWriters.h - File Writers Creation Functions ---------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file 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
|
|
|
|
namespace llvm {
|
|
|
|
class PassManagerBase;
|
|
class ObjectCodeEmitter;
|
|
class TargetMachine;
|
|
class raw_ostream;
|
|
|
|
ObjectCodeEmitter *AddELFWriter(PassManagerBase &FPM, raw_ostream &O,
|
|
TargetMachine &TM);
|
|
ObjectCodeEmitter *AddMachOWriter(PassManagerBase &FPM, raw_ostream &O,
|
|
TargetMachine &TM);
|
|
|
|
} // end llvm namespace
|
|
|
|
#endif // LLVM_CODEGEN_FILEWRITERS_H
|