Home | History | Annotate | Download | only in radeon
      1 //===- 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 //===----------------------------------------------------------------------===//
      9 
     10 #ifndef AMDGPU_MCINSTLOWER_H
     11 #define AMDGPU_MCINSTLOWER_H
     12 
     13 namespace llvm {
     14 
     15 class MCInst;
     16 class MachineInstr;
     17 
     18 class AMDGPUMCInstLower {
     19 
     20 public:
     21   AMDGPUMCInstLower();
     22 
     23   /// lower - Lower a MachineInstr to an MCInst
     24   void lower(const MachineInstr *MI, MCInst &OutMI) const;
     25 
     26 };
     27 
     28 } // End namespace llvm
     29 
     30 #endif //AMDGPU_MCINSTLOWER_H
     31