LLVM
3.7.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
work
release_test
rc4
llvm.src
lib
CodeGen
MIRPrinter.h
Go to the documentation of this file.
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 functions that print out the LLVM IR and the machine
11
// functions using the MIR serialization format.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_LIB_CODEGEN_MIRPRINTER_H
16
#define LLVM_LIB_CODEGEN_MIRPRINTER_H
17
18
namespace
llvm {
19
20
class
MachineFunction;
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 &M);
26
27
/// Print a machine function using the MIR serialization format to the given
28
/// output stream.
29
void
printMIR
(raw_ostream &OS,
const
MachineFunction &MF);
30
31
}
// end namespace llvm
32
33
#endif
llvm::printMIR
void printMIR(raw_ostream &OS, const Module &M)
Print LLVM IR using the MIR serialization format to the given output stream.
Definition:
MIRPrinter.cpp:344
Generated on Mon Aug 31 2015 11:04:49 for LLVM by
1.8.6