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

Side by Side Diff: runtime/vm/flow_graph_optimizer.h

Issue 258563004: Copy of Issue 231383002 after hard disk crash: First step in improving instance of test for a fixed… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 (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_FLOW_GRAPH_OPTIMIZER_H_ 5 #ifndef VM_FLOW_GRAPH_OPTIMIZER_H_
6 #define VM_FLOW_GRAPH_OPTIMIZER_H_ 6 #define VM_FLOW_GRAPH_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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 MethodRecognizer::Kind getter); 218 MethodRecognizer::Kind getter);
219 bool InlineFloat32x4BinaryOp(InstanceCallInstr* call, 219 bool InlineFloat32x4BinaryOp(InstanceCallInstr* call,
220 Token::Kind op_kind); 220 Token::Kind op_kind);
221 bool InlineInt32x4BinaryOp(InstanceCallInstr* call, 221 bool InlineInt32x4BinaryOp(InstanceCallInstr* call,
222 Token::Kind op_kind); 222 Token::Kind op_kind);
223 bool InlineFloat64x2BinaryOp(InstanceCallInstr* call, 223 bool InlineFloat64x2BinaryOp(InstanceCallInstr* call,
224 Token::Kind op_kind); 224 Token::Kind op_kind);
225 void InlineImplicitInstanceGetter(InstanceCallInstr* call); 225 void InlineImplicitInstanceGetter(InstanceCallInstr* call);
226 226
227 RawBool* InstanceOfAsBool(const ICData& ic_data, 227 RawBool* InstanceOfAsBool(const ICData& ic_data,
228 const AbstractType& type) const; 228 const AbstractType& type,
229 ZoneGrowableArray<intptr_t>* results) const;
229 230
230 void ReplaceWithMathCFunction(InstanceCallInstr* call, 231 void ReplaceWithMathCFunction(InstanceCallInstr* call,
231 MethodRecognizer::Kind recognized_kind); 232 MethodRecognizer::Kind recognized_kind);
232 233
233 void OptimizeLeftShiftBitAndSmiOp(Definition* bit_and_instr, 234 void OptimizeLeftShiftBitAndSmiOp(Definition* bit_and_instr,
234 Definition* left_instr, 235 Definition* left_instr,
235 Definition* right_instr); 236 Definition* right_instr);
236 void TryMergeTruncDivMod(GrowableArray<BinarySmiOpInstr*>* merge_candidates); 237 void TryMergeTruncDivMod(GrowableArray<BinarySmiOpInstr*>* merge_candidates);
237 void TryMergeMathUnary(GrowableArray<MathUnaryInstr*>* merge_candidates); 238 void TryMergeMathUnary(GrowableArray<MathUnaryInstr*>* merge_candidates);
238 239
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 // Optimize spill stores inside try-blocks by identifying values that always 419 // Optimize spill stores inside try-blocks by identifying values that always
419 // contain a single known constant at catch block entry. 420 // contain a single known constant at catch block entry.
420 class TryCatchAnalyzer : public AllStatic { 421 class TryCatchAnalyzer : public AllStatic {
421 public: 422 public:
422 static void Optimize(FlowGraph* flow_graph); 423 static void Optimize(FlowGraph* flow_graph);
423 }; 424 };
424 425
425 } // namespace dart 426 } // namespace dart
426 427
427 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_ 428 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698