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

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

Issue 1994503002: [turbofan] Turn common Guard operator into simplified TypeGuard. (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/common-operator-reducer.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 LowerGuard(Node* node, Node* effect, Node* control); 44 ValueEffectControl LowerTypeGuard(Node* node, Node* effect, Node* control);
45 ValueEffectControl LowerChangeBitToTagged(Node* node, Node* effect, 45 ValueEffectControl LowerChangeBitToTagged(Node* node, Node* effect,
46 Node* control); 46 Node* control);
47 ValueEffectControl LowerChangeInt31ToTaggedSigned(Node* node, Node* effect, 47 ValueEffectControl LowerChangeInt31ToTaggedSigned(Node* node, Node* effect,
48 Node* control); 48 Node* control);
49 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect, 49 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect,
50 Node* control); 50 Node* control);
51 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect, 51 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect,
52 Node* control); 52 Node* control);
53 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, 53 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect,
54 Node* control); 54 Node* control);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 JSGraph* js_graph_; 99 JSGraph* js_graph_;
100 Schedule* schedule_; 100 Schedule* schedule_;
101 Zone* temp_zone_; 101 Zone* temp_zone_;
102 }; 102 };
103 103
104 } // namespace compiler 104 } // namespace compiler
105 } // namespace internal 105 } // namespace internal
106 } // namespace v8 106 } // namespace v8
107 107
108 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 108 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
OLDNEW
« no previous file with comments | « src/compiler/common-operator-reducer.cc ('k') | src/compiler/effect-control-linearizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698