Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Side by Side Diff: src/compiler/common-operator.h

Issue 2509623002: [turbofan] Sparse representation for state values (Closed)
Patch Set: Remove the optimized_out input entirely, return nullptr when iterating Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 const Operator* Phi(MachineRepresentation representation, 236 const Operator* Phi(MachineRepresentation representation,
237 int value_input_count); 237 int value_input_count);
238 const Operator* EffectPhi(int effect_input_count); 238 const Operator* EffectPhi(int effect_input_count);
239 const Operator* InductionVariablePhi(int value_input_count); 239 const Operator* InductionVariablePhi(int value_input_count);
240 const Operator* LoopExit(); 240 const Operator* LoopExit();
241 const Operator* LoopExitValue(); 241 const Operator* LoopExitValue();
242 const Operator* LoopExitEffect(); 242 const Operator* LoopExitEffect();
243 const Operator* Checkpoint(); 243 const Operator* Checkpoint();
244 const Operator* BeginRegion(RegionObservability); 244 const Operator* BeginRegion(RegionObservability);
245 const Operator* FinishRegion(); 245 const Operator* FinishRegion();
246 const Operator* StateValues(int arguments); 246 const Operator* StateValues(int arguments, uint32_t bitmask);
247 const Operator* TypedStateValues(const ZoneVector<MachineType>* types); 247 const Operator* TypedStateValues(const ZoneVector<MachineType>* types,
248 uint32_t bitmask);
248 const Operator* ObjectState(int pointer_slots); 249 const Operator* ObjectState(int pointer_slots);
249 const Operator* TypedObjectState(const ZoneVector<MachineType>* types); 250 const Operator* TypedObjectState(const ZoneVector<MachineType>* types);
250 const Operator* FrameState(BailoutId bailout_id, 251 const Operator* FrameState(BailoutId bailout_id,
251 OutputFrameStateCombine state_combine, 252 OutputFrameStateCombine state_combine,
252 const FrameStateFunctionInfo* function_info); 253 const FrameStateFunctionInfo* function_info);
253 const Operator* Call(const CallDescriptor* descriptor); 254 const Operator* Call(const CallDescriptor* descriptor);
254 const Operator* TailCall(const CallDescriptor* descriptor); 255 const Operator* TailCall(const CallDescriptor* descriptor);
255 const Operator* Projection(size_t index); 256 const Operator* Projection(size_t index);
256 const Operator* Retain(); 257 const Operator* Retain();
257 const Operator* TypeGuard(Type* type); 258 const Operator* TypeGuard(Type* type);
(...skipping 14 matching lines...) Expand all
272 Zone* const zone_; 273 Zone* const zone_;
273 274
274 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 275 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
275 }; 276 };
276 277
277 } // namespace compiler 278 } // namespace compiler
278 } // namespace internal 279 } // namespace internal
279 } // namespace v8 280 } // namespace v8
280 281
281 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 282 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698