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

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

Issue 2254053002: Move inlining of recognized SIMD methods to the flow-graph inliner. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comment Created 4 years, 4 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_inliner.cc ('k') | runtime/vm/intermediate_language.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_INTERMEDIATE_LANGUAGE_H_ 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_
6 #define VM_INTERMEDIATE_LANGUAGE_H_ 6 #define VM_INTERMEDIATE_LANGUAGE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 void SetReachingType(CompileType* type) { 334 void SetReachingType(CompileType* type) {
335 reaching_type_ = type; 335 reaching_type_ = type;
336 } 336 }
337 337
338 void PrintTo(BufferFormatter* f) const; 338 void PrintTo(BufferFormatter* f) const;
339 339
340 const char* ToCString() const; 340 const char* ToCString() const;
341 341
342 bool IsSmiValue() { return Type()->ToCid() == kSmiCid; } 342 bool IsSmiValue() { return Type()->ToCid() == kSmiCid; }
343 343
344 // Returns true if this value binds to the constant: 0xFFFFFFFF.
345 bool BindsTo32BitMaskConstant() const;
346
347 // Return true if the value represents a constant. 344 // Return true if the value represents a constant.
348 bool BindsToConstant() const; 345 bool BindsToConstant() const;
349 346
350 // Return true if the value represents the constant null. 347 // Return true if the value represents the constant null.
351 bool BindsToConstantNull() const; 348 bool BindsToConstantNull() const;
352 349
353 // Assert if BindsToConstant() is false, otherwise returns the constant value. 350 // Assert if BindsToConstant() is false, otherwise returns the constant value.
354 const Object& BoundConstant() const; 351 const Object& BoundConstant() const;
355 352
356 // Compile time constants, Bool, Smi and Nulls do not need to update 353 // Compile time constants, Bool, Smi and Nulls do not need to update
(...skipping 7956 matching lines...) Expand 10 before | Expand all | Expand 10 after
8313 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ 8310 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \
8314 UNIMPLEMENTED(); \ 8311 UNIMPLEMENTED(); \
8315 return NULL; \ 8312 return NULL; \
8316 } \ 8313 } \
8317 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } 8314 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); }
8318 8315
8319 8316
8320 } // namespace dart 8317 } // namespace dart
8321 8318
8322 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8319 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698