1 | //===-- HexagonAttributes.h - Qualcomm Hexagon Attributes -----------------===// |
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 | #ifndef LLVM_SUPPORT_HEXAGONATTRIBUTES_H |
10 | #define LLVM_SUPPORT_HEXAGONATTRIBUTES_H |
11 | |
12 | #include "llvm/Support/ELFAttributes.h" |
13 | |
14 | namespace llvm { |
15 | namespace HexagonAttrs { |
16 | |
17 | const TagNameMap &getHexagonAttributeTags(); |
18 | |
19 | enum AttrType : unsigned { |
20 | ARCH = 4, |
21 | HVXARCH = 5, |
22 | HVXIEEEFP = 6, |
23 | HVXQFLOAT = 7, |
24 | ZREG = 8, |
25 | AUDIO = 9, |
26 | CABAC = 10 |
27 | }; |
28 | |
29 | } // namespace HexagonAttrs |
30 | } // namespace llvm |
31 | |
32 | #endif |
33 | |