]>
Commit | Line | Data |
---|---|---|
970d7e83 LB |
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 | /// \file | |
9 | //===----------------------------------------------------------------------===// | |
10 | ||
1a4d82fc JJ |
11 | #ifndef LLVM_LIB_TARGET_R600_AMDGPUMCINSTLOWER_H |
12 | #define LLVM_LIB_TARGET_R600_AMDGPUMCINSTLOWER_H | |
970d7e83 LB |
13 | |
14 | namespace llvm { | |
15 | ||
1a4d82fc | 16 | class AMDGPUSubtarget; |
970d7e83 | 17 | class MachineInstr; |
1a4d82fc JJ |
18 | class MCContext; |
19 | class MCInst; | |
970d7e83 LB |
20 | |
21 | class AMDGPUMCInstLower { | |
970d7e83 | 22 | MCContext &Ctx; |
1a4d82fc JJ |
23 | const AMDGPUSubtarget &ST; |
24 | ||
970d7e83 | 25 | public: |
1a4d82fc | 26 | AMDGPUMCInstLower(MCContext &ctx, const AMDGPUSubtarget &ST); |
970d7e83 LB |
27 | |
28 | /// \brief Lower a MachineInstr to an MCInst | |
29 | void lower(const MachineInstr *MI, MCInst &OutMI) const; | |
30 | ||
31 | }; | |
32 | ||
33 | } // End namespace llvm | |
34 | ||
1a4d82fc | 35 | #endif |