LLVM 22.0.0git
CSKYAttributes.h
Go to the documentation of this file.
1//===---- CSKYAttributes.h - CSKY Attributes --------------------*- C++ -*-===//
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// This file contains enumerations for CSKY attributes.
10//
11//===----------------------------------------------------------------------===//
12#ifndef LLVM_SUPPORT_CSKYATTRIBUTES_H
13#define LLVM_SUPPORT_CSKYATTRIBUTES_H
14
17
18namespace llvm {
19namespace CSKYAttrs {
20
22
37};
38
40 V2_ISA_E1 = 1 << 1,
41 V2_ISA_1E2 = 1 << 2,
42 V2_ISA_2E3 = 1 << 3,
43 V2_ISA_3E7 = 1 << 4,
44 V2_ISA_7E10 = 1 << 5,
45 V2_ISA_3E3R1 = 1 << 6,
46 V2_ISA_3E3R2 = 1 << 7,
47 V2_ISA_10E60 = 1 << 8,
48 V2_ISA_3E3R3 = 1 << 9,
49 ISA_TRUST = 1 << 11,
50 ISA_CACHE = 1 << 12,
51 ISA_NVIC = 1 << 13,
52 ISA_CP = 1 << 14,
53 ISA_MP = 1 << 15,
54 ISA_MP_1E2 = 1 << 16,
55 ISA_JAVA = 1 << 17,
56 ISA_MAC = 1 << 18,
57 ISA_MAC_DSP = 1 << 19,
58 ISA_DSP = 1 << 20,
59 ISA_DSP_1E2 = 1 << 21,
60 ISA_DSP_ENHANCE = 1 << 22,
61 ISA_DSP_SILAN = 1 << 23,
62 ISA_VDSP = 1 << 24,
63 ISA_VDSP_2 = 1 << 25,
64 ISA_VDSP_2E3 = 1 << 26,
65 V2_ISA_DSPE60 = 1 << 27,
66 ISA_VDSP_2E60F = 1 << 28
67};
68
70 ISA_FLOAT_E1 = 1 << 0,
71 ISA_FLOAT_1E2 = 1 << 1,
72 ISA_FLOAT_1E3 = 1 << 2,
73 ISA_FLOAT_3E4 = 1 << 3,
74 ISA_FLOAT_7E60 = 1 << 4
75};
76
77enum { NONE = 0, NEEDED = 1 };
78
80
82
84
86
91};
92
93} // namespace CSKYAttrs
94} // namespace llvm
95
96#endif
#define LLVM_ABI
Definition: Compiler.h:213
LLVM_ABI const TagNameMap & getCSKYAttributeTags()
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18