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

Side by Side Diff: src/compiler/escape-analysis.h

Issue 2680973013: [turbofan] extend escape analysis to reduce CheckMaps (Closed)
Patch Set: staged behind new flag --turbo-experimental Created 3 years, 9 months 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
« no previous file with comments | « no previous file | src/compiler/escape-analysis.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_ESCAPE_ANALYSIS_H_ 5 #ifndef V8_COMPILER_ESCAPE_ANALYSIS_H_
6 #define V8_COMPILER_ESCAPE_ANALYSIS_H_ 6 #define V8_COMPILER_ESCAPE_ANALYSIS_H_
7 7
8 #include "src/compiler/graph.h" 8 #include "src/compiler/graph.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 10
(...skipping 27 matching lines...) Expand all
38 bool ExistsVirtualAllocate(); 38 bool ExistsVirtualAllocate();
39 bool SetReplacement(Node* node, Node* rep); 39 bool SetReplacement(Node* node, Node* rep);
40 40
41 private: 41 private:
42 void RunObjectAnalysis(); 42 void RunObjectAnalysis();
43 bool Process(Node* node); 43 bool Process(Node* node);
44 void ProcessLoadField(Node* node); 44 void ProcessLoadField(Node* node);
45 void ProcessStoreField(Node* node); 45 void ProcessStoreField(Node* node);
46 void ProcessLoadElement(Node* node); 46 void ProcessLoadElement(Node* node);
47 void ProcessStoreElement(Node* node); 47 void ProcessStoreElement(Node* node);
48 void ProcessCheckMaps(Node* node);
48 void ProcessAllocationUsers(Node* node); 49 void ProcessAllocationUsers(Node* node);
49 void ProcessAllocation(Node* node); 50 void ProcessAllocation(Node* node);
50 void ProcessFinishRegion(Node* node); 51 void ProcessFinishRegion(Node* node);
51 void ProcessCall(Node* node); 52 void ProcessCall(Node* node);
52 void ProcessStart(Node* node); 53 void ProcessStart(Node* node);
53 bool ProcessEffectPhi(Node* node); 54 bool ProcessEffectPhi(Node* node);
54 void ProcessLoadFromPhi(int offset, Node* from, Node* node, 55 void ProcessLoadFromPhi(int offset, Node* from, Node* node,
55 VirtualState* states); 56 VirtualState* states);
56 57
57 void ForwardVirtualState(Node* node); 58 void ForwardVirtualState(Node* node);
(...skipping 23 matching lines...) Expand all
81 MergeCache* cache_; 82 MergeCache* cache_;
82 83
83 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysis); 84 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysis);
84 }; 85 };
85 86
86 } // namespace compiler 87 } // namespace compiler
87 } // namespace internal 88 } // namespace internal
88 } // namespace v8 89 } // namespace v8
89 90
90 #endif // V8_COMPILER_ESCAPE_ANALYSIS_H_ 91 #endif // V8_COMPILER_ESCAPE_ANALYSIS_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/escape-analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698