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

Side by Side Diff: test/compiler-unittests/graph-unittest.h

Issue 481903002: [turbofan] Support lowering of ChangeFloat64ToTagged/ChangeTaggedToInt32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: GCC fix...again Created 6 years, 4 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 | « test/compiler-unittests/compiler-unittests.h ('k') | test/compiler-unittests/graph-unittest.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_UNITTESTS_GRAPH_UNITTEST_H_ 5 #ifndef V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_
6 #define V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_ 6 #define V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_
7 7
8 #include "src/compiler/graph.h" 8 #include "src/compiler/graph.h"
9 #include "src/compiler/machine-operator.h" 9 #include "src/compiler/machine-operator.h"
10 #include "test/compiler-unittests/common-operator-unittest.h" 10 #include "test/compiler-unittests/common-operator-unittest.h"
(...skipping 17 matching lines...) Expand all
28 protected: 28 protected:
29 Graph* graph() { return &graph_; } 29 Graph* graph() { return &graph_; }
30 30
31 private: 31 private:
32 Graph graph_; 32 Graph graph_;
33 }; 33 };
34 34
35 35
36 using ::testing::Matcher; 36 using ::testing::Matcher;
37 37
38
38 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher, 39 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher,
39 const Matcher<Node*>& control_matcher); 40 const Matcher<Node*>& control_matcher);
40 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, 41 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
41 const Matcher<Node*>& control1_matcher); 42 const Matcher<Node*>& control1_matcher);
42 Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher); 43 Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher);
43 Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher); 44 Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher);
44 Matcher<Node*> IsControlEffect(const Matcher<Node*>& control_matcher); 45 Matcher<Node*> IsControlEffect(const Matcher<Node*>& control_matcher);
46 Matcher<Node*> IsValueEffect(const Matcher<Node*>& value_matcher);
45 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher, 47 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher,
46 const Matcher<Node*>& effect_matcher); 48 const Matcher<Node*>& effect_matcher);
47 Matcher<Node*> IsExternalConstant( 49 Matcher<Node*> IsExternalConstant(
48 const Matcher<ExternalReference>& value_matcher); 50 const Matcher<ExternalReference>& value_matcher);
49 Matcher<Node*> IsHeapConstant( 51 Matcher<Node*> IsHeapConstant(
50 const Matcher<PrintableUnique<HeapObject> >& value_matcher); 52 const Matcher<PrintableUnique<HeapObject> >& value_matcher);
51 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher); 53 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher);
52 Matcher<Node*> IsNumberConstant(const Matcher<double>& value_matcher); 54 Matcher<Node*> IsNumberConstant(const Matcher<double>& value_matcher);
53 Matcher<Node*> IsPhi(const Matcher<Node*>& value0_matcher, 55 Matcher<Node*> IsPhi(const Matcher<Node*>& value0_matcher,
54 const Matcher<Node*>& value1_matcher, 56 const Matcher<Node*>& value1_matcher,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const Matcher<Node*>& rhs_matcher); 88 const Matcher<Node*>& rhs_matcher);
87 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, 89 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher,
88 const Matcher<Node*>& rhs_matcher); 90 const Matcher<Node*>& rhs_matcher);
89 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, 91 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher,
90 const Matcher<Node*>& rhs_matcher); 92 const Matcher<Node*>& rhs_matcher);
91 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, 93 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher,
92 const Matcher<Node*>& rhs_matcher); 94 const Matcher<Node*>& rhs_matcher);
93 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, 95 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher,
94 const Matcher<Node*>& rhs_matcher); 96 const Matcher<Node*>& rhs_matcher);
95 Matcher<Node*> IsConvertInt64ToInt32(const Matcher<Node*>& input_matcher); 97 Matcher<Node*> IsConvertInt64ToInt32(const Matcher<Node*>& input_matcher);
98 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher);
96 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); 99 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher);
97 100
98 } // namespace compiler 101 } // namespace compiler
99 } // namespace internal 102 } // namespace internal
100 } // namespace v8 103 } // namespace v8
101 104
102 #endif // V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_ 105 #endif // V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_
OLDNEW
« no previous file with comments | « test/compiler-unittests/compiler-unittests.h ('k') | test/compiler-unittests/graph-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698