brintos

brintos / llvm-project-archived public Read only

0
0
Text · 873 B · 165215c Raw
28 lines · cpp
1//===-- HexagonAttributes.cpp - 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-exception6//7//===----------------------------------------------------------------------===//8 9#include "llvm/Support/HexagonAttributes.h"10 11using namespace llvm;12using namespace llvm::HexagonAttrs;13 14static constexpr TagNameItem TagData[] = {15    {ARCH, "Tag_arch"},16    {HVXARCH, "Tag_hvx_arch"},17    {HVXIEEEFP, "Tag_hvx_ieeefp"},18    {HVXQFLOAT, "Tag_hvx_qfloat"},19    {ZREG, "Tag_zreg"},20    {AUDIO, "Tag_audio"},21    {CABAC, "Tag_cabac"},22};23 24constexpr TagNameMap HexagonAttributeTags{TagData};25const TagNameMap &llvm::HexagonAttrs::getHexagonAttributeTags() {26  return HexagonAttributeTags;27}28