xref: /freebsd/contrib/llvm-project/llvm/include/llvm/Support/HexagonAttributes.h (revision 700637cbb5e582861067a11aaca4d053546871d2)
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/Compiler.h"
13 #include "llvm/Support/ELFAttributes.h"
14 
15 namespace llvm {
16 namespace HexagonAttrs {
17 
18 LLVM_ABI const TagNameMap &getHexagonAttributeTags();
19 
20 enum AttrType : unsigned {
21   ARCH = 4,
22   HVXARCH = 5,
23   HVXIEEEFP = 6,
24   HVXQFLOAT = 7,
25   ZREG = 8,
26   AUDIO = 9,
27   CABAC = 10
28 };
29 
30 } // namespace HexagonAttrs
31 } // namespace llvm
32 
33 #endif
34