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

Side by Side Diff: src/compiler/simplified-lowering.h

Issue 2215183003: [turbofan] Move lowering of Float64 optional operators to EffectControlLinearizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. Created 4 years, 4 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/representation-change.cc ('k') | src/compiler/simplified-lowering.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_SIMPLIFIED_LOWERING_H_ 5 #ifndef V8_COMPILER_SIMPLIFIED_LOWERING_H_
6 #define V8_COMPILER_SIMPLIFIED_LOWERING_H_ 6 #define V8_COMPILER_SIMPLIFIED_LOWERING_H_
7 7
8 #include "src/compiler/js-graph.h" 8 #include "src/compiler/js-graph.h"
9 #include "src/compiler/machine-operator.h" 9 #include "src/compiler/machine-operator.h"
10 #include "src/compiler/node.h" 10 #include "src/compiler/node.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 SetOncePointer<Node> to_number_code_; 53 SetOncePointer<Node> to_number_code_;
54 SetOncePointer<Operator const> to_number_operator_; 54 SetOncePointer<Operator const> to_number_operator_;
55 55
56 // TODO(danno): SimplifiedLowering shouldn't know anything about the source 56 // TODO(danno): SimplifiedLowering shouldn't know anything about the source
57 // positions table, but must for now since there currently is no other way to 57 // positions table, but must for now since there currently is no other way to
58 // pass down source position information to nodes created during 58 // pass down source position information to nodes created during
59 // lowering. Once this phase becomes a vanilla reducer, it should get source 59 // lowering. Once this phase becomes a vanilla reducer, it should get source
60 // position information via the SourcePositionWrapper like all other reducers. 60 // position information via the SourcePositionWrapper like all other reducers.
61 SourcePositionTable* source_positions_; 61 SourcePositionTable* source_positions_;
62 62
63 Node* Float64Ceil(Node* const node);
64 Node* Float64Floor(Node* const node);
65 Node* Float64Round(Node* const node); 63 Node* Float64Round(Node* const node);
66 Node* Float64Sign(Node* const node); 64 Node* Float64Sign(Node* const node);
67 Node* Float64Trunc(Node* const node);
68 Node* Int32Abs(Node* const node); 65 Node* Int32Abs(Node* const node);
69 Node* Int32Div(Node* const node); 66 Node* Int32Div(Node* const node);
70 Node* Int32Mod(Node* const node); 67 Node* Int32Mod(Node* const node);
71 Node* Int32Sign(Node* const node); 68 Node* Int32Sign(Node* const node);
72 Node* Uint32Div(Node* const node); 69 Node* Uint32Div(Node* const node);
73 Node* Uint32Mod(Node* const node); 70 Node* Uint32Mod(Node* const node);
74 71
75 Node* ToNumberCode(); 72 Node* ToNumberCode();
76 Operator const* ToNumberOperator(); 73 Operator const* ToNumberOperator();
77 74
78 friend class RepresentationSelector; 75 friend class RepresentationSelector;
79 76
80 Isolate* isolate() { return jsgraph_->isolate(); } 77 Isolate* isolate() { return jsgraph_->isolate(); }
81 Zone* zone() { return jsgraph_->zone(); } 78 Zone* zone() { return jsgraph_->zone(); }
82 JSGraph* jsgraph() { return jsgraph_; } 79 JSGraph* jsgraph() { return jsgraph_; }
83 Graph* graph() { return jsgraph()->graph(); } 80 Graph* graph() { return jsgraph()->graph(); }
84 CommonOperatorBuilder* common() { return jsgraph()->common(); } 81 CommonOperatorBuilder* common() { return jsgraph()->common(); }
85 MachineOperatorBuilder* machine() { return jsgraph()->machine(); } 82 MachineOperatorBuilder* machine() { return jsgraph()->machine(); }
86 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); } 83 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); }
87 }; 84 };
88 85
89 } // namespace compiler 86 } // namespace compiler
90 } // namespace internal 87 } // namespace internal
91 } // namespace v8 88 } // namespace v8
92 89
93 #endif // V8_COMPILER_SIMPLIFIED_LOWERING_H_ 90 #endif // V8_COMPILER_SIMPLIFIED_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/representation-change.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698