1 //===- AMDGPULegalizerInfo ---------------------------------------*- 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.
8 //===----------------------------------------------------------------------===//
10 /// This file declares the targeting of the Machinelegalizer class for
12 /// \todo This should be generated by TableGen.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUMACHINELEGALIZER_H
16 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUMACHINELEGALIZER_H
18 #include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
22 class GCNTargetMachine
;
26 /// This class provides the information for the target register banks.
27 class AMDGPULegalizerInfo
: public LegalizerInfo
{
29 AMDGPULegalizerInfo(const GCNSubtarget
&ST
,
30 const GCNTargetMachine
&TM
);
32 } // End llvm namespace.