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

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

Issue 2379733002: Recognize and optimize a.runtimeType == b.runtimeType pattern. (Closed)
Patch Set: port to all arch, make AOT opt non-speculative Created 4 years, 2 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
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_ASSEMBLER_ARM_H_ 5 #ifndef VM_ASSEMBLER_ARM_H_
6 #define VM_ASSEMBLER_ARM_H_ 6 #define VM_ASSEMBLER_ARM_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_arm.h directly; use assembler.h instead. 9 #error Do not include assembler_arm.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 693
694 // Add signed immediate value to rd. May clobber IP. 694 // Add signed immediate value to rd. May clobber IP.
695 void AddImmediate(Register rd, int32_t value, Condition cond = AL); 695 void AddImmediate(Register rd, int32_t value, Condition cond = AL);
696 void AddImmediate(Register rd, Register rn, int32_t value, 696 void AddImmediate(Register rd, Register rn, int32_t value,
697 Condition cond = AL); 697 Condition cond = AL);
698 void AddImmediateSetFlags(Register rd, Register rn, int32_t value, 698 void AddImmediateSetFlags(Register rd, Register rn, int32_t value,
699 Condition cond = AL); 699 Condition cond = AL);
700 void SubImmediateSetFlags(Register rd, Register rn, int32_t value, 700 void SubImmediateSetFlags(Register rd, Register rn, int32_t value,
701 Condition cond = AL); 701 Condition cond = AL);
702 void AndImmediate(Register rd, Register rs, int32_t imm, Condition cond = AL); 702 void AndImmediate(Register rd, Register rs, int32_t imm, Condition cond = AL);
703 void SubImmediate(Register rd, Register rn, int32_t imm, Condition cond = AL);
703 704
704 // Test rn and immediate. May clobber IP. 705 // Test rn and immediate. May clobber IP.
705 void TestImmediate(Register rn, int32_t imm, Condition cond = AL); 706 void TestImmediate(Register rn, int32_t imm, Condition cond = AL);
706 707
707 // Compare rn with signed immediate value. May clobber IP. 708 // Compare rn with signed immediate value. May clobber IP.
708 void CompareImmediate(Register rn, int32_t value, Condition cond = AL); 709 void CompareImmediate(Register rn, int32_t value, Condition cond = AL);
709 710
710 711
711 // Signed integer division of left by right. Checks to see if integer 712 // Signed integer division of left by right. Checks to see if integer
712 // division is supported. If not, uses the FPU for division with 713 // division is supported. If not, uses the FPU for division with
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 Register value, 1173 Register value,
1173 Label* no_update); 1174 Label* no_update);
1174 1175
1175 DISALLOW_ALLOCATION(); 1176 DISALLOW_ALLOCATION();
1176 DISALLOW_COPY_AND_ASSIGN(Assembler); 1177 DISALLOW_COPY_AND_ASSIGN(Assembler);
1177 }; 1178 };
1178 1179
1179 } // namespace dart 1180 } // namespace dart
1180 1181
1181 #endif // VM_ASSEMBLER_ARM_H_ 1182 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698