Lines Matching refs:sum

8   int sum = 0;  in test_ldrex()  local
9 sum += __builtin_arm_ldrex(addr); in test_ldrex()
10 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex()
11 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex()
12 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex()
13 sum += __builtin_arm_ldrex((__int128 *)addr); in test_ldrex()
14 sum += __builtin_arm_ldrex((float *)addr); in test_ldrex()
15 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex()
16 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex()
17 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex()
18 sum += __builtin_arm_ldrex((volatile char *)addr); in test_ldrex()
19 sum += __builtin_arm_ldrex((const volatile char *)addr); in test_ldrex()
23sum += __builtin_arm_ldrex((struct Simple *)addr).a; // expected-error {{address argument to atomi… in test_ldrex()
27 return sum; in test_ldrex()
57 int sum = 0; in test_ldaex() local
58 sum += __builtin_arm_ldaex(addr); in test_ldaex()
59 sum += __builtin_arm_ldaex((short *)addr); in test_ldaex()
60 sum += __builtin_arm_ldaex((int *)addr); in test_ldaex()
61 sum += __builtin_arm_ldaex((long long *)addr); in test_ldaex()
62 sum += __builtin_arm_ldaex((__int128 *)addr); in test_ldaex()
63 sum += __builtin_arm_ldaex((float *)addr); in test_ldaex()
64 sum += __builtin_arm_ldaex((double *)addr); in test_ldaex()
65 sum += *__builtin_arm_ldaex((int **)addr); in test_ldaex()
66 sum += __builtin_arm_ldaex((struct Simple **)addr)->a; in test_ldaex()
67 sum += __builtin_arm_ldaex((volatile char *)addr); in test_ldaex()
68 sum += __builtin_arm_ldaex((const volatile char *)addr); in test_ldaex()
72sum += __builtin_arm_ldaex((struct Simple *)addr).a; // expected-error {{address argument to atomi… in test_ldaex()
76 return sum; in test_ldaex()