OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_SIMPLIFIED_OPERATOR_H_ | 5 #ifndef V8_COMPILER_SIMPLIFIED_OPERATOR_H_ |
6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_H_ | 6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/handles.h" | 10 #include "src/handles.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 const Operator* StringToNumber(); | 157 const Operator* StringToNumber(); |
158 | 158 |
159 const Operator* ChangeTaggedToInt32(); | 159 const Operator* ChangeTaggedToInt32(); |
160 const Operator* ChangeTaggedToUint32(); | 160 const Operator* ChangeTaggedToUint32(); |
161 const Operator* ChangeTaggedToFloat64(); | 161 const Operator* ChangeTaggedToFloat64(); |
162 const Operator* ChangeInt32ToTagged(); | 162 const Operator* ChangeInt32ToTagged(); |
163 const Operator* ChangeUint32ToTagged(); | 163 const Operator* ChangeUint32ToTagged(); |
164 const Operator* ChangeFloat64ToTagged(); | 164 const Operator* ChangeFloat64ToTagged(); |
165 const Operator* ChangeBoolToBit(); | 165 const Operator* ChangeBoolToBit(); |
166 const Operator* ChangeBitToBool(); | 166 const Operator* ChangeBitToBool(); |
| 167 #define SIMD128_CHANGE(TYPE, Type, type, lane_count, lane_type) \ |
| 168 const Operator* ChangeTaggedTo##Type(); \ |
| 169 const Operator* Change##Type##ToTagged(); |
| 170 SIMD128_TYPES(SIMD128_CHANGE) |
| 171 #undef SIMD128_CHANGE |
167 | 172 |
168 const Operator* ObjectIsNumber(); | 173 const Operator* ObjectIsNumber(); |
169 const Operator* ObjectIsReceiver(); | 174 const Operator* ObjectIsReceiver(); |
170 const Operator* ObjectIsSmi(); | 175 const Operator* ObjectIsSmi(); |
171 const Operator* ObjectIsUndetectable(); | 176 const Operator* ObjectIsUndetectable(); |
172 | 177 |
173 const Operator* Allocate(PretenureFlag pretenure = NOT_TENURED); | 178 const Operator* Allocate(PretenureFlag pretenure = NOT_TENURED); |
174 | 179 |
175 const Operator* LoadField(FieldAccess const&); | 180 const Operator* LoadField(FieldAccess const&); |
176 const Operator* StoreField(FieldAccess const&); | 181 const Operator* StoreField(FieldAccess const&); |
(...skipping 17 matching lines...) Expand all Loading... |
194 Zone* const zone_; | 199 Zone* const zone_; |
195 | 200 |
196 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); | 201 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); |
197 }; | 202 }; |
198 | 203 |
199 } // namespace compiler | 204 } // namespace compiler |
200 } // namespace internal | 205 } // namespace internal |
201 } // namespace v8 | 206 } // namespace v8 |
202 | 207 |
203 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ | 208 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ |
OLD | NEW |