author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 11 Aug 2016 09:12:17 +0100 | |
changeset 73 | 466c492b0062 |
parent 14 | c7dea3fcc5a7 |
permissions | -rw-r--r-- |
14
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
1 |
" |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
2 |
Copyright (C) 2015-now Jan Vrany |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
3 |
|
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
4 |
This code is not an open-source (yet). You may use this code |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
5 |
for your own experiments and projects, given that: |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
6 |
|
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
7 |
* all modification to the code will be sent to the |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
8 |
original author for inclusion in future releases |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
9 |
* this is not used in any commercial software |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
10 |
|
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
11 |
This license is provisional and may (will) change in |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
12 |
a future. |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
13 |
" |
12
f98e97fd02ef
Package renamed from jv:libllvms to jv:llvm_s
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1
diff
changeset
|
14 |
"{ Package: 'jv:llvm_s' }" |
0 | 15 |
|
16 |
"{ NameSpace: Smalltalk }" |
|
17 |
||
18 |
SharedPool subclass:#LLVMTypeKind |
|
19 |
instanceVariableNames:'' |
|
20 |
classVariableNames:'LLVMVoidTypeKind LLVMHalfTypeKind LLVMFloatTypeKind |
|
21 |
LLVMDoubleTypeKind LLVMX86_FP80TypeKind LLVMFP128TypeKind |
|
22 |
LLVMPPC_FP128TypeKind LLVMLabelTypeKind LLVMIntegerTypeKind |
|
23 |
LLVMFunctionTypeKind LLVMStructTypeKind LLVMArrayTypeKind |
|
24 |
LLVMPointerTypeKind LLVMVectorTypeKind LLVMMetadataTypeKind |
|
25 |
LLVMX86_MMXTypeKind' |
|
26 |
poolDictionaries:'' |
|
13
fa967c0e1827
Renamed class categories to begin with LLVM-S
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12
diff
changeset
|
27 |
category:'LLVM-S-Core-Constants' |
0 | 28 |
! |
29 |
||
14
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
30 |
!LLVMTypeKind class methodsFor:'documentation'! |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
31 |
|
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
32 |
copyright |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
33 |
" |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
34 |
Copyright (C) 2015-now Jan Vrany |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
35 |
|
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
36 |
This code is not an open-source (yet). You may use this code |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
37 |
for your own experiments and projects, given that: |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
38 |
|
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
39 |
* all modification to the code will be sent to the |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
40 |
original author for inclusion in future releases |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
41 |
* this is not used in any commercial software |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
42 |
|
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
43 |
This license is provisional and may (will) change in |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
44 |
a future. |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
45 |
" |
c7dea3fcc5a7
Added short README, license.txt and updated copyright information
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
46 |
! ! |
1
e3dcb6272f0b
Introduced abstract superclasses LLVMObject and LLVMDisposableObject
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
0
diff
changeset
|
47 |
|
0 | 48 |
!LLVMTypeKind class methodsFor:'initialization'! |
49 |
||
50 |
initialize |
|
51 |
||
52 |
LLVMVoidTypeKind := 0. |
|
53 |
LLVMHalfTypeKind := 1. |
|
54 |
LLVMFloatTypeKind := 2. |
|
55 |
LLVMDoubleTypeKind := 3. |
|
56 |
LLVMX86_FP80TypeKind := 4. |
|
57 |
LLVMFP128TypeKind := 5. |
|
58 |
LLVMPPC_FP128TypeKind := 6. |
|
59 |
LLVMLabelTypeKind := 7. |
|
60 |
LLVMIntegerTypeKind := 8. |
|
61 |
LLVMFunctionTypeKind := 9. |
|
62 |
LLVMStructTypeKind := 10. |
|
63 |
LLVMArrayTypeKind := 11. |
|
64 |
LLVMPointerTypeKind := 12. |
|
65 |
LLVMVectorTypeKind := 13. |
|
66 |
LLVMMetadataTypeKind := 14. |
|
67 |
LLVMX86_MMXTypeKind := 15. |
|
68 |
! ! |
|
69 |
||
70 |
!LLVMTypeKind class methodsFor:'constants'! |
|
71 |
||
72 |
LLVMArrayTypeKind |
|
73 |
||
74 |
^LLVMArrayTypeKind |
|
75 |
! |
|
76 |
||
77 |
LLVMDoubleTypeKind |
|
78 |
||
79 |
^LLVMDoubleTypeKind |
|
80 |
! |
|
81 |
||
82 |
LLVMFP128TypeKind |
|
83 |
||
84 |
^LLVMFP128TypeKind |
|
85 |
! |
|
86 |
||
87 |
LLVMFloatTypeKind |
|
88 |
||
89 |
^LLVMFloatTypeKind |
|
90 |
! |
|
91 |
||
92 |
LLVMFunctionTypeKind |
|
93 |
||
94 |
^LLVMFunctionTypeKind |
|
95 |
! |
|
96 |
||
97 |
LLVMHalfTypeKind |
|
98 |
||
99 |
^LLVMHalfTypeKind |
|
100 |
! |
|
101 |
||
102 |
LLVMIntegerTypeKind |
|
103 |
||
104 |
^LLVMIntegerTypeKind |
|
105 |
! |
|
106 |
||
107 |
LLVMLabelTypeKind |
|
108 |
||
109 |
^LLVMLabelTypeKind |
|
110 |
! |
|
111 |
||
112 |
LLVMMetadataTypeKind |
|
113 |
||
114 |
^LLVMMetadataTypeKind |
|
115 |
! |
|
116 |
||
117 |
LLVMPPC_FP128TypeKind |
|
118 |
||
119 |
^LLVMPPC_FP128TypeKind |
|
120 |
! |
|
121 |
||
122 |
LLVMPointerTypeKind |
|
123 |
||
124 |
^LLVMPointerTypeKind |
|
125 |
! |
|
126 |
||
127 |
LLVMStructTypeKind |
|
128 |
||
129 |
^LLVMStructTypeKind |
|
130 |
! |
|
131 |
||
132 |
LLVMVectorTypeKind |
|
133 |
||
134 |
^LLVMVectorTypeKind |
|
135 |
! |
|
136 |
||
137 |
LLVMVoidTypeKind |
|
138 |
||
139 |
^LLVMVoidTypeKind |
|
140 |
! |
|
141 |
||
142 |
LLVMX86_FP80TypeKind |
|
143 |
||
144 |
^LLVMX86_FP80TypeKind |
|
145 |
! |
|
146 |
||
147 |
LLVMX86_MMXTypeKind |
|
148 |
||
149 |
^LLVMX86_MMXTypeKind |
|
150 |
! ! |
|
151 |
||
152 |
||
153 |
LLVMTypeKind initialize! |