LLVM  3.7.0
AMDGPUMCInstLower.h
Go to the documentation of this file.
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 
11 #ifndef LLVM_LIB_TARGET_R600_AMDGPUMCINSTLOWER_H
12 #define LLVM_LIB_TARGET_R600_AMDGPUMCINSTLOWER_H
13 
14 namespace llvm {
15 
16 class AMDGPUSubtarget;
17 class MachineInstr;
18 class MCContext;
19 class MCInst;
20 
22  MCContext &Ctx;
23  const AMDGPUSubtarget &ST;
24 
25 public:
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 
35 #endif
AMDGPUMCInstLower(MCContext &ctx, const AMDGPUSubtarget &ST)
Context object for machine code objects.
Definition: MCContext.h:48
Instances of this class represent a single low-level machine instruction.
Definition: MCInst.h:150
Representation of each machine instruction.
Definition: MachineInstr.h:51
void lower(const MachineInstr *MI, MCInst &OutMI) const
Lower a MachineInstr to an MCInst.