Path: blob/main/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXSubtarget.cpp
35266 views
//===-- DirectXSubtarget.cpp - DirectX Subtarget Information --------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7///8/// \file9/// This file implements the DirectX-specific subclass of TargetSubtarget.10///11//===----------------------------------------------------------------------===//1213#include "DirectXSubtarget.h"14#include "DirectXTargetLowering.h"1516using namespace llvm;1718#define DEBUG_TYPE "directx-subtarget"1920#define GET_SUBTARGETINFO_CTOR21#define GET_SUBTARGETINFO_TARGET_DESC22#include "DirectXGenSubtargetInfo.inc"2324DirectXSubtarget::DirectXSubtarget(const Triple &TT, StringRef CPU,25StringRef FS, const DirectXTargetMachine &TM)26: DirectXGenSubtargetInfo(TT, CPU, CPU, FS), FL(*this), TL(TM, *this) {}2728void DirectXSubtarget::anchor() {}293031