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

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

Issue 215363004: Support for multiple register values (Closed) Base URL: https://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
« no previous file with comments | « runtime/vm/flow_graph.cc ('k') | runtime/vm/flow_graph_allocator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_ALLOCATOR_H_ 5 #ifndef VM_FLOW_GRAPH_ALLOCATOR_H_
6 #define VM_FLOW_GRAPH_ALLOCATOR_H_ 6 #define VM_FLOW_GRAPH_ALLOCATOR_H_
7 7
8 #include "vm/flow_graph.h" 8 #include "vm/flow_graph.h"
9 #include "vm/growable_array.h" 9 #include "vm/growable_array.h"
10 #include "vm/intermediate_language.h" 10 #include "vm/intermediate_language.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // all SSA values. 102 // all SSA values.
103 void BuildLiveRanges(); 103 void BuildLiveRanges();
104 104
105 Instruction* ConnectOutgoingPhiMoves(BlockEntryInstr* block, 105 Instruction* ConnectOutgoingPhiMoves(BlockEntryInstr* block,
106 BitVector* interference_set); 106 BitVector* interference_set);
107 void ProcessEnvironmentUses(BlockEntryInstr* block, Instruction* current); 107 void ProcessEnvironmentUses(BlockEntryInstr* block, Instruction* current);
108 void ProcessMaterializationUses(BlockEntryInstr* block, 108 void ProcessMaterializationUses(BlockEntryInstr* block,
109 const intptr_t block_start_pos, 109 const intptr_t block_start_pos,
110 const intptr_t use_pos, 110 const intptr_t use_pos,
111 MaterializeObjectInstr* mat); 111 MaterializeObjectInstr* mat);
112 void ProcessOneInput(BlockEntryInstr* block,
113 intptr_t pos,
114 Location* in_ref,
115 Value* input,
116 intptr_t vreg);
117 void ProcessOneOutput(BlockEntryInstr* block,
118 Instruction* current,
119 intptr_t pos,
120 Location* out,
121 Definition* def,
122 intptr_t vreg,
123 bool output_same_as_first_input,
124 Location* in_ref,
125 Definition* input,
126 intptr_t input_vreg,
127 BitVector* interference_set);
112 void ProcessOneInstruction(BlockEntryInstr* block, 128 void ProcessOneInstruction(BlockEntryInstr* block,
113 Instruction* instr, 129 Instruction* instr,
114 BitVector* interference_set); 130 BitVector* interference_set);
115 void ProcessInitialDefinition(Definition* defn, 131 void ProcessInitialDefinition(Definition* defn,
116 LiveRange* range, 132 LiveRange* range,
117 BlockEntryInstr* block); 133 BlockEntryInstr* block);
118 void ConnectIncomingPhiMoves(JoinEntryInstr* join); 134 void ConnectIncomingPhiMoves(JoinEntryInstr* join);
119 void BlockLocation(Location loc, intptr_t from, intptr_t to); 135 void BlockLocation(Location loc, intptr_t from, intptr_t to);
120 void BlockRegisterLocation(Location loc, 136 void BlockRegisterLocation(Location loc,
121 intptr_t from, 137 intptr_t from,
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 662
647 AllocationFinger finger_; 663 AllocationFinger finger_;
648 664
649 DISALLOW_COPY_AND_ASSIGN(LiveRange); 665 DISALLOW_COPY_AND_ASSIGN(LiveRange);
650 }; 666 };
651 667
652 668
653 } // namespace dart 669 } // namespace dart
654 670
655 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_ 671 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph.cc ('k') | runtime/vm/flow_graph_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698