Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame^] | 1 | //=- WebAssemblySelectionDAGInfo.h - WebAssembly SelectionDAG Info -*- C++ -*-// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | /// |
| 10 | /// \file |
| 11 | /// \brief This file defines the WebAssembly subclass for |
| 12 | /// TargetSelectionDAGInfo. |
| 13 | /// |
| 14 | //===----------------------------------------------------------------------===// |
| 15 | |
| 16 | #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYSELECTIONDAGINFO_H |
| 17 | #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYSELECTIONDAGINFO_H |
| 18 | |
| 19 | #include "llvm/Target/TargetSelectionDAGInfo.h" |
| 20 | |
| 21 | namespace llvm { |
| 22 | |
| 23 | class WebAssemblySelectionDAGInfo final : public TargetSelectionDAGInfo { |
| 24 | public: |
| 25 | explicit WebAssemblySelectionDAGInfo(const DataLayout *DL); |
| 26 | ~WebAssemblySelectionDAGInfo() override; |
| 27 | }; |
| 28 | |
| 29 | } // end namespace llvm |
| 30 | |
| 31 | #endif |