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

Side by Side Diff: src/compiler/effect-control-linearizer.h

Issue 1900593002: [turbofan] Lower HeapNumber allocations to Allocate nodes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/effect-control-linearizer.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_EFFECT_CONTROL_LINEARIZER_H_ 5 #ifndef V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/node.h" 9 #include "src/compiler/node.h"
10 #include "src/compiler/simplified-operator.h" 10 #include "src/compiler/simplified-operator.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, 48 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect,
49 Node* control); 49 Node* control);
50 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, 50 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect,
51 Node* control); 51 Node* control);
52 52
53 Node* ChangeInt32ToSmi(Node* value); 53 Node* ChangeInt32ToSmi(Node* value);
54 Node* ChangeUint32ToSmi(Node* value); 54 Node* ChangeUint32ToSmi(Node* value);
55 Node* ChangeInt32ToFloat64(Node* value); 55 Node* ChangeInt32ToFloat64(Node* value);
56 Node* ChangeUint32ToFloat64(Node* value); 56 Node* ChangeUint32ToFloat64(Node* value);
57 57
58 Node* HeapNumberValueIndexConstant();
59 Node* SmiMaxValueConstant(); 58 Node* SmiMaxValueConstant();
60 Node* SmiShiftBitsConstant(); 59 Node* SmiShiftBitsConstant();
61 60
62 JSGraph* jsgraph() const { return js_graph_; } 61 JSGraph* jsgraph() const { return js_graph_; }
63 Graph* graph() const; 62 Graph* graph() const;
64 Schedule* schedule() const { return schedule_; } 63 Schedule* schedule() const { return schedule_; }
65 Zone* temp_zone() const { return temp_zone_; } 64 Zone* temp_zone() const { return temp_zone_; }
66 CommonOperatorBuilder* common() const; 65 CommonOperatorBuilder* common() const;
67 SimplifiedOperatorBuilder* simplified() const; 66 SimplifiedOperatorBuilder* simplified() const;
68 MachineOperatorBuilder* machine() const; 67 MachineOperatorBuilder* machine() const;
69 68
70 JSGraph* js_graph_; 69 JSGraph* js_graph_;
71 Schedule* schedule_; 70 Schedule* schedule_;
72 Zone* temp_zone_; 71 Zone* temp_zone_;
73 SetOncePointer<const Operator> allocate_heap_number_operator_;
74 }; 72 };
75 73
76 } // namespace compiler 74 } // namespace compiler
77 } // namespace internal 75 } // namespace internal
78 } // namespace v8 76 } // namespace v8
79 77
80 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 78 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/effect-control-linearizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698