| 1 | //===-- AVRSelectionDAGInfo.h - AVR SelectionDAG Info -----------*- 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 defines the AVR subclass for SelectionDAGTargetInfo. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #ifndef LLVM_AVR_SELECTION_DAG_INFO_H |
| 14 | #define LLVM_AVR_SELECTION_DAG_INFO_H |
| 15 | |
| 16 | #include "llvm/CodeGen/SelectionDAGTargetInfo.h" |
| 17 | |
| 18 | #define GET_SDNODE_ENUM |
| 19 | #include "AVRGenSDNodeInfo.inc" |
| 20 | |
| 21 | namespace llvm { |
| 22 | |
| 23 | /// Holds information about the AVR instruction selection DAG. |
| 24 | class AVRSelectionDAGInfo : public SelectionDAGGenTargetInfo { |
| 25 | public: |
| 26 | AVRSelectionDAGInfo(); |
| 27 | |
| 28 | ~AVRSelectionDAGInfo() override; |
| 29 | }; |
| 30 | |
| 31 | } // end namespace llvm |
| 32 | |
| 33 | #endif // LLVM_AVR_SELECTION_DAG_INFO_H |
| 34 | |