mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
7ed47a1335
discussion of this change. Boy are my fingers tired. ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45411 91177308-0d34-0410-b5e6-96231b3b80d8
33 lines
1003 B
C++
33 lines
1003 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
|
|
|
|
#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
|