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

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

Issue 1942733002: Revert of [turbofan] Remove left-over change bits from ChangeLowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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 | « src/compiler/change-lowering.cc ('k') | 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 23 matching lines...) Expand all
34 34
35 struct ValueEffectControl { 35 struct ValueEffectControl {
36 Node* value; 36 Node* value;
37 Node* effect; 37 Node* effect;
38 Node* control; 38 Node* control;
39 ValueEffectControl(Node* value, Node* effect, Node* control) 39 ValueEffectControl(Node* value, Node* effect, Node* control)
40 : value(value), effect(effect), control(control) {} 40 : value(value), effect(effect), control(control) {}
41 }; 41 };
42 42
43 bool TryWireInStateEffect(Node* node, Node** effect, Node** control); 43 bool TryWireInStateEffect(Node* node, Node** effect, Node** control);
44 ValueEffectControl LowerChangeBitToTagged(Node* node, Node* effect,
45 Node* control);
46 ValueEffectControl LowerChangeInt31ToTaggedSigned(Node* node, Node* effect,
47 Node* control);
48 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect, 44 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect,
49 Node* control); 45 Node* control);
50 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect, 46 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect,
51 Node* control); 47 Node* control);
52 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, 48 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect,
53 Node* control); 49 Node* control);
54 ValueEffectControl LowerChangeTaggedSignedToInt32(Node* node, Node* effect,
55 Node* control);
56 ValueEffectControl LowerChangeTaggedToBit(Node* node, Node* effect,
57 Node* control);
58 ValueEffectControl LowerChangeTaggedToInt32(Node* node, Node* effect, 50 ValueEffectControl LowerChangeTaggedToInt32(Node* node, Node* effect,
59 Node* control); 51 Node* control);
60 ValueEffectControl LowerChangeTaggedToUint32(Node* node, Node* effect, 52 ValueEffectControl LowerChangeTaggedToUint32(Node* node, Node* effect,
61 Node* control); 53 Node* control);
62 ValueEffectControl LowerChangeTaggedToFloat64(Node* node, Node* effect, 54 ValueEffectControl LowerChangeTaggedToFloat64(Node* node, Node* effect,
63 Node* control); 55 Node* control);
64 ValueEffectControl LowerTruncateTaggedToWord32(Node* node, Node* effect, 56 ValueEffectControl LowerTruncateTaggedToWord32(Node* node, Node* effect,
65 Node* control); 57 Node* control);
66 ValueEffectControl LowerObjectIsCallable(Node* node, Node* effect, 58 ValueEffectControl LowerObjectIsCallable(Node* node, Node* effect,
67 Node* control); 59 Node* control);
68 ValueEffectControl LowerObjectIsNumber(Node* node, Node* effect, 60 ValueEffectControl LowerObjectIsNumber(Node* node, Node* effect,
69 Node* control); 61 Node* control);
70 ValueEffectControl LowerObjectIsReceiver(Node* node, Node* effect, 62 ValueEffectControl LowerObjectIsReceiver(Node* node, Node* effect,
71 Node* control); 63 Node* control);
72 ValueEffectControl LowerObjectIsSmi(Node* node, Node* effect, Node* control);
73 ValueEffectControl LowerObjectIsString(Node* node, Node* effect, 64 ValueEffectControl LowerObjectIsString(Node* node, Node* effect,
74 Node* control); 65 Node* control);
75 ValueEffectControl LowerObjectIsUndetectable(Node* node, Node* effect, 66 ValueEffectControl LowerObjectIsUndetectable(Node* node, Node* effect,
76 Node* control); 67 Node* control);
77 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, 68 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect,
78 Node* control); 69 Node* control);
79 70
80 Node* ChangeInt32ToSmi(Node* value); 71 Node* ChangeInt32ToSmi(Node* value);
81 Node* ChangeUint32ToSmi(Node* value); 72 Node* ChangeUint32ToSmi(Node* value);
82 Node* ChangeInt32ToFloat64(Node* value); 73 Node* ChangeInt32ToFloat64(Node* value);
83 Node* ChangeUint32ToFloat64(Node* value); 74 Node* ChangeUint32ToFloat64(Node* value);
84 Node* ChangeSmiToInt32(Node* value);
85 Node* ObjectIsSmi(Node* value);
86 75
87 Node* SmiMaxValueConstant(); 76 Node* SmiMaxValueConstant();
88 Node* SmiShiftBitsConstant(); 77 Node* SmiShiftBitsConstant();
89 78
90 JSGraph* jsgraph() const { return js_graph_; } 79 JSGraph* jsgraph() const { return js_graph_; }
91 Graph* graph() const; 80 Graph* graph() const;
92 Schedule* schedule() const { return schedule_; } 81 Schedule* schedule() const { return schedule_; }
93 Zone* temp_zone() const { return temp_zone_; } 82 Zone* temp_zone() const { return temp_zone_; }
94 CommonOperatorBuilder* common() const; 83 CommonOperatorBuilder* common() const;
95 SimplifiedOperatorBuilder* simplified() const; 84 SimplifiedOperatorBuilder* simplified() const;
96 MachineOperatorBuilder* machine() const; 85 MachineOperatorBuilder* machine() const;
97 86
98 JSGraph* js_graph_; 87 JSGraph* js_graph_;
99 Schedule* schedule_; 88 Schedule* schedule_;
100 Zone* temp_zone_; 89 Zone* temp_zone_;
101 }; 90 };
102 91
103 } // namespace compiler 92 } // namespace compiler
104 } // namespace internal 93 } // namespace internal
105 } // namespace v8 94 } // namespace v8
106 95
107 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 96 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
OLDNEW
« no previous file with comments | « src/compiler/change-lowering.cc ('k') | src/compiler/effect-control-linearizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698