LLVM  16.0.0git
DirectXSubtarget.cpp
Go to the documentation of this file.
1 //===-- DirectXSubtarget.cpp - DirectX Subtarget Information --------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 ///
9 /// \file
10 /// This file implements the DirectX-specific subclass of TargetSubtarget.
11 ///
12 //===----------------------------------------------------------------------===//
13 
14 #include "DirectXSubtarget.h"
15 #include "DirectXTargetLowering.h"
16 
17 using namespace llvm;
18 
19 #define DEBUG_TYPE "directx-subtarget"
20 
21 #define GET_SUBTARGETINFO_CTOR
22 #define GET_SUBTARGETINFO_TARGET_DESC
23 #include "DirectXGenSubtargetInfo.inc"
24 
27  : DirectXGenSubtargetInfo(TT, CPU, CPU, FS), FL(*this), TL(TM, *this) {}
28 
29 void DirectXSubtarget::anchor() {}
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
llvm::DirectXTargetMachine
Definition: DirectXTargetMachine.h:19
llvm::Triple
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:44
llvm::DirectXSubtarget::DirectXSubtarget
DirectXSubtarget(const Triple &TT, StringRef CPU, StringRef FS, const DirectXTargetMachine &TM)
Definition: DirectXSubtarget.cpp:25
llvm::X86AS::FS
@ FS
Definition: X86.h:200
DirectXTargetLowering.h
DirectXGenSubtargetInfo
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:50
this
Analysis the ScalarEvolution expression for r is this
Definition: README.txt:8
TM
const char LLVMTargetMachineRef TM
Definition: PassBuilderBindings.cpp:47
DirectXSubtarget.h