1 //===- AMDGPUMCInstLower.h MachineInstr Lowering Interface ------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 #ifndef LLVM_LIB_TARGET_R600_AMDGPUMCINSTLOWER_H
12 #define LLVM_LIB_TARGET_R600_AMDGPUMCINSTLOWER_H
16 class AMDGPUSubtarget;
21 class AMDGPUMCInstLower {
23 const AMDGPUSubtarget &ST;
26 AMDGPUMCInstLower(MCContext &ctx, const AMDGPUSubtarget &ST);
28 /// \brief Lower a MachineInstr to an MCInst
29 void lower(const MachineInstr *MI, MCInst &OutMI) const;
33 } // End namespace llvm