OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_BRANCH_OPTIMIZER_H_ | 5 #ifndef RUNTIME_VM_BRANCH_OPTIMIZER_H_ |
6 #define VM_BRANCH_OPTIMIZER_H_ | 6 #define RUNTIME_VM_BRANCH_OPTIMIZER_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
11 | 11 |
12 class FlowGraph; | 12 class FlowGraph; |
13 class JoinEntryInstr; | 13 class JoinEntryInstr; |
14 class Zone; | 14 class Zone; |
15 class TargetEntryInstr; | 15 class TargetEntryInstr; |
16 class Value; | 16 class Value; |
(...skipping 29 matching lines...) Expand all Loading... |
46 // Rewrite diamond control flow patterns that materialize values to use more | 46 // Rewrite diamond control flow patterns that materialize values to use more |
47 // efficient branchless code patterns if such are supported on the current | 47 // efficient branchless code patterns if such are supported on the current |
48 // platform. | 48 // platform. |
49 class IfConverter : public AllStatic { | 49 class IfConverter : public AllStatic { |
50 public: | 50 public: |
51 static void Simplify(FlowGraph* flow_graph); | 51 static void Simplify(FlowGraph* flow_graph); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace dart | 54 } // namespace dart |
55 | 55 |
56 #endif // VM_BRANCH_OPTIMIZER_H_ | 56 #endif // RUNTIME_VM_BRANCH_OPTIMIZER_H_ |
OLD | NEW |