b55d70a199baeed1cdee8c230aeb721fb16edfa1
[oota-llvm.git] / lib / CodeGen / MIRParser / MIParser.h
1 //===- MIParser.h - Machine Instructions Parser ---------------------------===//
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 parses the machine instructions.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_LIB_CODEGEN_MIRPARSER_MIPARSER_H
15 #define LLVM_LIB_CODEGEN_MIRPARSER_MIPARSER_H
16
17 #include "llvm/ADT/StringRef.h"
18
19 namespace llvm {
20
21 class MachineInstr;
22 class MachineFunction;
23 class SMDiagnostic;
24 class SourceMgr;
25
26 MachineInstr *parseMachineInstr(SourceMgr &SM, MachineFunction &MF,
27                                 StringRef Src, SMDiagnostic &Error);
28
29 } // end namespace llvm
30
31 #endif