LLVM 20.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
16
17namespace llvm {
18namespace CSKYAttrs {
19
21
36};
37
39 V2_ISA_E1 = 1 << 1,
40 V2_ISA_1E2 = 1 << 2,
41 V2_ISA_2E3 = 1 << 3,
42 V2_ISA_3E7 = 1 << 4,
43 V2_ISA_7E10 = 1 << 5,
44 V2_ISA_3E3R1 = 1 << 6,
45 V2_ISA_3E3R2 = 1 << 7,
46 V2_ISA_10E60 = 1 << 8,
47 V2_ISA_3E3R3 = 1 << 9,
48 ISA_TRUST = 1 << 11,
49 ISA_CACHE = 1 << 12,
50 ISA_NVIC = 1 << 13,
51 ISA_CP = 1 << 14,
52 ISA_MP = 1 << 15,
53 ISA_MP_1E2 = 1 << 16,
54 ISA_JAVA = 1 << 17,
55 ISA_MAC = 1 << 18,
56 ISA_MAC_DSP = 1 << 19,
57 ISA_DSP = 1 << 20,
58 ISA_DSP_1E2 = 1 << 21,
59 ISA_DSP_ENHANCE = 1 << 22,
60 ISA_DSP_SILAN = 1 << 23,
61 ISA_VDSP = 1 << 24,
62 ISA_VDSP_2 = 1 << 25,
63 ISA_VDSP_2E3 = 1 << 26,
64 V2_ISA_DSPE60 = 1 << 27,
65 ISA_VDSP_2E60F = 1 << 28
66};
67
69 ISA_FLOAT_E1 = 1 << 0,
70 ISA_FLOAT_1E2 = 1 << 1,
71 ISA_FLOAT_1E3 = 1 << 2,
72 ISA_FLOAT_3E4 = 1 << 3,
73 ISA_FLOAT_7E60 = 1 << 4
74};
75
76enum { NONE = 0, NEEDED = 1 };
77
79
81
83
85
90};
91
92} // namespace CSKYAttrs
93} // namespace llvm
94
95#endif
const TagNameMap & getCSKYAttributeTags()
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18