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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 void InitializeInferredTypes(); | 270 void InitializeInferredTypes(); |
271 void InsertTypeConversions(); | 271 void InsertTypeConversions(); |
272 void MergeRemovableSimulates(); | 272 void MergeRemovableSimulates(); |
273 void InsertRepresentationChanges(); | 273 void InsertRepresentationChanges(); |
274 void MarkDeoptimizeOnUndefined(); | 274 void MarkDeoptimizeOnUndefined(); |
275 void ComputeMinusZeroChecks(); | 275 void ComputeMinusZeroChecks(); |
276 void ComputeSafeUint32Operations(); | 276 void ComputeSafeUint32Operations(); |
277 void GlobalValueNumbering(); | 277 void GlobalValueNumbering(); |
278 bool ProcessArgumentsObject(); | 278 bool ProcessArgumentsObject(); |
279 void EliminateRedundantPhis(); | 279 void EliminateRedundantPhis(); |
280 void EliminateUnreachablePhis(); | |
281 void Canonicalize(); | 280 void Canonicalize(); |
282 void OrderBlocks(); | 281 void OrderBlocks(); |
283 void AssignDominators(); | 282 void AssignDominators(); |
284 void SetupInformativeDefinitions(); | 283 void SetupInformativeDefinitions(); |
285 void EliminateRedundantBoundsChecks(); | 284 void EliminateRedundantBoundsChecks(); |
286 void DehoistSimpleArrayIndexComputations(); | 285 void DehoistSimpleArrayIndexComputations(); |
| 286 void RestoreActualValues(); |
| 287 void MarkNotDead(HValue* ref, HValue* instr, ZoneList<HValue*>* worklist); |
| 288 bool TryDeadCodeElimination(HValue *instr); |
287 void DeadCodeElimination(); | 289 void DeadCodeElimination(); |
288 void RestoreActualValues(); | |
289 void PropagateDeoptimizingMark(); | 290 void PropagateDeoptimizingMark(); |
290 void EliminateUnusedInstructions(); | |
291 | 291 |
292 // Returns false if there are phi-uses of the arguments-object | 292 // Returns false if there are phi-uses of the arguments-object |
293 // which are not supported by the optimizing compiler. | 293 // which are not supported by the optimizing compiler. |
294 bool CheckArgumentsPhiUses(); | 294 bool CheckArgumentsPhiUses(); |
295 | 295 |
296 // Returns false if there are phi-uses of an uninitialized const | 296 // Returns false if there are phi-uses of an uninitialized const |
297 // which are not supported by the optimizing compiler. | 297 // which are not supported by the optimizing compiler. |
298 bool CheckConstPhiUses(); | 298 bool CheckConstPhiUses(); |
299 | 299 |
300 void CollectPhis(); | 300 void CollectPhis(); |
(...skipping 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2005 EmbeddedVector<char, 64> filename_; | 2005 EmbeddedVector<char, 64> filename_; |
2006 HeapStringAllocator string_allocator_; | 2006 HeapStringAllocator string_allocator_; |
2007 StringStream trace_; | 2007 StringStream trace_; |
2008 int indent_; | 2008 int indent_; |
2009 }; | 2009 }; |
2010 | 2010 |
2011 | 2011 |
2012 } } // namespace v8::internal | 2012 } } // namespace v8::internal |
2013 | 2013 |
2014 #endif // V8_HYDROGEN_H_ | 2014 #endif // V8_HYDROGEN_H_ |
OLD | NEW |