OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 void MergeRemovableSimulates(); | 296 void MergeRemovableSimulates(); |
297 void InsertRepresentationChanges(); | 297 void InsertRepresentationChanges(); |
298 void MarkDeoptimizeOnUndefined(); | 298 void MarkDeoptimizeOnUndefined(); |
299 void ComputeMinusZeroChecks(); | 299 void ComputeMinusZeroChecks(); |
300 bool ProcessArgumentsObject(); | 300 bool ProcessArgumentsObject(); |
301 void EliminateRedundantPhis(); | 301 void EliminateRedundantPhis(); |
302 void Canonicalize(); | 302 void Canonicalize(); |
303 void OrderBlocks(); | 303 void OrderBlocks(); |
304 void AssignDominators(); | 304 void AssignDominators(); |
305 void SetupInformativeDefinitions(); | 305 void SetupInformativeDefinitions(); |
306 void EliminateRedundantBoundsChecks(); | |
307 void DehoistSimpleArrayIndexComputations(); | 306 void DehoistSimpleArrayIndexComputations(); |
308 void RestoreActualValues(); | 307 void RestoreActualValues(); |
309 void PropagateDeoptimizingMark(); | 308 void PropagateDeoptimizingMark(); |
310 void AnalyzeAndPruneEnvironmentLiveness(); | 309 void AnalyzeAndPruneEnvironmentLiveness(); |
311 | 310 |
312 // Returns false if there are phi-uses of the arguments-object | 311 // Returns false if there are phi-uses of the arguments-object |
313 // which are not supported by the optimizing compiler. | 312 // which are not supported by the optimizing compiler. |
314 bool CheckArgumentsPhiUses(); | 313 bool CheckArgumentsPhiUses(); |
315 | 314 |
316 // Returns false if there are phi-uses of an uninitialized const | 315 // Returns false if there are phi-uses of an uninitialized const |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 void InsertRepresentationChangeForUse(HValue* value, | 457 void InsertRepresentationChangeForUse(HValue* value, |
459 HValue* use_value, | 458 HValue* use_value, |
460 int use_index, | 459 int use_index, |
461 Representation to); | 460 Representation to); |
462 void InsertRepresentationChangesForValue(HValue* value); | 461 void InsertRepresentationChangesForValue(HValue* value); |
463 void InferTypes(ZoneList<HValue*>* worklist); | 462 void InferTypes(ZoneList<HValue*>* worklist); |
464 void InitializeInferredTypes(int from_inclusive, int to_inclusive); | 463 void InitializeInferredTypes(int from_inclusive, int to_inclusive); |
465 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); | 464 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); |
466 void SetupInformativeDefinitionsInBlock(HBasicBlock* block); | 465 void SetupInformativeDefinitionsInBlock(HBasicBlock* block); |
467 void SetupInformativeDefinitionsRecursively(HBasicBlock* block); | 466 void SetupInformativeDefinitionsRecursively(HBasicBlock* block); |
468 void EliminateRedundantBoundsChecks(HBasicBlock* bb, BoundsCheckTable* table); | |
469 | 467 |
470 Isolate* isolate_; | 468 Isolate* isolate_; |
471 int next_block_id_; | 469 int next_block_id_; |
472 HBasicBlock* entry_block_; | 470 HBasicBlock* entry_block_; |
473 HEnvironment* start_environment_; | 471 HEnvironment* start_environment_; |
474 ZoneList<HBasicBlock*> blocks_; | 472 ZoneList<HBasicBlock*> blocks_; |
475 ZoneList<HValue*> values_; | 473 ZoneList<HValue*> values_; |
476 ZoneList<HPhi*>* phi_list_; | 474 ZoneList<HPhi*>* phi_list_; |
477 ZoneList<HInstruction*>* uint32_instructions_; | 475 ZoneList<HInstruction*>* uint32_instructions_; |
478 SetOncePointer<HConstant> undefined_constant_; | 476 SetOncePointer<HConstant> undefined_constant_; |
(...skipping 1622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2101 EmbeddedVector<char, 64> filename_; | 2099 EmbeddedVector<char, 64> filename_; |
2102 HeapStringAllocator string_allocator_; | 2100 HeapStringAllocator string_allocator_; |
2103 StringStream trace_; | 2101 StringStream trace_; |
2104 int indent_; | 2102 int indent_; |
2105 }; | 2103 }; |
2106 | 2104 |
2107 | 2105 |
2108 } } // namespace v8::internal | 2106 } } // namespace v8::internal |
2109 | 2107 |
2110 #endif // V8_HYDROGEN_H_ | 2108 #endif // V8_HYDROGEN_H_ |
OLD | NEW |