Home
last modified time | relevance | path

Searched refs:ull (Results 1 – 25 of 62) sorted by relevance

123

/llvm-project-15.0.7/clang/test/CodeGen/
H A DAtomics.c12 unsigned long long ull; variable
85 ull = __sync_fetch_and_add (&ull, 11); // CHECK: atomicrmw add in test_fetch_and_op()
94 ull = __sync_fetch_and_sub (&ull, 11); // CHECK: atomicrmw sub in test_fetch_and_op()
103 ull = __sync_fetch_and_or (&ull, 11); // CHECK: atomicrmw or in test_fetch_and_op()
112 ull = __sync_fetch_and_xor (&ull, 11); // CHECK: atomicrmw xor in test_fetch_and_op()
130 ull = __sync_fetch_and_and (&ull, 11); // CHECK: atomicrmw and in test_fetch_and_op()
143 ull = __sync_add_and_fetch (&ull, uc); // CHECK: atomicrmw add in test_op_and_fetch()
152 ull = __sync_sub_and_fetch (&ull, uc); // CHECK: atomicrmw sub in test_op_and_fetch()
161 ull = __sync_or_and_fetch (&ull, uc); // CHECK: atomicrmw or in test_op_and_fetch()
170 ull = __sync_xor_and_fetch (&ull, uc); // CHECK: atomicrmw xor in test_op_and_fetch()
[all …]
H A Dcomplex-convert.c146 csc1 = ull; in foo()
176 cuc1 = ull; in foo()
207 csll1 = ull; in foo()
237 cull1 = ull; in foo()
428 csll1 = ull + csc; in foo()
443 cull1 = ull + cuc; in foo()
458 csll1 = ull + csll; in foo()
471 cull1 = ull + cull; in foo()
535 csll1 = csc + ull; in foo()
601 cull1 = cuc + ull; in foo()
[all …]
H A DNontemporal.cpp11 unsigned long long ull; variable
28 __builtin_nontemporal_store(1, &ull); // CHECK: store i64{{.*}}align 8, !nontemporal in test_all_sizes()
42 ull = __builtin_nontemporal_load(&sll); // CHECK: load i64{{.*}}align 8, !nontemporal in test_all_sizes()
43 sll = __builtin_nontemporal_load(&ull); // CHECK: load i64{{.*}}align 8, !nontemporal in test_all_sizes()
H A Diamcu-abi.c8 void fooull(unsigned long long *ull);
28 unsigned long long ull = 2; in testunsignedlonglong() local
29 fooull(&ull); in testunsignedlonglong()
H A Dnvptx-inlineasm-ptx.c12 unsigned long long ull; in constraints() local
34 asm volatile ("mov.b64 %0, %1;" : "=l"(ull) : "l"(ull)); in constraints()
/llvm-project-15.0.7/clang/test/CodeGen/PowerPC/
H A Dbuiltins-ppc-xlcompat-pwr9-64bit.c14 extern unsigned long long ull;
45 return __builtin_ppc_maddhdu(ull, ull, ull); in test_builtin_ppc_maddhdu()
61 return __builtin_ppc_maddld(ull, ull, ull); in test_builtin_ppc_maddld_unsigned()
74 double insert_exp (double d, unsigned long long ull) { in insert_exp() argument
81 return __insert_exp (d, ull); in insert_exp()
97 return __builtin_ppc_addex(ull, ull, 0); in test_builtin_ppc_addex1()
H A Dbuiltins-ppc-pwr10-64bit.c17 extern unsigned long long ull;
24 return __builtin_pextd(ull, ull); in test_builtin_pextd()
32 return __builtin_pdepd(ull, ull); in test_builtin_pdepd()
H A Dbuiltins-ppc-xlcompat-error.c14 extern unsigned long long ull;
30 …unsigned long long res = __builtin_ppc_rldimi(ull, ull, shift, 7); // expected-error {{argument to… in test_builtin_ppc_rldimi()
31 …res = __builtin_ppc_rldimi(ull, ull, 63, mask); // expected-error {{argument to… in test_builtin_ppc_rldimi()
32 …res = __builtin_ppc_rldimi(ull, ull, 63, 0xFFFF000000000F00); // expected-error {{argument 3 … in test_builtin_ppc_rldimi()
H A Dbuiltins-ppc-xlcompat-pwr9-warning.c5 extern unsigned long long ull;
10 …unsigned long long res2 = __builtin_ppc_addex(ull, ull, 3); // expected-warning {{argument value 3… in test_builtin_ppc_addex()
H A Dbuiltins-ppc-xlcompat-pwr9-error.c12 extern unsigned long long ull;
25 …unsigned long long res2 = __builtin_ppc_addex(ull, ull, -1); // expected-error {{argument value -1… in test_builtin_ppc_addex()
H A Dbuiltins-ppc-xlcompat-rotate.c12 extern unsigned long long ull;
27 unsigned long long res = __builtin_ppc_rldimi(ull, ull, 63, 0x00FFFFFFF0000000); in test_builtin_ppc_rldimi()
H A Dbuiltins-ppc-xlcompat-load-store-reversed-64bit-only.c11 extern unsigned long long ull;
23 __builtin_ppc_store8r(ull, ull_addr); in test_builtin_ppc_store8r()
H A Dbuiltins-ppc-xlcompat-popcnt.c12 extern unsigned long long ull;
30 return __builtin_ppc_poppar8(ull); in test_builtin_ppc_poppar8()
/llvm-project-15.0.7/clang/test/CodeGenCUDA/
H A Dshuffle_long_long.cu49 unsigned long long ull = 13; in test_long_long() local
52 ull = __shfl(ull, 7, 32); in test_long_long()
54 use(ull, ll); in test_long_long()
56 ull = __shfl_sync(0x11, ull, 7, 32); in test_long_long()
58 use(ull, ll); in test_long_long()
/llvm-project-15.0.7/compiler-rt/lib/builtins/ppc/
H A Dfixunstfti.c33 unsigned long long ull[2]; // High and low doubles as 64-bit integers. in __fixunstfti() member
46 hiExponent = ((ldUnion.ull[0] & 0x7FFFFFFFFFFFFFFFll) >> 52) - BIAS; in __fixunstfti()
47 loExponent = ((ldUnion.ull[1] & 0x7FFFFFFFFFFFFFFFll) >> 52) - BIAS; in __fixunstfti()
72 ldUnion.ull[0] &= 0x800FFFFFFFFFFFFFll; in __fixunstfti()
73 ldUnion.ull[0] |= 0x4350000000000000ll; in __fixunstfti()
96 ldUnion.ull[1] &= 0x800FFFFFFFFFFFFFll; in __fixunstfti()
97 ldUnion.ull[1] |= 0x4350000000000000ll; in __fixunstfti()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Dnarrowing-conversions-unsigned-char.cpp15 unsigned long long ull; in narrow_integer_to_unsigned_integer_is_ok() local
27 c = ull; in narrow_integer_to_unsigned_integer_is_ok()
41 unsigned long long ull; in narrow_integer_to_signed_integer_is_not_ok() local
61 sc = ull; in narrow_integer_to_signed_integer_is_not_ok()
H A Dnarrowing-conversions.cpp130 unsigned long long ull; in narrow_integer_to_unsigned_integer_is_ok() local
142 uc = ull; in narrow_integer_to_unsigned_integer_is_ok()
156 unsigned long long ull; in narrow_integer_to_signed_integer_is_not_ok() local
176 c = ull; in narrow_integer_to_signed_integer_is_not_ok()
193 i = ull; in narrow_integer_to_signed_integer_is_not_ok()
207 ll = ull; in narrow_integer_to_signed_integer_is_not_ok()
H A Dnarrowing-conversions-long-is-32bits.cpp15 unsigned long long ull; // i.e. uint64_t in narrow_integer_to_signed_integer_is_not_ok() local
21 ll = ull; // uint64_t does not fit in an int64_t in narrow_integer_to_signed_integer_is_not_ok()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A DAtomics-64.ll14 @ull = common global i64 0
105 store i64 %9, ptr @ull, align 8
125 store i64 %19, ptr @ull, align 8
145 store i64 %29, ptr @ull, align 8
165 store i64 %39, ptr @ull, align 8
185 store i64 %49, ptr @ull, align 8
205 store i64 %59, ptr @ull, align 8
267 store i64 %43, ptr @ull, align 8
321 store i64 %87, ptr @ull, align 8
635 store i64 %59, ptr @ull, align 8
[all …]
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-numeric-literals.m71 [NSNumber numberWithChar:2ull];
101 [NSNumber numberWithUnsignedChar:2ull];
131 [NSNumber numberWithShort:2ull];
189 [NSNumber numberWithInt:2ull];
224 [NSNumber numberWithUnsignedInt:2ull];
253 [NSNumber numberWithLong:2ull];
311 [NSNumber numberWithLongLong:2ull];
369 [NSNumber numberWithFloat:2ull];
398 [NSNumber numberWithDouble:2ull];
427 [NSNumber numberWithBool:2ull];
[all …]
H A Dobjcmt-numeric-literals.m.result71 [NSNumber numberWithChar:2ull];
101 [NSNumber numberWithUnsignedChar:2ull];
131 [NSNumber numberWithShort:2ull];
160 [NSNumber numberWithUnsignedShort:2ull];
333 @2ull;
335 @2ull;
337 @2ull;
338 @2ull;
339 @2ull;
340 @2ull;
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/BPF/CORE/
H A Doffset-reloc-fieldinfo-2.ll19 ; unsigned long long ull;
24 ; ull = *(unsigned char *)((void *)arg + offset); break;
26 ; ull = *(unsigned short *)((void *)arg + offset); break;
28 ; ull = *(unsigned int *)((void *)arg + offset); break;
30 ; ull = *(unsigned long long *)((void *)arg + offset); break;
32 ; ull <<= __builtin_preserve_field_info(arg->b2, FIELD_LSHIFT_U64);
34 ; return ((long long)ull) >>__builtin_preserve_field_info(arg->b2, FIELD_RSHIFT_U64);
35 ; return ull >> __builtin_preserve_field_info(arg->b2, FIELD_RSHIFT_U64);
100 call void @llvm.dbg.value(metadata i64 %ull.0, metadata !38, metadata !DIExpression()), !dbg !41
103 %shl = shl i64 %ull.0, %sh_prom, !dbg !76
[all …]
H A Doffset-reloc-fieldinfo-2-bpfeb.ll19 ; unsigned long long ull;
24 ; ull = *(unsigned char *)((void *)arg + offset); break;
26 ; ull = *(unsigned short *)((void *)arg + offset); break;
28 ; ull = *(unsigned int *)((void *)arg + offset); break;
30 ; ull = *(unsigned long long *)((void *)arg + offset); break;
32 ; ull <<= __builtin_preserve_field_info(arg->b2, FIELD_LSHIFT_U64);
34 ; return ((long long)ull) >>__builtin_preserve_field_info(arg->b2, FIELD_RSHIFT_U64);
35 ; return ull >> __builtin_preserve_field_info(arg->b2, FIELD_RSHIFT_U64);
100 call void @llvm.dbg.value(metadata i64 %ull.0, metadata !38, metadata !DIExpression()), !dbg !41
103 %shl = shl i64 %ull.0, %sh_prom, !dbg !76
[all …]
H A Doffset-reloc-fieldinfo-1.ll20 ; unsigned long long ull;
25 ; bpf_probe_read(&ull, size, (const void *)arg + offset);
30 ; ull <<= lshift;
32 ; return (long long)ull >> __builtin_preserve_field_info(arg->b2, FIELD_RSHIFT_U64);
33 ; return ull >> __builtin_preserve_field_info(arg->b2, FIELD_RSHIFT_U64);
45 %ull = alloca i64, align 8
47 %0 = bitcast i64* %ull to i8*, !dbg !38
60 %6 = load i64, i64* %ull, align 8, !dbg !46, !tbaa !47
178 !32 = !DILocalVariable(name: "ull", scope: !20, file: !1, line: 16, type: !33)
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dabs.verify.cpp24 unsigned long long ull = -5; in f() local
25 (void)std::abs(ull); // expected-error {{call to 'abs' is ambiguous}} in f()

123