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

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

Issue 345563007: Add Uint32 representation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 25 matching lines...) Expand all
36 36
37 // Returns true if any instructions were canonicalized away. 37 // Returns true if any instructions were canonicalized away.
38 bool Canonicalize(); 38 bool Canonicalize();
39 39
40 void EliminateDeadPhis(); 40 void EliminateDeadPhis();
41 41
42 void SelectRepresentations(); 42 void SelectRepresentations();
43 43
44 void InferIntRanges(); 44 void InferIntRanges();
45 45
46 void SelectIntegerInstructions();
47
46 void AnalyzeTryCatch(); 48 void AnalyzeTryCatch();
47 49
48 bool TryInlineRecognizedMethod(intptr_t receiver_cid, 50 bool TryInlineRecognizedMethod(intptr_t receiver_cid,
49 const Function& target, 51 const Function& target,
50 Instruction* call, 52 Instruction* call,
51 Definition* receiver, 53 Definition* receiver,
52 intptr_t token_pos, 54 intptr_t token_pos,
53 const ICData& ic_data, 55 const ICData& ic_data,
54 TargetEntryInstr** entry, 56 TargetEntryInstr** entry,
55 Definition** last); 57 Definition** last);
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 // Optimize spill stores inside try-blocks by identifying values that always 454 // Optimize spill stores inside try-blocks by identifying values that always
453 // contain a single known constant at catch block entry. 455 // contain a single known constant at catch block entry.
454 class TryCatchAnalyzer : public AllStatic { 456 class TryCatchAnalyzer : public AllStatic {
455 public: 457 public:
456 static void Optimize(FlowGraph* flow_graph); 458 static void Optimize(FlowGraph* flow_graph);
457 }; 459 };
458 460
459 } // namespace dart 461 } // namespace dart
460 462
461 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_ 463 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698