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