Home
last modified time | relevance | path

Searched refs:cmp (Results 1 – 25 of 54) sorted by relevance

123

/art/dex2oat/dex/
Ddex_to_dex_decompiler_test.cc73 int cmp = memcmp(original_dex_file->Begin(), in RunTest() local
76 ASSERT_EQ(0, cmp); in RunTest()
81 cmp = memcmp(original_dex_file->Begin(), updated_dex_file->Begin(), updated_dex_file->Size()); in RunTest()
82 ASSERT_NE(0, cmp); in RunTest()
102 cmp = memcmp(original_dex_file->Begin(), updated_dex_file->Begin(), updated_dex_file->Size()); in RunTest()
103 ASSERT_EQ(0, cmp); in RunTest()
/art/test/069-field-type/src/
DMain.java29 Comparable cmp = (Comparable) holder.mValue; in main() local
30 cmp.compareTo(cmp); in main()
/art/libdexfile/dex/
Dstring_reference_test.cc48 StringReferenceValueComparator cmp; in TEST() local
49 EXPECT_TRUE(cmp(sr1, sr2)); // "String1" < "String2" is true. in TEST()
50 EXPECT_FALSE(cmp(sr2, sr1)); // "String2" < "String1" is false. in TEST()
99 StringReferenceValueComparator cmp; in TEST() local
104 EXPECT_EQ(expectedCmp12[index1][index2], cmp(sr1, sr2)) << index1 << " " << index2; in TEST()
105 EXPECT_EQ(expectedCmp21[index2][index1], cmp(sr2, sr1)) << index1 << " " << index2; in TEST()
/art/runtime/arch/x86/
Dmemcmp16_x86.S52 cmp $48, %ecx
95 cmp $0, %edx
97 cmp $2, %edx
99 cmp $4, %edx
101 cmp $6, %edx
103 cmp $8, %edx
105 cmp $10, %edx
107 cmp $12, %edx
113 cmp $80, %ecx
160 cmp $0, %ecx
[all …]
/art/runtime/interpreter/mterp/arm/
Dinvoke.S14 cmp r0, #0
18 cmp r0, #0
37 cmp r0, #0
41 cmp r0, #0
Darray.S19 cmp r0, #0 @ null array object?
23 cmp r1, r3 @ compare unsigned index, length
56 cmp r1, #0
79 cmp r0, #0 @ null array object?
83 cmp r1, r3 @ compare unsigned index, length
111 cmp r0, #0 @ null array object?
115 cmp r1, r3 @ compare unsigned index, length
142 cmp r0, #0
164 cmp r0, #0 @ null array object?
168 cmp r1, r3 @ compare unsigned index, length
[all …]
Dobject.S12 cmp r0, #0
31 cmp r0, #0
119 cmp r3, #0
156 cmp r3, #0 @ check object for null
184 cmp r1, #0 @ exception pending?
221 cmp r0, #0
234 cmp r3, #0 @ check object for null
257 cmp r2, #0 @ check object for null
276 cmp r0, #0
Dcontrol_flow.S14 cmp r0, r3 @ compare (vA, vB)
16 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry?
33 cmp r0, #0 @ compare (vA, 0)
35 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry?
206 cmp r1, #0 @ null object?
Dfloating_point.S339 cmp r2, r3 @ MINLONG < x > MAXLONG?
344 cmp r2, r3
380 cmp r2, #0xbe @ MININT < x > MAXINT?
384 cmp r2, #0xff @ NaN or infinity?
Dmain.S540 cmp r0, #0 @ Exception pending?
552 cmp r0, #0
560 cmp r0, #0
593 cmp rINST, #0
735 cmp rPROFILE, #0
Darithmetic.S25 cmp r1, #0 @ is second operand zero?
58 cmp r1, #0 @ is second operand zero?
89 cmp r1, #0 @ is second operand zero?
125 @cmp r1, #0 @ is second operand zero?
350 cmp r0, r2
378 cmp r1, #0 @ is second operand zero?
407 cmp r1, #0 @ is second operand zero?
437 cmp r1, #0 @ is second operand zero?
467 @cmp r1, #0 @ is second operand zero?
633 cmp r1, #0 @ is second operand zero?
[all …]
/art/runtime/arch/x86_64/
Dmemcmp16_x86_64.S48 cmp $79, %rdx
71 cmp $128, %rdx
95 cmp $32, %rdx
118 cmp $512, %rdx
120 cmp $256, %rdx
168 cmp $64, %rdx
171 cmp $32, %rdx
276 cmp $128, %rdx
279 cmp $64, %rdx
282 cmp $32, %rdx
[all …]
/art/compiler/optimizing/
Dbounds_check_elimination_test.cc82 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(parameter2, constant_0); in TEST_F() local
83 HIf* if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
84 block1->AddInstruction(cmp); in TEST_F()
105 cmp = new (GetAllocator()) HLessThan(parameter2, array_length); in TEST_F()
106 if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
109 block3->AddInstruction(cmp); in TEST_F()
180 HInstruction* cmp = new (GetAllocator()) HLessThanOrEqual(parameter2, constant_0); in TEST_F() local
181 HIf* if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
182 block1->AddInstruction(cmp); in TEST_F()
247 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(parameter2, array_length); in TEST_F() local
[all …]
Dinduction_var_analysis.cc100 IfCondition cmp, in IsGuardedBy() argument
131 return cmp == other_cmp; in IsGuardedBy()
133 switch (cmp) { in IsGuardedBy()
138 default: LOG(FATAL) << "unexpected cmp: " << cmp; in IsGuardedBy()
925 IfCondition cmp) { in VisitCondition() argument
928 switch (cmp) { in VisitCondition()
951 if (cmp == kCondNE && RewriteBreakLoop(loop, body, stride_value, type)) { in VisitCondition()
952 cmp = stride_value > 0 ? kCondLE : kCondGE; in VisitCondition()
957 if (cmp == kCondNE && ((stride_value == +1 && IsTaken(lower_expr, upper_expr, kCondLE)) || in VisitCondition()
959 cmp = stride_value > 0 ? kCondLT : kCondGT; in VisitCondition()
[all …]
Dinduction_var_analysis.h209 IfCondition cmp);
216 IfCondition cmp);
217 bool IsTaken(InductionInfo* lower_expr, InductionInfo* upper_expr, IfCondition cmp);
221 IfCondition cmp);
226 IfCondition cmp);
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S786 cmp r3, ip @ value's type == array's component type - trivial assignability
1068 cmp r3, r12
1072 cmp r3, #ROSALLOC_MAX_THREAD_LOCAL_BRACKET_SIZE // Check if the size is for a thread
1181 cmp r3, r12 // Check if it fits.
1266 cmp r2, r12 // Check if the total_size fits.
1321 cmp r1, r2
1348 cmp r1, r2
1358 cmp r1, r2
1369 cmp r1, r2
1380 cmp r1, r2
[all …]
Djni_entrypoints_arm.S140 cmp r0, ip
202 cmp ip, #0
214 cmp r1, r0
/art/runtime/interpreter/mterp/arm64/
Dcontrol_flow.S14 cmp w2, w3 // compare (vA, vB)
16 cmp wPROFILE, #JIT_CHECK_OSR // possible OSR re-entry?
34 cmp w2, #0 // compare (vA, 0)
37 cmp wPROFILE, #JIT_CHECK_OSR // possible OSR re-entry?
Darray.S22 cmp w1, w3 // compare unsigned index, length
79 cmp w1, w3 // compare unsigned index, length
108 cmp w1, w3 // compare unsigned index, length
158 cmp w1, w3 // compare unsigned index, length
/art/runtime/arch/arm64/
Dquick_entrypoints_arm64.S426 cmp w10, #'V'
430 cmp w10, #'D'
434 cmp w10, #'F'
517 cmp w17, #'F' // is this a float?
520 cmp x15, # 8*12 // Skip this load if all registers full.
527 cmp w17, #'D' // is this a double?
530 cmp x15, # 8*12 // Skip this load if all registers full.
537 cmp w17, #'J' // is this a long?
540 cmp x8, # 6*12 // Skip this load if all registers full.
547 cmp x8, # 6*12 // Skip this load if all registers full.
[all …]
Djni_entrypoints_arm64.S160 cmp x8, x9
202 cmp sp, x8
/art/libartbase/base/
Dintrusive_forward_list.h327 void merge(IntrusiveForwardList& other, Compare cmp) { in merge() argument
333 if (cmp(*other_current, *current)) { in merge()
347 void merge(IntrusiveForwardList&& other, Compare cmp) { in merge() argument
348 merge(other, cmp); // Use l-value overload. in merge()
354 void sort(Compare cmp) { in sort() argument
361 sort(cmp); in sort()
362 second_half.sort(cmp); in sort()
363 merge(second_half, cmp); in sort()
/art/test/800-smali/smali/
DCmpLong.smali16 cmp-long v0, v101, v4
/art/test/432-optimizing-cmp/smali/
Dcmp.smali7 cmp-long v0, v1, v3
/art/test/dexdump/
Drun-all-tests99 cmp ${expected_output} ${actual_output}

123