diff options
Diffstat (limited to 'llvm/lib/Target/NVPTX/NVPTXSelectionDAGInfo.h')
| -rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXSelectionDAGInfo.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXSelectionDAGInfo.h b/llvm/lib/Target/NVPTX/NVPTXSelectionDAGInfo.h new file mode 100644 index 000000000000..9d69f48026c7 --- /dev/null +++ b/llvm/lib/Target/NVPTX/NVPTXSelectionDAGInfo.h @@ -0,0 +1,25 @@ +//===----------------------------------------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_LIB_TARGET_NVPTX_NVPTXSELECTIONDAGINFO_H +#define LLVM_LIB_TARGET_NVPTX_NVPTXSELECTIONDAGINFO_H + +#include "llvm/CodeGen/SelectionDAGTargetInfo.h" + +namespace llvm { + +class NVPTXSelectionDAGInfo : public SelectionDAGTargetInfo { +public: + ~NVPTXSelectionDAGInfo() override; + + bool isTargetMemoryOpcode(unsigned Opcode) const override; +}; + +} // namespace llvm + +#endif // LLVM_LIB_TARGET_NVPTX_NVPTXSELECTIONDAGINFO_H |
