blob: d7bf827ff249d052666f6df451133b2c914fb944 [file] [log] [blame]
Tom Stellard75aadc22012-12-11 21:25:42 +00001//===- AMDGPUMCInstLower.h MachineInstr Lowering Interface ------*- C++ -*-===//
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/// \file
9//===----------------------------------------------------------------------===//
10
11#ifndef AMDGPU_MCINSTLOWER_H
12#define AMDGPU_MCINSTLOWER_H
13
14namespace llvm {
15
16class MCInst;
17class MachineInstr;
18
19class AMDGPUMCInstLower {
20
21public:
22 AMDGPUMCInstLower();
23
24 /// \brief Lower a MachineInstr to an MCInst
25 void lower(const MachineInstr *MI, MCInst &OutMI) const;
26
27};
28
29} // End namespace llvm
30
31#endif //AMDGPU_MCINSTLOWER_H