2e6d645af71a10c4aa50af8e39f4d7a9e0e30d19
[oota-llvm.git] / lib / CodeGen / MIR / MIRPrinter.h
1 //===- MIRPrinter.h - MIR serialization format printer --------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file declares the function that prints out the LLVM IR using the MIR
11 // serialization format.
12 // TODO: Print out machine functions.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLVM_LIB_CODEGEN_MIR_MIRPRINTER_H
17 #define LLVM_LIB_CODEGEN_MIR_MIRPRINTER_H
18
19 namespace llvm {
20
21 class Module;
22 class raw_ostream;
23
24 /// Print LLVM IR using the MIR serialization format to the given output stream.
25 void printMIR(raw_ostream &OS, const Module &Mod);
26
27 } // end namespace llvm
28
29 #endif