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

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

Issue 479163002: [turbofan] Add new ControlEffect and Finish operators. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
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 23 matching lines...) Expand all
34 34
35 35
36 using ::testing::Matcher; 36 using ::testing::Matcher;
37 37
38 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher, 38 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher,
39 const Matcher<Node*>& control_matcher); 39 const Matcher<Node*>& control_matcher);
40 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, 40 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
41 const Matcher<Node*>& control1_matcher); 41 const Matcher<Node*>& control1_matcher);
42 Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher); 42 Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher);
43 Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher); 43 Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher);
44 Matcher<Node*> IsControlEffect(const Matcher<Node*>& control_matcher);
45 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher,
46 const Matcher<Node*>& effect_matcher);
47 Matcher<Node*> IsExternalConstant(
48 const Matcher<ExternalReference>& value_matcher);
44 Matcher<Node*> IsHeapConstant( 49 Matcher<Node*> IsHeapConstant(
45 const Matcher<PrintableUnique<HeapObject> >& value_matcher); 50 const Matcher<PrintableUnique<HeapObject> >& value_matcher);
46 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher); 51 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher);
52 Matcher<Node*> IsNumberConstant(const Matcher<double>& value_matcher);
47 Matcher<Node*> IsPhi(const Matcher<Node*>& value0_matcher, 53 Matcher<Node*> IsPhi(const Matcher<Node*>& value0_matcher,
48 const Matcher<Node*>& value1_matcher, 54 const Matcher<Node*>& value1_matcher,
49 const Matcher<Node*>& merge_matcher); 55 const Matcher<Node*>& merge_matcher);
50 Matcher<Node*> IsProjection(const Matcher<int32_t>& index_matcher, 56 Matcher<Node*> IsProjection(const Matcher<int32_t>& index_matcher,
51 const Matcher<Node*>& base_matcher); 57 const Matcher<Node*>& base_matcher);
58 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher,
59 const Matcher<Node*>& value0_matcher,
60 const Matcher<Node*>& value1_matcher,
61 const Matcher<Node*>& value2_matcher,
62 const Matcher<Node*>& value3_matcher,
63 const Matcher<Node*>& effect_matcher,
64 const Matcher<Node*>& control_matcher);
52 65
53 Matcher<Node*> IsLoad(const Matcher<MachineType>& type_matcher, 66 Matcher<Node*> IsLoad(const Matcher<MachineType>& type_matcher,
54 const Matcher<Node*>& base_matcher, 67 const Matcher<Node*>& base_matcher,
55 const Matcher<Node*>& index_matcher, 68 const Matcher<Node*>& index_matcher,
56 const Matcher<Node*>& effect_matcher); 69 const Matcher<Node*>& effect_matcher);
57 Matcher<Node*> IsStore(const Matcher<MachineType>& type_matcher, 70 Matcher<Node*> IsStore(const Matcher<MachineType>& type_matcher,
58 const Matcher<WriteBarrierKind>& write_barrier_matcher, 71 const Matcher<WriteBarrierKind>& write_barrier_matcher,
59 const Matcher<Node*>& base_matcher, 72 const Matcher<Node*>& base_matcher,
60 const Matcher<Node*>& index_matcher, 73 const Matcher<Node*>& index_matcher,
61 const Matcher<Node*>& value_matcher, 74 const Matcher<Node*>& value_matcher,
(...skipping 18 matching lines...) Expand all
80 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, 93 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher,
81 const Matcher<Node*>& rhs_matcher); 94 const Matcher<Node*>& rhs_matcher);
82 Matcher<Node*> IsConvertInt64ToInt32(const Matcher<Node*>& input_matcher); 95 Matcher<Node*> IsConvertInt64ToInt32(const Matcher<Node*>& input_matcher);
83 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); 96 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher);
84 97
85 } // namespace compiler 98 } // namespace compiler
86 } // namespace internal 99 } // namespace internal
87 } // namespace v8 100 } // namespace v8
88 101
89 #endif // V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_ 102 #endif // V8_COMPILER_UNITTESTS_GRAPH_UNITTEST_H_
OLDNEW
« no previous file with comments | « test/compiler-unittests/common-operator-unittest.cc ('k') | test/compiler-unittests/graph-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698