Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/runtime/compiler/il/ILProps.hpp
6000 views
1
/*******************************************************************************
2
* Copyright (c) 2000, 2021 IBM Corp. and others
3
*
4
* This program and the accompanying materials are made available under
5
* the terms of the Eclipse Public License 2.0 which accompanies this
6
* distribution and is available at https://www.eclipse.org/legal/epl-2.0/
7
* or the Apache License, Version 2.0 which accompanies this distribution and
8
* is available at https://www.apache.org/licenses/LICENSE-2.0.
9
*
10
* This Source Code may also be made available under the following
11
* Secondary Licenses when the conditions for such availability set
12
* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
13
* General Public License, version 2 with the GNU Classpath
14
* Exception [1] and GNU General Public License, version 2 with the
15
* OpenJDK Assembly Exception [2].
16
*
17
* [1] https://www.gnu.org/software/classpath/license.html
18
* [2] http://openjdk.java.net/legal/assembly-exception.html
19
*
20
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
21
*******************************************************************************/
22
23
#ifndef J9_ILPROPS_INCL
24
#define J9_ILPROPS_INCL
25
26
#include "il/OMRILProps.hpp"
27
28
namespace ILTypeProp
29
{
30
/**
31
* Expands on the Type properties from the OMR layer.
32
*/
33
enum
34
{
35
// Available = LastOMRILTypeProp << 1,
36
PackedDecimal = LastOMRILTypeProp << 2,
37
UnicodeDecimal = LastOMRILTypeProp << 3,
38
UnicodeDecimalSignLeading = LastOMRILTypeProp << 4,
39
UnicodeDecimalSignTrailing = LastOMRILTypeProp << 5,
40
ZonedDecimal = LastOMRILTypeProp << 6,
41
ZonedDecimalSignLeadingEmbedded = LastOMRILTypeProp << 7,
42
ZonedDecimalSignLeadingSeparate = LastOMRILTypeProp << 8,
43
ZonedDecimalSignTrailingSeparate = LastOMRILTypeProp << 9,
44
};
45
46
}
47
48
// Property flags for property word 4
49
namespace ILProp4
50
{
51
enum
52
{
53
// Available = 0x00000001,
54
SetSign = 0x00000002,
55
SetSignOnNode = 0x00000004, ///< the setSign value is tracked in a field on the node vs as a child (SetSign has the setSign value in a child)
56
ModifyPrecision = 0x00000008,
57
BinaryCodedDecimalOp = 0x00000010,
58
ConversionHasFraction = 0x00000020,
59
// Available = 0x00000040,
60
PackedArithmeticOverflowMessage = 0x00000080,
61
// Available = 0x00000100,
62
CanHaveStorageReferenceHint = 0x00000200,
63
CanHavePaddingAddress = 0x00000400,
64
CanUseStoreAsAnAccumulator = 0x00000800,
65
TrackLineNo = 0x00001000, ///< Indicates if the node's line number should be retained when the node is commoned
66
// Available = 0x00002000,
67
// Available = 0x00004000,
68
// Available = 0x00008000,
69
// Available = 0x00010000,
70
// Available = 0x00020000,
71
// Available = 0x00040000,
72
// Available = 0x00080000,
73
// Available = 0x00100000,
74
// Available = 0x00200000,
75
// Available = 0x00400000,
76
// Available = 0x00800000,
77
// Available = 0x01000000,
78
// Available = 0x02000000,
79
// Available = 0x04000000,
80
// Available = 0x08000000,
81
// Available = 0x10000000,
82
// Available = 0x20000000,
83
// Available = 0x40000000,
84
// Available = 0x80000000,
85
};
86
}
87
88
#endif
89
90
91