diff options
Diffstat (limited to 'llvm/lib/Target/DirectX/DirectXTargetLowering.h')
-rw-r--r-- | llvm/lib/Target/DirectX/DirectXTargetLowering.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/llvm/lib/Target/DirectX/DirectXTargetLowering.h b/llvm/lib/Target/DirectX/DirectXTargetLowering.h new file mode 100644 index 000000000000..dc19894ab165 --- /dev/null +++ b/llvm/lib/Target/DirectX/DirectXTargetLowering.h @@ -0,0 +1,31 @@ +//===-- DirectXTargetLowering.h - Define DX TargetLowering -----*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// +// This file declares the DirectX specific subclass of TargetLowering. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_DIRECTX_DIRECTXTARGETLOWERING_H +#define LLVM_DIRECTX_DIRECTXTARGETLOWERING_H + +#include "llvm/CodeGen/TargetLowering.h" + +namespace llvm { + +class DirectXSubtarget; +class DirectXTargetMachine; + +class DirectXTargetLowering : public TargetLowering { +public: + explicit DirectXTargetLowering(const DirectXTargetMachine &TM, + const DirectXSubtarget &STI); +}; + +} // end namespace llvm + +#endif // LLVM_DIRECTX_DIRECTXTARGETLOWERING_H |