LLVM 20.0.0git
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
10
11using namespace llvm;
12using namespace llvm::CSKYAttrs;
13
14static 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
32 return CSKYAttributeTags;
33}
constexpr TagNameMap CSKYAttributeTags
static const TagNameItem tagData[]
#define CSKY_CPU_NAME(NAME, ARCH_ID, DEFAULT_EXT)
const TagNameMap & getCSKYAttributeTags()
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18