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

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

Issue 1941673002: [turbofan] Remove left-over change bits from ChangeLowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Don't mess with the regions yet 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);
44 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect, 48 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect,
45 Node* control); 49 Node* control);
46 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect, 50 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect,
47 Node* control); 51 Node* control);
48 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, 52 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect,
49 Node* control); 53 Node* control);
54 ValueEffectControl LowerChangeTaggedSignedToInt32(Node* node, Node* effect,
55 Node* control);
56 ValueEffectControl LowerChangeTaggedToBit(Node* node, Node* effect,
57 Node* control);
50 ValueEffectControl LowerChangeTaggedToInt32(Node* node, Node* effect, 58 ValueEffectControl LowerChangeTaggedToInt32(Node* node, Node* effect,
51 Node* control); 59 Node* control);
52 ValueEffectControl LowerChangeTaggedToUint32(Node* node, Node* effect, 60 ValueEffectControl LowerChangeTaggedToUint32(Node* node, Node* effect,
53 Node* control); 61 Node* control);
54 ValueEffectControl LowerChangeTaggedToFloat64(Node* node, Node* effect, 62 ValueEffectControl LowerChangeTaggedToFloat64(Node* node, Node* effect,
55 Node* control); 63 Node* control);
56 ValueEffectControl LowerTruncateTaggedToWord32(Node* node, Node* effect, 64 ValueEffectControl LowerTruncateTaggedToWord32(Node* node, Node* effect,
57 Node* control); 65 Node* control);
58 ValueEffectControl LowerObjectIsCallable(Node* node, Node* effect, 66 ValueEffectControl LowerObjectIsCallable(Node* node, Node* effect,
59 Node* control); 67 Node* control);
60 ValueEffectControl LowerObjectIsNumber(Node* node, Node* effect, 68 ValueEffectControl LowerObjectIsNumber(Node* node, Node* effect,
61 Node* control); 69 Node* control);
62 ValueEffectControl LowerObjectIsReceiver(Node* node, Node* effect, 70 ValueEffectControl LowerObjectIsReceiver(Node* node, Node* effect,
63 Node* control); 71 Node* control);
72 ValueEffectControl LowerObjectIsSmi(Node* node, Node* effect, Node* control);
64 ValueEffectControl LowerObjectIsString(Node* node, Node* effect, 73 ValueEffectControl LowerObjectIsString(Node* node, Node* effect,
65 Node* control); 74 Node* control);
66 ValueEffectControl LowerObjectIsUndetectable(Node* node, Node* effect, 75 ValueEffectControl LowerObjectIsUndetectable(Node* node, Node* effect,
67 Node* control); 76 Node* control);
68 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, 77 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect,
69 Node* control); 78 Node* control);
70 79
71 Node* ChangeInt32ToSmi(Node* value); 80 Node* ChangeInt32ToSmi(Node* value);
72 Node* ChangeUint32ToSmi(Node* value); 81 Node* ChangeUint32ToSmi(Node* value);
73 Node* ChangeInt32ToFloat64(Node* value); 82 Node* ChangeInt32ToFloat64(Node* value);
74 Node* ChangeUint32ToFloat64(Node* value); 83 Node* ChangeUint32ToFloat64(Node* value);
84 Node* ChangeSmiToInt32(Node* value);
85 Node* ObjectIsSmi(Node* value);
75 86
76 Node* SmiMaxValueConstant(); 87 Node* SmiMaxValueConstant();
77 Node* SmiShiftBitsConstant(); 88 Node* SmiShiftBitsConstant();
78 89
79 JSGraph* jsgraph() const { return js_graph_; } 90 JSGraph* jsgraph() const { return js_graph_; }
80 Graph* graph() const; 91 Graph* graph() const;
81 Schedule* schedule() const { return schedule_; } 92 Schedule* schedule() const { return schedule_; }
82 Zone* temp_zone() const { return temp_zone_; } 93 Zone* temp_zone() const { return temp_zone_; }
83 CommonOperatorBuilder* common() const; 94 CommonOperatorBuilder* common() const;
84 SimplifiedOperatorBuilder* simplified() const; 95 SimplifiedOperatorBuilder* simplified() const;
85 MachineOperatorBuilder* machine() const; 96 MachineOperatorBuilder* machine() const;
86 97
87 JSGraph* js_graph_; 98 JSGraph* js_graph_;
88 Schedule* schedule_; 99 Schedule* schedule_;
89 Zone* temp_zone_; 100 Zone* temp_zone_;
90 }; 101 };
91 102
92 } // namespace compiler 103 } // namespace compiler
93 } // namespace internal 104 } // namespace internal
94 } // namespace v8 105 } // namespace v8
95 106
96 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 107 #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