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_COMMON_OPERATOR_H_ | 5 #ifndef V8_COMPILER_COMMON_OPERATOR_H_ |
6 #define V8_COMPILER_COMMON_OPERATOR_H_ | 6 #define V8_COMPILER_COMMON_OPERATOR_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/base/compiler-specific.h" | 9 #include "src/base/compiler-specific.h" |
10 #include "src/compiler/frame-states.h" | 10 #include "src/compiler/frame-states.h" |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 const Operator* Call(const CallDescriptor* descriptor); | 253 const Operator* Call(const CallDescriptor* descriptor); |
254 const Operator* TailCall(const CallDescriptor* descriptor); | 254 const Operator* TailCall(const CallDescriptor* descriptor); |
255 const Operator* Projection(size_t index); | 255 const Operator* Projection(size_t index); |
256 const Operator* Retain(); | 256 const Operator* Retain(); |
257 const Operator* TypeGuard(Type* type); | 257 const Operator* TypeGuard(Type* type); |
258 | 258 |
259 // Constructs a new merge or phi operator with the same opcode as {op}, but | 259 // Constructs a new merge or phi operator with the same opcode as {op}, but |
260 // with {size} inputs. | 260 // with {size} inputs. |
261 const Operator* ResizeMergeOrPhi(const Operator* op, int size); | 261 const Operator* ResizeMergeOrPhi(const Operator* op, int size); |
262 | 262 |
| 263 // Simd Operators |
| 264 const Operator* Int32x4ExtractLane(int32_t); |
| 265 const Operator* Int32x4ReplaceLane(int32_t); |
| 266 const Operator* Float32x4ExtractLane(int32_t); |
| 267 |
263 // Constructs function info for frame state construction. | 268 // Constructs function info for frame state construction. |
264 const FrameStateFunctionInfo* CreateFrameStateFunctionInfo( | 269 const FrameStateFunctionInfo* CreateFrameStateFunctionInfo( |
265 FrameStateType type, int parameter_count, int local_count, | 270 FrameStateType type, int parameter_count, int local_count, |
266 Handle<SharedFunctionInfo> shared_info); | 271 Handle<SharedFunctionInfo> shared_info); |
267 | 272 |
268 private: | 273 private: |
269 Zone* zone() const { return zone_; } | 274 Zone* zone() const { return zone_; } |
270 | 275 |
271 const CommonOperatorGlobalCache& cache_; | 276 const CommonOperatorGlobalCache& cache_; |
272 Zone* const zone_; | 277 Zone* const zone_; |
273 | 278 |
274 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); | 279 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); |
275 }; | 280 }; |
276 | 281 |
277 } // namespace compiler | 282 } // namespace compiler |
278 } // namespace internal | 283 } // namespace internal |
279 } // namespace v8 | 284 } // namespace v8 |
280 | 285 |
281 #endif // V8_COMPILER_COMMON_OPERATOR_H_ | 286 #endif // V8_COMPILER_COMMON_OPERATOR_H_ |
OLD | NEW |