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

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

Issue 1700103002: VM: Move representation selection code out of the flow graph optimizer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: remove some dead code Created 4 years, 10 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
« no previous file with comments | « runtime/vm/flow_graph.cc ('k') | runtime/vm/flow_graph_compiler_arm.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) 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_COMPILER_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_
6 #define VM_FLOW_GRAPH_COMPILER_H_ 6 #define VM_FLOW_GRAPH_COMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/code_descriptors.h" 10 #include "vm/code_descriptors.h"
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 const GrowableArray<const Function*>& inline_id_to_function, 304 const GrowableArray<const Function*>& inline_id_to_function,
305 const GrowableArray<intptr_t>& caller_inline_id); 305 const GrowableArray<intptr_t>& caller_inline_id);
306 306
307 ~FlowGraphCompiler(); 307 ~FlowGraphCompiler();
308 308
309 static bool SupportsUnboxedDoubles(); 309 static bool SupportsUnboxedDoubles();
310 static bool SupportsUnboxedMints(); 310 static bool SupportsUnboxedMints();
311 static bool SupportsSinCos(); 311 static bool SupportsSinCos();
312 static bool SupportsUnboxedSimd128(); 312 static bool SupportsUnboxedSimd128();
313 static bool SupportsHardwareDivision(); 313 static bool SupportsHardwareDivision();
314 static bool CanConvertUnboxedMintToDouble();
314 315
315 static bool IsUnboxedField(const Field& field); 316 static bool IsUnboxedField(const Field& field);
316 static bool IsPotentialUnboxedField(const Field& field); 317 static bool IsPotentialUnboxedField(const Field& field);
317 318
318 // Accessors. 319 // Accessors.
319 Assembler* assembler() const { return assembler_; } 320 Assembler* assembler() const { return assembler_; }
320 const ParsedFunction& parsed_function() const { return parsed_function_; } 321 const ParsedFunction& parsed_function() const { return parsed_function_; }
321 const GrowableArray<BlockEntryInstr*>& block_order() const { 322 const GrowableArray<BlockEntryInstr*>& block_order() const {
322 return block_order_; 323 return block_order_;
323 } 324 }
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 Array& inlined_code_intervals_; 782 Array& inlined_code_intervals_;
782 const GrowableArray<const Function*>& inline_id_to_function_; 783 const GrowableArray<const Function*>& inline_id_to_function_;
783 const GrowableArray<intptr_t>& caller_inline_id_; 784 const GrowableArray<intptr_t>& caller_inline_id_;
784 785
785 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 786 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
786 }; 787 };
787 788
788 } // namespace dart 789 } // namespace dart
789 790
790 #endif // VM_FLOW_GRAPH_COMPILER_H_ 791 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph.cc ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698