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

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

Issue 2096403002: [turbofan] Introduce simplified operator NumberAbs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: This time fix the compile error for realz Created 4 years, 5 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/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/compiler/machine-operator.h" 10 #include "src/compiler/machine-operator.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // positions table, but must for now since there currently is no other way to 61 // positions table, but must for now since there currently is no other way to
62 // pass down source position information to nodes created during 62 // pass down source position information to nodes created during
63 // lowering. Once this phase becomes a vanilla reducer, it should get source 63 // lowering. Once this phase becomes a vanilla reducer, it should get source
64 // position information via the SourcePositionWrapper like all other reducers. 64 // position information via the SourcePositionWrapper like all other reducers.
65 SourcePositionTable* source_positions_; 65 SourcePositionTable* source_positions_;
66 66
67 Node* Float64Ceil(Node* const node); 67 Node* Float64Ceil(Node* const node);
68 Node* Float64Floor(Node* const node); 68 Node* Float64Floor(Node* const node);
69 Node* Float64Round(Node* const node); 69 Node* Float64Round(Node* const node);
70 Node* Float64Trunc(Node* const node); 70 Node* Float64Trunc(Node* const node);
71 Node* Int32Abs(Node* const node);
71 Node* Int32Div(Node* const node); 72 Node* Int32Div(Node* const node);
72 Node* Int32Mod(Node* const node); 73 Node* Int32Mod(Node* const node);
73 Node* Uint32Div(Node* const node); 74 Node* Uint32Div(Node* const node);
74 Node* Uint32Mod(Node* const node); 75 Node* Uint32Mod(Node* const node);
75 76
76 Node* ToNumberCode(); 77 Node* ToNumberCode();
77 Operator const* ToNumberOperator(); 78 Operator const* ToNumberOperator();
78 79
79 friend class RepresentationSelector; 80 friend class RepresentationSelector;
80 81
81 Isolate* isolate() { return jsgraph_->isolate(); } 82 Isolate* isolate() { return jsgraph_->isolate(); }
82 Zone* zone() { return jsgraph_->zone(); } 83 Zone* zone() { return jsgraph_->zone(); }
83 JSGraph* jsgraph() { return jsgraph_; } 84 JSGraph* jsgraph() { return jsgraph_; }
84 Graph* graph() { return jsgraph()->graph(); } 85 Graph* graph() { return jsgraph()->graph(); }
85 CommonOperatorBuilder* common() { return jsgraph()->common(); } 86 CommonOperatorBuilder* common() { return jsgraph()->common(); }
86 MachineOperatorBuilder* machine() { return jsgraph()->machine(); } 87 MachineOperatorBuilder* machine() { return jsgraph()->machine(); }
87 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); } 88 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); }
88 }; 89 };
89 90
90 } // namespace compiler 91 } // namespace compiler
91 } // namespace internal 92 } // namespace internal
92 } // namespace v8 93 } // namespace v8
93 94
94 #endif // V8_COMPILER_SIMPLIFIED_LOWERING_H_ 95 #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