LLVM
20.0.0git
lib
Support
HexagonAttributes.cpp
Go to the documentation of this file.
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-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#include "
llvm/Support/HexagonAttributes.h
"
10
11
using namespace
llvm
;
12
using namespace
llvm::HexagonAttrs
;
13
14
static
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
24
constexpr
TagNameMap
HexagonAttributeTags
{
TagData
};
25
const
TagNameMap
&
llvm::HexagonAttrs::getHexagonAttributeTags
() {
26
return
HexagonAttributeTags
;
27
}
HexagonAttributeTags
constexpr TagNameMap HexagonAttributeTags
Definition:
HexagonAttributes.cpp:24
TagData
static constexpr TagNameItem TagData[]
Definition:
HexagonAttributes.cpp:14
HexagonAttributes.h
llvm::ArrayRef< TagNameItem >
llvm::HexagonAttrs
Definition:
HexagonAttributes.h:15
llvm::HexagonAttrs::HVXIEEEFP
@ HVXIEEEFP
Definition:
HexagonAttributes.h:22
llvm::HexagonAttrs::ZREG
@ ZREG
Definition:
HexagonAttributes.h:24
llvm::HexagonAttrs::HVXQFLOAT
@ HVXQFLOAT
Definition:
HexagonAttributes.h:23
llvm::HexagonAttrs::CABAC
@ CABAC
Definition:
HexagonAttributes.h:26
llvm::HexagonAttrs::HVXARCH
@ HVXARCH
Definition:
HexagonAttributes.h:21
llvm::HexagonAttrs::ARCH
@ ARCH
Definition:
HexagonAttributes.h:20
llvm::HexagonAttrs::AUDIO
@ AUDIO
Definition:
HexagonAttributes.h:25
llvm::HexagonAttrs::getHexagonAttributeTags
const TagNameMap & getHexagonAttributeTags()
Definition:
HexagonAttributes.cpp:25
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::TagNameItem
Definition:
ELFAttributes.h:18
Generated on Thu Nov 21 2024 02:05:43 for LLVM by
1.9.6