xref: /openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DirectXSubtarget.cpp (revision d415bd752c734aee168c4ee86ff32e8cc249eb16)
1*d415bd75Srobert //===-- DirectXSubtarget.cpp - DirectX Subtarget Information --------------===//
2*d415bd75Srobert //
3*d415bd75Srobert // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*d415bd75Srobert // See https://llvm.org/LICENSE.txt for license information.
5*d415bd75Srobert // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*d415bd75Srobert //
7*d415bd75Srobert //===----------------------------------------------------------------------===//
8*d415bd75Srobert ///
9*d415bd75Srobert /// \file
10*d415bd75Srobert /// This file implements the DirectX-specific subclass of TargetSubtarget.
11*d415bd75Srobert ///
12*d415bd75Srobert //===----------------------------------------------------------------------===//
13*d415bd75Srobert 
14*d415bd75Srobert #include "DirectXSubtarget.h"
15*d415bd75Srobert #include "DirectXTargetLowering.h"
16*d415bd75Srobert 
17*d415bd75Srobert using namespace llvm;
18*d415bd75Srobert 
19*d415bd75Srobert #define DEBUG_TYPE "directx-subtarget"
20*d415bd75Srobert 
21*d415bd75Srobert #define GET_SUBTARGETINFO_CTOR
22*d415bd75Srobert #define GET_SUBTARGETINFO_TARGET_DESC
23*d415bd75Srobert #include "DirectXGenSubtargetInfo.inc"
24*d415bd75Srobert 
DirectXSubtarget(const Triple & TT,StringRef CPU,StringRef FS,const DirectXTargetMachine & TM)25*d415bd75Srobert DirectXSubtarget::DirectXSubtarget(const Triple &TT, StringRef CPU,
26*d415bd75Srobert                                    StringRef FS, const DirectXTargetMachine &TM)
27*d415bd75Srobert     : DirectXGenSubtargetInfo(TT, CPU, CPU, FS), FL(*this), TL(TM, *this) {}
28*d415bd75Srobert 
anchor()29*d415bd75Srobert void DirectXSubtarget::anchor() {}
30