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

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

Issue 2489563004: [turbofan] Add support for accessing Uint8ClampedArrays. (Closed)
Patch Set: Fix typing rule. Created 4 years, 1 month 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/operation-typer.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 26 matching lines...) Expand all
37 // TODO(turbofan): The representation can be removed once the result of the 37 // TODO(turbofan): The representation can be removed once the result of the
38 // representation analysis is stored in the node bounds. 38 // representation analysis is stored in the node bounds.
39 void DoLoadBuffer(Node* node, MachineRepresentation rep, 39 void DoLoadBuffer(Node* node, MachineRepresentation rep,
40 RepresentationChanger* changer); 40 RepresentationChanger* changer);
41 void DoStoreBuffer(Node* node); 41 void DoStoreBuffer(Node* node);
42 void DoShift(Node* node, Operator const* op, Type* rhs_type); 42 void DoShift(Node* node, Operator const* op, Type* rhs_type);
43 void DoStringToNumber(Node* node); 43 void DoStringToNumber(Node* node);
44 void DoIntegral32ToBit(Node* node); 44 void DoIntegral32ToBit(Node* node);
45 void DoOrderedNumberToBit(Node* node); 45 void DoOrderedNumberToBit(Node* node);
46 void DoNumberToBit(Node* node); 46 void DoNumberToBit(Node* node);
47 void DoIntegerToUint8Clamped(Node* node);
48 void DoNumberToUint8Clamped(Node* node);
49 void DoSigned32ToUint8Clamped(Node* node);
50 void DoUnsigned32ToUint8Clamped(Node* node);
47 51
48 private: 52 private:
49 JSGraph* const jsgraph_; 53 JSGraph* const jsgraph_;
50 Zone* const zone_; 54 Zone* const zone_;
51 TypeCache const& type_cache_; 55 TypeCache const& type_cache_;
52 SetOncePointer<Node> to_number_code_; 56 SetOncePointer<Node> to_number_code_;
53 SetOncePointer<Operator const> to_number_operator_; 57 SetOncePointer<Operator const> to_number_operator_;
54 58
55 // TODO(danno): SimplifiedLowering shouldn't know anything about the source 59 // TODO(danno): SimplifiedLowering shouldn't know anything about the source
56 // positions table, but must for now since there currently is no other way to 60 // positions table, but must for now since there currently is no other way to
(...skipping 23 matching lines...) Expand all
80 CommonOperatorBuilder* common() { return jsgraph()->common(); } 84 CommonOperatorBuilder* common() { return jsgraph()->common(); }
81 MachineOperatorBuilder* machine() { return jsgraph()->machine(); } 85 MachineOperatorBuilder* machine() { return jsgraph()->machine(); }
82 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); } 86 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); }
83 }; 87 };
84 88
85 } // namespace compiler 89 } // namespace compiler
86 } // namespace internal 90 } // namespace internal
87 } // namespace v8 91 } // namespace v8
88 92
89 #endif // V8_COMPILER_SIMPLIFIED_LOWERING_H_ 93 #endif // V8_COMPILER_SIMPLIFIED_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/operation-typer.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698