LLVM
20.0.0git
lib
Support
CSKYAttributes.cpp
Go to the documentation of this file.
1
//===-- CSKYAttributes.cpp - CSKY 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/CSKYAttributes.h
"
10
11
using namespace
llvm
;
12
using namespace
llvm::CSKYAttrs
;
13
14
static
const
TagNameItem
tagData
[] = {
15
{
CSKY_ARCH_NAME
,
"Tag_CSKY_ARCH_NAME"
},
16
{
CSKY_CPU_NAME
,
"Tag_CSKY_CPU_NAME"
},
17
{
CSKY_CPU_NAME
,
"Tag_CSKY_CPU_NAME"
},
18
{
CSKY_ISA_FLAGS
,
"Tag_CSKY_ISA_FLAGS"
},
19
{
CSKY_ISA_EXT_FLAGS
,
"Tag_CSKY_ISA_EXT_FLAGS"
},
20
{
CSKY_DSP_VERSION
,
"Tag_CSKY_DSP_VERSION"
},
21
{
CSKY_VDSP_VERSION
,
"Tag_CSKY_VDSP_VERSION"
},
22
{
CSKY_FPU_VERSION
,
"Tag_CSKY_FPU_VERSION"
},
23
{
CSKY_FPU_ABI
,
"Tag_CSKY_FPU_ABI"
},
24
{
CSKY_FPU_ROUNDING
,
"Tag_CSKY_FPU_ROUNDING"
},
25
{
CSKY_FPU_DENORMAL
,
"Tag_CSKY_FPU_DENORMAL"
},
26
{
CSKY_FPU_EXCEPTION
,
"Tag_CSKY_FPU_EXCEPTION"
},
27
{
CSKY_FPU_NUMBER_MODULE
,
"Tag_CSKY_FPU_NUMBER_MODULE"
},
28
{
CSKY_FPU_HARDFP
,
"Tag_CSKY_FPU_HARDFP"
}};
29
30
constexpr
TagNameMap
CSKYAttributeTags
{
tagData
};
31
const
TagNameMap
&
llvm::CSKYAttrs::getCSKYAttributeTags
() {
32
return
CSKYAttributeTags
;
33
}
CSKYAttributeTags
constexpr TagNameMap CSKYAttributeTags
Definition:
CSKYAttributes.cpp:30
tagData
static const TagNameItem tagData[]
Definition:
CSKYAttributes.cpp:14
CSKYAttributes.h
CSKY_CPU_NAME
#define CSKY_CPU_NAME(NAME, ARCH_ID, DEFAULT_EXT)
llvm::ArrayRef< TagNameItem >
llvm::CSKYAttrs
Definition:
CSKYAttributes.h:18
llvm::CSKYAttrs::CSKY_ISA_FLAGS
@ CSKY_ISA_FLAGS
Definition:
CSKYAttributes.h:25
llvm::CSKYAttrs::CSKY_FPU_ROUNDING
@ CSKY_FPU_ROUNDING
Definition:
CSKYAttributes.h:31
llvm::CSKYAttrs::CSKY_ISA_EXT_FLAGS
@ CSKY_ISA_EXT_FLAGS
Definition:
CSKYAttributes.h:26
llvm::CSKYAttrs::CSKY_FPU_NUMBER_MODULE
@ CSKY_FPU_NUMBER_MODULE
Definition:
CSKYAttributes.h:34
llvm::CSKYAttrs::CSKY_VDSP_VERSION
@ CSKY_VDSP_VERSION
Definition:
CSKYAttributes.h:28
llvm::CSKYAttrs::CSKY_FPU_HARDFP
@ CSKY_FPU_HARDFP
Definition:
CSKYAttributes.h:35
llvm::CSKYAttrs::CSKY_ARCH_NAME
@ CSKY_ARCH_NAME
Definition:
CSKYAttributes.h:23
llvm::CSKYAttrs::CSKY_FPU_ABI
@ CSKY_FPU_ABI
Definition:
CSKYAttributes.h:30
llvm::CSKYAttrs::CSKY_FPU_DENORMAL
@ CSKY_FPU_DENORMAL
Definition:
CSKYAttributes.h:32
llvm::CSKYAttrs::CSKY_FPU_EXCEPTION
@ CSKY_FPU_EXCEPTION
Definition:
CSKYAttributes.h:33
llvm::CSKYAttrs::CSKY_FPU_VERSION
@ CSKY_FPU_VERSION
Definition:
CSKYAttributes.h:29
llvm::CSKYAttrs::CSKY_DSP_VERSION
@ CSKY_DSP_VERSION
Definition:
CSKYAttributes.h:27
llvm::CSKYAttrs::getCSKYAttributeTags
const TagNameMap & getCSKYAttributeTags()
Definition:
CSKYAttributes.cpp:31
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::TagNameItem
Definition:
ELFAttributes.h:18
Generated on Mon Nov 18 2024 14:04:31 for LLVM by
1.9.6