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

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

Issue 2668023004: [wasm] Change the default lowering of stores. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | src/compiler/int64-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_INT64_LOWERING_H_ 5 #ifndef V8_COMPILER_INT64_LOWERING_H_
6 #define V8_COMPILER_INT64_LOWERING_H_ 6 #define V8_COMPILER_INT64_LOWERING_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph.h" 9 #include "src/compiler/graph.h"
10 #include "src/compiler/machine-operator.h" 10 #include "src/compiler/machine-operator.h"
(...skipping 29 matching lines...) Expand all
40 40
41 Zone* zone() const { return zone_; } 41 Zone* zone() const { return zone_; }
42 Graph* graph() const { return graph_; } 42 Graph* graph() const { return graph_; }
43 MachineOperatorBuilder* machine() const { return machine_; } 43 MachineOperatorBuilder* machine() const { return machine_; }
44 CommonOperatorBuilder* common() const { return common_; } 44 CommonOperatorBuilder* common() const { return common_; }
45 Signature<MachineRepresentation>* signature() const { return signature_; } 45 Signature<MachineRepresentation>* signature() const { return signature_; }
46 46
47 void PrepareReplacements(Node* node); 47 void PrepareReplacements(Node* node);
48 void PushNode(Node* node); 48 void PushNode(Node* node);
49 void LowerNode(Node* node); 49 void LowerNode(Node* node);
50 bool DefaultLowering(Node* node); 50 bool DefaultLowering(Node* node, bool low_word_only = false);
51 void LowerComparison(Node* node, const Operator* signed_op, 51 void LowerComparison(Node* node, const Operator* signed_op,
52 const Operator* unsigned_op); 52 const Operator* unsigned_op);
53 void PrepareProjectionReplacements(Node* node); 53 void PrepareProjectionReplacements(Node* node);
54 54
55 void ReplaceNode(Node* old, Node* new_low, Node* new_high); 55 void ReplaceNode(Node* old, Node* new_low, Node* new_high);
56 bool HasReplacementLow(Node* node); 56 bool HasReplacementLow(Node* node);
57 Node* GetReplacementLow(Node* node); 57 Node* GetReplacementLow(Node* node);
58 bool HasReplacementHigh(Node* node); 58 bool HasReplacementHigh(Node* node);
59 Node* GetReplacementHigh(Node* node); 59 Node* GetReplacementHigh(Node* node);
60 void PreparePhiReplacement(Node* phi); 60 void PreparePhiReplacement(Node* phi);
(...skipping 13 matching lines...) Expand all
74 Replacement* replacements_; 74 Replacement* replacements_;
75 Signature<MachineRepresentation>* signature_; 75 Signature<MachineRepresentation>* signature_;
76 Node* placeholder_; 76 Node* placeholder_;
77 }; 77 };
78 78
79 } // namespace compiler 79 } // namespace compiler
80 } // namespace internal 80 } // namespace internal
81 } // namespace v8 81 } // namespace v8
82 82
83 #endif // V8_COMPILER_INT64_LOWERING_H_ 83 #endif // V8_COMPILER_INT64_LOWERING_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/int64-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698