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

Side by Side Diff: test/cctest/compiler/test-loop-analysis.cc

Issue 1409993002: [turbofan] Move SimplifiedOperatorBuilder into JSGraph. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/compiler/access-builder.h" 7 #include "src/compiler/access-builder.h"
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph.h" 9 #include "src/compiler/graph.h"
10 #include "src/compiler/graph-visualizer.h" 10 #include "src/compiler/graph-visualizer.h"
(...skipping 21 matching lines...) Expand all
32 32
33 static const int kNumLeafs = 4; 33 static const int kNumLeafs = 4;
34 34
35 // A helper for all tests dealing with LoopFinder. 35 // A helper for all tests dealing with LoopFinder.
36 class LoopFinderTester : HandleAndZoneScope { 36 class LoopFinderTester : HandleAndZoneScope {
37 public: 37 public:
38 LoopFinderTester() 38 LoopFinderTester()
39 : isolate(main_isolate()), 39 : isolate(main_isolate()),
40 common(main_zone()), 40 common(main_zone()),
41 graph(main_zone()), 41 graph(main_zone()),
42 jsgraph(main_isolate(), &graph, &common, NULL, NULL), 42 jsgraph(main_isolate(), &graph, &common, nullptr, nullptr, nullptr),
43 start(graph.NewNode(common.Start(1))), 43 start(graph.NewNode(common.Start(1))),
44 end(graph.NewNode(common.End(1), start)), 44 end(graph.NewNode(common.End(1), start)),
45 p0(graph.NewNode(common.Parameter(0), start)), 45 p0(graph.NewNode(common.Parameter(0), start)),
46 zero(jsgraph.Int32Constant(0)), 46 zero(jsgraph.Int32Constant(0)),
47 one(jsgraph.OneConstant()), 47 one(jsgraph.OneConstant()),
48 half(jsgraph.Constant(0.5)), 48 half(jsgraph.Constant(0.5)),
49 self(graph.NewNode(common.Int32Constant(0xaabbccdd))), 49 self(graph.NewNode(common.Int32Constant(0xaabbccdd))),
50 dead(graph.NewNode(common.Dead())), 50 dead(graph.NewNode(common.Dead())),
51 loop_tree(NULL) { 51 loop_tree(NULL) {
52 graph.SetEnd(end); 52 graph.SetEnd(end);
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 TEST(LaManyNested_31) { RunManyNestedLoops_i(31); } 1005 TEST(LaManyNested_31) { RunManyNestedLoops_i(31); }
1006 TEST(LaManyNested_32) { RunManyNestedLoops_i(32); } 1006 TEST(LaManyNested_32) { RunManyNestedLoops_i(32); }
1007 TEST(LaManyNested_33) { RunManyNestedLoops_i(33); } 1007 TEST(LaManyNested_33) { RunManyNestedLoops_i(33); }
1008 TEST(LaManyNested_34) { RunManyNestedLoops_i(34); } 1008 TEST(LaManyNested_34) { RunManyNestedLoops_i(34); }
1009 TEST(LaManyNested_62) { RunManyNestedLoops_i(62); } 1009 TEST(LaManyNested_62) { RunManyNestedLoops_i(62); }
1010 TEST(LaManyNested_63) { RunManyNestedLoops_i(63); } 1010 TEST(LaManyNested_63) { RunManyNestedLoops_i(63); }
1011 TEST(LaManyNested_64) { RunManyNestedLoops_i(64); } 1011 TEST(LaManyNested_64) { RunManyNestedLoops_i(64); }
1012 1012
1013 1013
1014 TEST(LaPhiTangle) { LoopFinderTester t; } 1014 TEST(LaPhiTangle) { LoopFinderTester t; }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-js-typed-lowering.cc ('k') | test/cctest/compiler/test-machine-operator-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698