34 lines
813 B
C++
34 lines
813 B
C++
//===-- HexagonAttributes.h - Qualcomm Hexagon Attributes -----------------===//
|
|
//
|
|
// 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_SUPPORT_HEXAGONATTRIBUTES_H
|
|
#define LLVM_SUPPORT_HEXAGONATTRIBUTES_H
|
|
|
|
#include "llvm/Support/Compiler.h"
|
|
#include "llvm/Support/ELFAttributes.h"
|
|
|
|
namespace llvm {
|
|
namespace HexagonAttrs {
|
|
|
|
LLVM_ABI const TagNameMap &getHexagonAttributeTags();
|
|
|
|
enum AttrType : unsigned {
|
|
ARCH = 4,
|
|
HVXARCH = 5,
|
|
HVXIEEEFP = 6,
|
|
HVXQFLOAT = 7,
|
|
ZREG = 8,
|
|
AUDIO = 9,
|
|
CABAC = 10
|
|
};
|
|
|
|
} // namespace HexagonAttrs
|
|
} // namespace llvm
|
|
|
|
#endif
|