Changes in directory llvm/include/llvm/CodeGen:
FileWriters.h added (r1.1) --- Log message: Declarations for functions that create different file writers. --- Diffs of the changes: (+32 -0) FileWriters.h | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+) Index: llvm/include/llvm/CodeGen/FileWriters.h diff -c /dev/null llvm/include/llvm/CodeGen/FileWriters.h:1.1 *** /dev/null Wed Feb 7 19:31:48 2007 --- llvm/include/llvm/CodeGen/FileWriters.h Wed Feb 7 19:31:38 2007 *************** *** 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 _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits