xref: /llvm-project/llvm/lib/Target/DirectX/DirectXSubtarget.cpp (revision 2af61e620eeae6d248c37eee096200016bc102f9)
144a14a6aSChris Bieneman //===-- DirectXSubtarget.cpp - DirectX Subtarget Information --------------===//
244a14a6aSChris Bieneman //
344a14a6aSChris Bieneman // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
444a14a6aSChris Bieneman // See https://llvm.org/LICENSE.txt for license information.
544a14a6aSChris Bieneman // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
644a14a6aSChris Bieneman //
744a14a6aSChris Bieneman //===----------------------------------------------------------------------===//
844a14a6aSChris Bieneman ///
944a14a6aSChris Bieneman /// \file
1044a14a6aSChris Bieneman /// This file implements the DirectX-specific subclass of TargetSubtarget.
1144a14a6aSChris Bieneman ///
1244a14a6aSChris Bieneman //===----------------------------------------------------------------------===//
1344a14a6aSChris Bieneman 
1444a14a6aSChris Bieneman #include "DirectXSubtarget.h"
1544a14a6aSChris Bieneman #include "DirectXTargetLowering.h"
1644a14a6aSChris Bieneman 
1744a14a6aSChris Bieneman using namespace llvm;
1844a14a6aSChris Bieneman 
1944a14a6aSChris Bieneman #define DEBUG_TYPE "directx-subtarget"
2044a14a6aSChris Bieneman 
2144a14a6aSChris Bieneman #define GET_SUBTARGETINFO_CTOR
2244a14a6aSChris Bieneman #define GET_SUBTARGETINFO_TARGET_DESC
2344a14a6aSChris Bieneman #include "DirectXGenSubtargetInfo.inc"
2444a14a6aSChris Bieneman 
DirectXSubtarget(const Triple & TT,StringRef CPU,StringRef FS,const DirectXTargetMachine & TM)2544a14a6aSChris Bieneman DirectXSubtarget::DirectXSubtarget(const Triple &TT, StringRef CPU,
2644a14a6aSChris Bieneman                                    StringRef FS, const DirectXTargetMachine &TM)
27*2af61e62SChris Bieneman     : DirectXGenSubtargetInfo(TT, CPU, CPU, FS), FL(*this), TL(TM, *this) {}
28*2af61e62SChris Bieneman 
anchor()29*2af61e62SChris Bieneman void DirectXSubtarget::anchor() {}
30