[llvm-commits] CVS: llvm/include/llvm/CodeGen/FileWriters.h

Bill Wendling isanbard at gmail.com
Wed Feb 7 17:31:54 PST 2007



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






More information about the llvm-commits mailing list