mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
4b33b03487
llvm-svn: 34040
33 lines
1.0 KiB
C++
33 lines
1.0 KiB
C++
//===-- FileWriters.h - 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
|