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