xref: /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXInstrInfo.h (revision 9f23cbd6cae82fd77edfad7173432fa8dccd0a95)
1 //===-- DirectXInstrInfo.h - Define InstrInfo for DirectX -------*- 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 TargetInstrInfo.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_DIRECTX_DIRECTXINSTRINFO_H
14 #define LLVM_DIRECTX_DIRECTXINSTRINFO_H
15 
16 #include "DirectXRegisterInfo.h"
17 #include "llvm/CodeGen/TargetInstrInfo.h"
18 
19 #define GET_INSTRINFO_HEADER
20 #include "DirectXGenInstrInfo.inc"
21 
22 namespace llvm {
23 struct DirectXInstrInfo : public DirectXGenInstrInfo {
24   explicit DirectXInstrInfo() : DirectXGenInstrInfo() {}
25 
26   ~DirectXInstrInfo() override;
27 };
28 } // namespace llvm
29 
30 #endif // LLVM_DIRECTX_DIRECTXINSTRINFO_H
31