llvm.org GIT mirror llvm / release_25 include / llvm / CodeGen / FileWriters.h
release_25

Tree @release_25 (Download .tar.gz)

FileWriters.h @release_25

2f5bcb5
529f069
 
 
7ed47a1
 
529f069
 
 
 
 
 
 
 
 
 
 
 
bfae831
529f069
 
cb37188
529f069
cb37188
529f069
cb37188
529f069
 
 
 
 
//===-- 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 MachineCodeEmitter;
  class TargetMachine;
  class raw_ostream;

  MachineCodeEmitter *AddELFWriter(PassManagerBase &FPM, raw_ostream &O,
                                   TargetMachine &TM);
  MachineCodeEmitter *AddMachOWriter(PassManagerBase &FPM, raw_ostream &O,
                                     TargetMachine &TM);

} // end llvm namespace

#endif // LLVM_CODEGEN_FILEWRITERS_H