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

Side by Side Diff: src/compiler/js-intrinsic-lowering.h

Issue 1223583003: [turbofan] Inline %_FixedArrayGet intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/compiler/js-intrinsic-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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_JS_INTRINSIC_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_
6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/compiler/simplified-operator.h" 10 #include "src/compiler/simplified-operator.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 Reduction ReduceJSValueGetValue(Node* node); 46 Reduction ReduceJSValueGetValue(Node* node);
47 Reduction ReduceMapGetInstanceType(Node* node); 47 Reduction ReduceMapGetInstanceType(Node* node);
48 Reduction ReduceMathClz32(Node* node); 48 Reduction ReduceMathClz32(Node* node);
49 Reduction ReduceMathFloor(Node* node); 49 Reduction ReduceMathFloor(Node* node);
50 Reduction ReduceMathSqrt(Node* node); 50 Reduction ReduceMathSqrt(Node* node);
51 Reduction ReduceSeqStringGetChar(Node* node, String::Encoding encoding); 51 Reduction ReduceSeqStringGetChar(Node* node, String::Encoding encoding);
52 Reduction ReduceSeqStringSetChar(Node* node, String::Encoding encoding); 52 Reduction ReduceSeqStringSetChar(Node* node, String::Encoding encoding);
53 Reduction ReduceStringGetLength(Node* node); 53 Reduction ReduceStringGetLength(Node* node);
54 Reduction ReduceUnLikely(Node* node, BranchHint hint); 54 Reduction ReduceUnLikely(Node* node, BranchHint hint);
55 Reduction ReduceValueOf(Node* node); 55 Reduction ReduceValueOf(Node* node);
56 Reduction ReduceFixedArrayGet(Node* node);
56 Reduction ReduceFixedArraySet(Node* node); 57 Reduction ReduceFixedArraySet(Node* node);
57 Reduction ReduceGetTypeFeedbackVector(Node* node); 58 Reduction ReduceGetTypeFeedbackVector(Node* node);
58 Reduction ReduceGetCallerJSFunction(Node* node); 59 Reduction ReduceGetCallerJSFunction(Node* node);
59 Reduction ReduceThrowNotDateError(Node* node); 60 Reduction ReduceThrowNotDateError(Node* node);
60 Reduction ReduceCallFunction(Node* node); 61 Reduction ReduceCallFunction(Node* node);
61 62
62 Reduction Change(Node* node, const Operator* op); 63 Reduction Change(Node* node, const Operator* op);
63 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); 64 Reduction Change(Node* node, const Operator* op, Node* a, Node* b);
64 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); 65 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c);
66 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c,
67 Node* d);
65 Reduction ChangeToUndefined(Node* node, Node* effect = nullptr); 68 Reduction ChangeToUndefined(Node* node, Node* effect = nullptr);
66 69
67 Graph* graph() const; 70 Graph* graph() const;
68 JSGraph* jsgraph() const { return jsgraph_; } 71 JSGraph* jsgraph() const { return jsgraph_; }
69 CommonOperatorBuilder* common() const; 72 CommonOperatorBuilder* common() const;
70 JSOperatorBuilder* javascript() const; 73 JSOperatorBuilder* javascript() const;
71 MachineOperatorBuilder* machine() const; 74 MachineOperatorBuilder* machine() const;
72 DeoptimizationMode mode() const { return mode_; } 75 DeoptimizationMode mode() const { return mode_; }
73 SimplifiedOperatorBuilder* simplified() { return &simplified_; } 76 SimplifiedOperatorBuilder* simplified() { return &simplified_; }
74 77
75 JSGraph* const jsgraph_; 78 JSGraph* const jsgraph_;
76 DeoptimizationMode const mode_; 79 DeoptimizationMode const mode_;
77 SimplifiedOperatorBuilder simplified_; 80 SimplifiedOperatorBuilder simplified_;
78 }; 81 };
79 82
80 } // namespace compiler 83 } // namespace compiler
81 } // namespace internal 84 } // namespace internal
82 } // namespace v8 85 } // namespace v8
83 86
84 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 87 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-intrinsic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698