diff options
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MIParser.h')
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/MIParser.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.h b/llvm/lib/CodeGen/MIRParser/MIParser.h new file mode 100644 index 00000000000..b55d70a199b --- /dev/null +++ b/llvm/lib/CodeGen/MIRParser/MIParser.h @@ -0,0 +1,31 @@ +//===- MIParser.h - Machine Instructions Parser ---------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file declares the function that parses the machine instructions. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_LIB_CODEGEN_MIRPARSER_MIPARSER_H +#define LLVM_LIB_CODEGEN_MIRPARSER_MIPARSER_H + +#include "llvm/ADT/StringRef.h" + +namespace llvm { + +class MachineInstr; +class MachineFunction; +class SMDiagnostic; +class SourceMgr; + +MachineInstr *parseMachineInstr(SourceMgr &SM, MachineFunction &MF, + StringRef Src, SMDiagnostic &Error); + +} // end namespace llvm + +#endif |