| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_AOT_OPTIMIZER_H_ | 5 #ifndef VM_AOT_OPTIMIZER_H_ |
| 6 #define VM_AOT_OPTIMIZER_H_ | 6 #define VM_AOT_OPTIMIZER_H_ |
| 7 | 7 |
| 8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
| 9 #include "vm/flow_graph.h" | 9 #include "vm/flow_graph.h" |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 const ICData& TrySpecializeICData(const ICData& ic_data, intptr_t cid); | 63 const ICData& TrySpecializeICData(const ICData& ic_data, intptr_t cid); |
| 64 | 64 |
| 65 bool TryReplaceWithIndexedOp(InstanceCallInstr* call); | 65 bool TryReplaceWithIndexedOp(InstanceCallInstr* call); |
| 66 | 66 |
| 67 bool TryReplaceWithBinaryOp(InstanceCallInstr* call, Token::Kind op_kind); | 67 bool TryReplaceWithBinaryOp(InstanceCallInstr* call, Token::Kind op_kind); |
| 68 bool TryReplaceWithUnaryOp(InstanceCallInstr* call, Token::Kind op_kind); | 68 bool TryReplaceWithUnaryOp(InstanceCallInstr* call, Token::Kind op_kind); |
| 69 | 69 |
| 70 bool TryReplaceWithEqualityOp(InstanceCallInstr* call, Token::Kind op_kind); | 70 bool TryReplaceWithEqualityOp(InstanceCallInstr* call, Token::Kind op_kind); |
| 71 bool TryReplaceWithRelationalOp(InstanceCallInstr* call, Token::Kind op_kind); | 71 bool TryReplaceWithRelationalOp(InstanceCallInstr* call, Token::Kind op_kind); |
| 72 | 72 |
| 73 bool TryInlineFieldAccess(InstanceCallInstr* call); |
| 73 bool TryInlineInstanceGetter(InstanceCallInstr* call); | 74 bool TryInlineInstanceGetter(InstanceCallInstr* call); |
| 74 bool TryInlineInstanceSetter(InstanceCallInstr* call, | 75 bool TryInlineInstanceSetter(InstanceCallInstr* call, |
| 75 const ICData& unary_ic_data); | 76 const ICData& unary_ic_data); |
| 76 | 77 |
| 77 bool TryInlineInstanceMethod(InstanceCallInstr* call); | 78 bool TryInlineInstanceMethod(InstanceCallInstr* call); |
| 78 bool TryInlineFloat32x4Constructor(StaticCallInstr* call, | 79 bool TryInlineFloat32x4Constructor(StaticCallInstr* call, |
| 79 MethodRecognizer::Kind recognized_kind); | 80 MethodRecognizer::Kind recognized_kind); |
| 80 bool TryInlineFloat64x2Constructor(StaticCallInstr* call, | 81 bool TryInlineFloat64x2Constructor(StaticCallInstr* call, |
| 81 MethodRecognizer::Kind recognized_kind); | 82 MethodRecognizer::Kind recognized_kind); |
| 82 bool TryInlineInt32x4Constructor(StaticCallInstr* call, | 83 bool TryInlineInt32x4Constructor(StaticCallInstr* call, |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 | 172 |
| 172 GrowableArray<intptr_t>* inlining_black_list_; | 173 GrowableArray<intptr_t>* inlining_black_list_; |
| 173 | 174 |
| 174 DISALLOW_COPY_AND_ASSIGN(AotOptimizer); | 175 DISALLOW_COPY_AND_ASSIGN(AotOptimizer); |
| 175 }; | 176 }; |
| 176 | 177 |
| 177 | 178 |
| 178 } // namespace dart | 179 } // namespace dart |
| 179 | 180 |
| 180 #endif // VM_AOT_OPTIMIZER_H_ | 181 #endif // VM_AOT_OPTIMIZER_H_ |
| OLD | NEW |