xref: /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXTargetLowering.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 //===-- DirectXTargetLowering.h - Define DX TargetLowering  -----*- C++ -*-===//
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 // This file declares the DirectX specific subclass of TargetLowering.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_DIRECTX_DIRECTXTARGETLOWERING_H
14 #define LLVM_DIRECTX_DIRECTXTARGETLOWERING_H
15 
16 #include "llvm/CodeGen/TargetLowering.h"
17 
18 namespace llvm {
19 
20 class DirectXSubtarget;
21 class DirectXTargetMachine;
22 
23 class DirectXTargetLowering : public TargetLowering {
24 public:
25   explicit DirectXTargetLowering(const DirectXTargetMachine &TM,
26                                  const DirectXSubtarget &STI);
27 };
28 
29 } // end namespace llvm
30 
31 #endif // LLVM_DIRECTX_DIRECTXTARGETLOWERING_H
32