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

Side by Side Diff: src/compiler/graph.h

Issue 612043003: Add inlining for intrinsics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Move decls. Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/js-inlining.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_GRAPH_H_ 5 #ifndef V8_COMPILER_GRAPH_H_
6 #define V8_COMPILER_GRAPH_H_ 6 #define V8_COMPILER_GRAPH_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4, 48 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4,
49 Node* n5) { 49 Node* n5) {
50 Node* nodes[] = {n1, n2, n3, n4, n5}; 50 Node* nodes[] = {n1, n2, n3, n4, n5};
51 return NewNode(op, arraysize(nodes), nodes); 51 return NewNode(op, arraysize(nodes), nodes);
52 } 52 }
53 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4, 53 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4,
54 Node* n5, Node* n6) { 54 Node* n5, Node* n6) {
55 Node* nodes[] = {n1, n2, n3, n4, n5, n6}; 55 Node* nodes[] = {n1, n2, n3, n4, n5, n6};
56 return NewNode(op, arraysize(nodes), nodes); 56 return NewNode(op, arraysize(nodes), nodes);
57 } 57 }
58 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4,
59 Node* n5, Node* n6, Node* n7) {
60 Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7};
61 return NewNode(op, arraysize(nodes), nodes);
62 }
58 63
59 template <class Visitor> 64 template <class Visitor>
60 void VisitNodeUsesFrom(Node* node, Visitor* visitor); 65 void VisitNodeUsesFrom(Node* node, Visitor* visitor);
61 66
62 template <class Visitor> 67 template <class Visitor>
63 void VisitNodeUsesFromStart(Visitor* visitor); 68 void VisitNodeUsesFromStart(Visitor* visitor);
64 69
65 template <class Visitor> 70 template <class Visitor>
66 void VisitNodeInputsFromEnd(Visitor* visitor); 71 void VisitNodeInputsFromEnd(Visitor* visitor);
67 72
(...skipping 19 matching lines...) Expand all
87 public: 92 public:
88 virtual ~GraphDecorator() {} 93 virtual ~GraphDecorator() {}
89 virtual void Decorate(Node* node) = 0; 94 virtual void Decorate(Node* node) = 0;
90 }; 95 };
91 96
92 } // namespace compiler 97 } // namespace compiler
93 } // namespace internal 98 } // namespace internal
94 } // namespace v8 99 } // namespace v8
95 100
96 #endif // V8_COMPILER_GRAPH_H_ 101 #endif // V8_COMPILER_GRAPH_H_
OLDNEW
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/js-inlining.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698