1 //===- MIRPrinter.h - MIR serialization format printer --------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file declares the function that prints out the LLVM IR using the MIR
11 // serialization format.
12 // TODO: Print out machine functions.
14 //===----------------------------------------------------------------------===//
16 #ifndef LLVM_LIB_CODEGEN_MIR_MIRPRINTER_H
17 #define LLVM_LIB_CODEGEN_MIR_MIRPRINTER_H
24 /// Print LLVM IR using the MIR serialization format to the given output stream.
25 void printMIR(raw_ostream &OS, const Module &Mod);
27 } // end namespace llvm