OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 // Class for intrinsifying functions. | 4 // Class for intrinsifying functions. |
5 | 5 |
6 #ifndef VM_INTRINSIFIER_H_ | 6 #ifndef VM_INTRINSIFIER_H_ |
7 #define VM_INTRINSIFIER_H_ | 7 #define VM_INTRINSIFIER_H_ |
8 | 8 |
9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
10 | 10 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 V(_Uint8ClampedArray, _new, TypedData_Uint8ClampedArray_new, 568753997) \ | 112 V(_Uint8ClampedArray, _new, TypedData_Uint8ClampedArray_new, 568753997) \ |
113 V(_Int16Array, _new, TypedData_Int16Array_new, 82856584) \ | 113 V(_Int16Array, _new, TypedData_Int16Array_new, 82856584) \ |
114 V(_Uint16Array, _new, TypedData_Uint16Array_new, 1061515393) \ | 114 V(_Uint16Array, _new, TypedData_Uint16Array_new, 1061515393) \ |
115 V(_Int32Array, _new, TypedData_Int32Array_new, 2011561738) \ | 115 V(_Int32Array, _new, TypedData_Int32Array_new, 2011561738) \ |
116 V(_Uint32Array, _new, TypedData_Uint32Array_new, 601429759) \ | 116 V(_Uint32Array, _new, TypedData_Uint32Array_new, 601429759) \ |
117 V(_Int64Array, _new, TypedData_Int64Array_new, 682666769) \ | 117 V(_Int64Array, _new, TypedData_Int64Array_new, 682666769) \ |
118 V(_Uint64Array, _new, TypedData_Uint64Array_new, 388094865) \ | 118 V(_Uint64Array, _new, TypedData_Uint64Array_new, 388094865) \ |
119 V(_Float32Array, _new, TypedData_Float32Array_new, 1931183334) \ | 119 V(_Float32Array, _new, TypedData_Float32Array_new, 1931183334) \ |
120 V(_Float64Array, _new, TypedData_Float64Array_new, 2119419798) \ | 120 V(_Float64Array, _new, TypedData_Float64Array_new, 2119419798) \ |
121 V(_Float32x4Array, _new, TypedData_Float32x4Array_new, 435301615) \ | 121 V(_Float32x4Array, _new, TypedData_Float32x4Array_new, 435301615) \ |
122 V(_Uint32x4Array, _new, TypedData_Uint32x4Array_new, 71945244) \ | 122 V(_Int32x4Array, _new, TypedData_Int32x4Array_new, 1734048395) \ |
123 V(_Int8Array, ., TypedData_Int8Array_factory, 810750844) \ | 123 V(_Int8Array, ., TypedData_Int8Array_factory, 810750844) \ |
124 V(_Uint8Array, ., TypedData_Uint8Array_factory, 1246070930) \ | 124 V(_Uint8Array, ., TypedData_Uint8Array_factory, 1246070930) \ |
125 V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1882603960) \ | 125 V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1882603960) \ |
126 V(_Int16Array, ., TypedData_Int16Array_factory, 565702275) \ | 126 V(_Int16Array, ., TypedData_Int16Array_factory, 565702275) \ |
127 V(_Uint16Array, ., TypedData_Uint16Array_factory, 745756560) \ | 127 V(_Uint16Array, ., TypedData_Uint16Array_factory, 745756560) \ |
128 V(_Int32Array, ., TypedData_Int32Array_factory, 2141385820) \ | 128 V(_Int32Array, ., TypedData_Int32Array_factory, 2141385820) \ |
129 V(_Uint32Array, ., TypedData_Uint32Array_factory, 2076467298) \ | 129 V(_Uint32Array, ., TypedData_Uint32Array_factory, 2076467298) \ |
130 V(_Int64Array, ., TypedData_Int64Array_factory, 1223523117) \ | 130 V(_Int64Array, ., TypedData_Int64Array_factory, 1223523117) \ |
131 V(_Uint64Array, ., TypedData_Uint64Array_factory, 1032112679) \ | 131 V(_Uint64Array, ., TypedData_Uint64Array_factory, 1032112679) \ |
132 V(_Float32Array, ., TypedData_Float32Array_factory, 1986018007) \ | 132 V(_Float32Array, ., TypedData_Float32Array_factory, 1986018007) \ |
133 V(_Float64Array, ., TypedData_Float64Array_factory, 1863852388) \ | 133 V(_Float64Array, ., TypedData_Float64Array_factory, 1863852388) \ |
134 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 1144749257) \ | 134 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 1144749257) \ |
135 V(_Uint32x4Array, ., TypedData_Uint32x4Array_factory, 966782236) \ | 135 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 1189356537) \ |
136 | 136 |
137 | 137 |
138 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and | 138 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and |
139 // _FixedSizeArrayIterator, moveNext. | 139 // _FixedSizeArrayIterator, moveNext. |
140 | 140 |
141 // Forward declarations. | 141 // Forward declarations. |
142 class Assembler; | 142 class Assembler; |
143 class Function; | 143 class Function; |
144 | 144 |
145 class Intrinsifier : public AllStatic { | 145 class Intrinsifier : public AllStatic { |
(...skipping 13 matching lines...) Expand all Loading... |
159 CORE_INTEGER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 159 CORE_INTEGER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
160 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 160 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
161 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 161 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
162 | 162 |
163 #undef DECLARE_FUNCTION | 163 #undef DECLARE_FUNCTION |
164 }; | 164 }; |
165 | 165 |
166 } // namespace dart | 166 } // namespace dart |
167 | 167 |
168 #endif // VM_INTRINSIFIER_H_ | 168 #endif // VM_INTRINSIFIER_H_ |
OLD | NEW |