Home
last modified time | relevance | path

Searched refs:ui (Results 1 – 25 of 109) sorted by relevance

12345

/llvm-project-15.0.7/clang/test/CodeGen/PowerPC/
H A Dppc-x86gprintrin.c18 unsigned ui; variable
24 __andn_u32(ui, ui); in test_bmiintrin()
25 _bextr_u32(ui, ui, ui); in test_bmiintrin()
26 __bextr_u32(ui, ui); in test_bmiintrin()
28 _blsi_u32(ui); in test_bmiintrin()
32 _blsr_u32(ui); in test_bmiintrin()
36 _bextr_u64(ul, ui, ui); in test_bmiintrin()
153 _bzhi_u32(ui, ui); in test_bmi2intrin()
154 _mulx_u32(ui, ui, &ui); in test_bmi2intrin()
159 _pdep_u32(ui, ui); in test_bmi2intrin()
[all …]
H A Dbuiltins-ppc-xlcompat-error.c13 extern unsigned int ui;
38 …unsigned int res = __builtin_ppc_rlwimi(ui, ui, shift, 7); // expected-error {{argument to '__buil… in test_builtin_ppc_rlwimi()
39 …res = __builtin_ppc_rlwimi(ui, ui, 31, mask); // expected-error {{argument to '__buil… in test_builtin_ppc_rlwimi()
40 …res = __builtin_ppc_rlwimi(ui, ui, 31, 0xFFFF0F00); // expected-error {{argument 3 value sh… in test_builtin_ppc_rlwimi()
45 …unsigned int res = __builtin_ppc_rlwnm(ui, 31, mask); // expected-error {{argument to… in test_builtin_ppc_rlwnm()
46 …res = __builtin_ppc_rlwnm(ui, 31, 0xFF0F0F00); // expected-error {{argument 2 value should … in test_builtin_ppc_rlwnm()
H A Dbuiltins-ppc-xlcompat-pwr9.c13 extern unsigned int ui;
20 return __builtin_ppc_cmprb(0, ui, ui) + __builtin_ppc_cmprb(1, ui, ui); in test_builtin_ppc_cmprb()
H A Dbuiltins-ppc-xlcompat-rotate.c11 extern unsigned int ui;
43 unsigned int res = __builtin_ppc_rlwimi(ui, ui, 31, 0xFFFF00); in test_builtin_ppc_rlwimi()
56 unsigned int res = __builtin_ppc_rlwnm(ui, 31, 0x1FF); in test_builtin_ppc_rlwnm()
72 unsigned int res = __builtin_ppc_rlwnm(ui, shift, 0x1FF); in test_builtin_ppc_rlwnm2()
H A Dbuiltins-ppc-xlcompat-pwr9-error.c11 extern unsigned int ui;
18 …int res = __builtin_ppc_cmprb(3, ui, ui); // expected-error {{argument value 3 is outside the vali… in test_builtin_ppc_cmprb()
47 …return __test_data_class(ui, 0); // expected-error {{expected a 'float' or 'double' for the first … in test_test_data_class_type()
H A Dbuiltins-ppc-xlcompat-multiply.c12 extern unsigned int ui;
23 return __builtin_ppc_mulhwu(ui, ui); in test_builtin_ppc_mulhwu()
/llvm-project-15.0.7/clang/test/CodeGen/
H A DAtomics.c10 unsigned int ui; variable
83 ui = __sync_fetch_and_add (&ui, 11); // CHECK: atomicrmw add in test_fetch_and_op()
92 ui = __sync_fetch_and_sub (&ui, 11); // CHECK: atomicrmw sub in test_fetch_and_op()
101 ui = __sync_fetch_and_or (&ui, 11); // CHECK: atomicrmw or in test_fetch_and_op()
110 ui = __sync_fetch_and_xor (&ui, 11); // CHECK: atomicrmw xor in test_fetch_and_op()
128 ui = __sync_fetch_and_and (&ui, 11); // CHECK: atomicrmw and in test_fetch_and_op()
141 ui = __sync_add_and_fetch (&ui, uc); // CHECK: atomicrmw add in test_op_and_fetch()
150 ui = __sync_sub_and_fetch (&ui, uc); // CHECK: atomicrmw sub in test_op_and_fetch()
159 ui = __sync_or_and_fetch (&ui, uc); // CHECK: atomicrmw or in test_op_and_fetch()
246 ui = __sync_val_compare_and_swap (&ui, uc, sc); in test_compare_and_swap()
[all …]
H A Dxcore-abi.c122 volatile unsigned int ui = __builtin_getps(i); in testbuiltin() local
123 ui = __builtin_bitrev(ui); in testbuiltin()
124 __builtin_setps(i,ui); in testbuiltin()
H A DNontemporal.cpp9 unsigned int ui; variable
26 __builtin_nontemporal_store(1, &ui); // CHECK: store i32{{.*}}align 4, !nontemporal in test_all_sizes()
40 ui = __builtin_nontemporal_load(&si); // CHECK: load i32{{.*}}align 4, !nontemporal in test_all_sizes()
41 si = __builtin_nontemporal_load(&ui); // CHECK: load i32{{.*}}align 4, !nontemporal in test_all_sizes()
H A Datomic-ops.c726 void test_c11_minmax(_Atomic(int) * si, _Atomic(unsigned) * ui, _Atomic(short) * ss, _Atomic(unsign… in test_c11_minmax() argument
734 *ui = __c11_atomic_fetch_max(ui, 42, memory_order_acquire); in test_c11_minmax()
736 *ui = __c11_atomic_fetch_min(ui, 42, memory_order_acquire); in test_c11_minmax()
755 void test_minmax_postop(int *si, unsigned *ui, unsigned short *us, signed char *sc, unsigned long l… in test_minmax_postop() argument
775 *ui = __atomic_max_fetch(ui, 42, memory_order_release); in test_minmax_postop()
781 *ui = __atomic_min_fetch(ui, 42, memory_order_release); in test_minmax_postop()
/llvm-project-15.0.7/clang/test/CodeGen/SystemZ/
H A Dzvector.c428 ui = ui + ui2; in test_add()
429 ui = ui + bi2; in test_add()
658 ui = ui - ui2; in test_sub()
659 ui = ui - bi2; in test_sub()
814 ui = ui * ui2; in test_mul()
924 ui = ui / ui2; in test_div()
1030 ui = ui % ui2; in test_rem()
1277 ui = ui & ui2; in test_and()
1278 ui = ui & bi2; in test_and()
2087 ui = ui << 5; in test_sl()
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dzvector.c98 ui = ui2; in foo()
223 ui++; in foo()
263 ui--; in foo()
285 ui = +ui2; in foo()
311 ui = -ui2; in foo()
337 ui = ~ui2; in foo()
386 ui = ui + ui2; in foo()
747 ui = ui << ui2; in foo()
748 ui = ui << ui_scalar; in foo()
847 ui = ui >> ui2; in foo()
[all …]
H A Dzvector2.c14 vector unsigned int ui, ui2; variable
56 ui = (vector unsigned int)ff2; in foo()
192 (void)(ui == ff2); // expected-error {{cannot convert}} in foo()
197 (void)(ui != ff2); // expected-error {{cannot convert}} in foo()
202 (void)(ui <= ff2); // expected-error {{cannot convert}} in foo()
207 (void)(ui >= ff2); // expected-error {{cannot convert}} in foo()
212 (void)(ui < ff2); // expected-error {{cannot convert}} in foo()
217 (void)(ui > ff2); // expected-error {{cannot convert}} in foo()
/llvm-project-15.0.7/clang/test/Frontend/
H A Dfixed_point_div.c28 unsigned int ui; variable
369 sa = sa / ui; in int_sasaui()
425 usa = usa / ui; in int_usausaui()
441 lf = lf / ui; in int_lflfui()
503 usa = ui / usa; in int_usauiusa()
519 sa = ui / sa; in int_sauisa()
620 sa_sat = sa_sat / ui; in sat_sassasui()
H A Dfixed_point_mul.c28 unsigned int ui; variable
369 sa = sa * ui; in int_sasaui()
425 usa = usa * ui; in int_usausaui()
441 lf = lf * ui; in int_lflfui()
503 usa = ui * usa; in int_usauiusa()
519 sa = ui * sa; in int_sauisa()
620 sa_sat = sa_sat * ui; in sat_sassasui()
H A Dfixed_point_comparisons.c140 unsigned int ui; in TestIntComparisons() local
198 usa > ui; in TestIntComparisons()
210 usa >= ui; in TestIntComparisons()
222 usa < ui; in TestIntComparisons()
234 usa <= ui; in TestIntComparisons()
295 unsigned int ui; in TestComparisonSignage() local
308 sa == ui; in TestComparisonSignage()
H A Dfixed_point_add.c28 unsigned int ui; variable
329 sa = sa + ui; in int_sasaui()
385 usa = usa + ui; in int_usausaui()
401 lf = lf + ui; in int_lflfui()
520 sa_sat = sa_sat + ui; in sat_sassasui()
H A Dfixed_point_sub.c28 unsigned int ui; variable
329 sa = sa - ui; in int_sasaui()
385 usa = usa - ui; in int_usausaui()
401 lf = lf - ui; in int_lflfui()
524 sa_sat = sa_sat - ui; in sat_sassasui()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Dnarrowing-conversions-unsigned-char.cpp13 unsigned int ui; in narrow_integer_to_unsigned_integer_is_ok() local
17 ui = sc; in narrow_integer_to_unsigned_integer_is_ok()
25 c = ui; in narrow_integer_to_unsigned_integer_is_ok()
39 unsigned int ui; in narrow_integer_to_signed_integer_is_not_ok() local
57 sc = ui; in narrow_integer_to_signed_integer_is_not_ok()
H A Dnarrowing-conversions-equivalentbitwidth-option.cpp14 unsigned int ui; in narrowing_equivalent_bitwidth() local
15 i = ui; in narrowing_equivalent_bitwidth()
41 long long ui; in most_narrowing_is_not_ok() local
42 i = ui; in most_narrowing_is_not_ok()
H A Dnarrowing-conversions.cpp128 unsigned int ui; in narrow_integer_to_unsigned_integer_is_ok() local
132 ui = c; in narrow_integer_to_unsigned_integer_is_ok()
140 uc = ui; in narrow_integer_to_unsigned_integer_is_ok()
154 unsigned int ui; in narrow_integer_to_signed_integer_is_not_ok() local
172 c = ui; in narrow_integer_to_signed_integer_is_not_ok()
189 i = ui; in narrow_integer_to_signed_integer_is_not_ok()
204 ll = ui; in narrow_integer_to_signed_integer_is_not_ok()
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A D2011-03-10-DAGCombineCrash.ll7 %struct.ui = type { %struct.mo*, i32*, i32, i32*, i32*, i64, i32*, i32*, i32* }
18 %0 = call %struct.ui* @vn_pp_to_ui(i32* undef) nounwind
20 %1 = getelementptr inbounds %struct.ui, %struct.ui* %0, i32 0, i32 0
22 %2 = getelementptr inbounds %struct.ui, %struct.ui* %0, i32 0, i32 5
41 declare %struct.ui* @vn_pp_to_ui(i32*)
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cert/
H A Derr34-c.c23 unsigned int ui; in f1() local
36 sscanf(in, "%u", &ui); in f1()
65 scanf("%o", ui); in f1()
67 scanf("%X", ui); in f1()
69 scanf("%x", ui); in f1()
/llvm-project-15.0.7/llvm/test/Transforms/LoopStrengthReduce/
H A Duse_postinc_value_outside_loop.ll2 ; RUN: grep "add i32 %indvar630.ui, 1"
16 %indvar630.ui = phi i32 [ 0, %then.0 ], [ %indvar.next631, %no_exit.2 ] ; <i32> [#uses=3]
17 %indvar630 = bitcast i32 %indvar630.ui to i32 ; <i32> [#uses=2]
18 %gep.upgrd.1 = zext i32 %indvar630.ui to i64 ; <i64> [#uses=1]
23 %indvar.next631 = add i32 %indvar630.ui, 1 ; <i32> [#uses=1]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A DAtomics-64.ll10 @ui = common global i32 0
97 store i32 %5, ptr @ui, align 4
117 store i32 %15, ptr @ui, align 4
137 store i32 %25, ptr @ui, align 4
157 store i32 %35, ptr @ui, align 4
177 store i32 %45, ptr @ui, align 4
197 store i32 %55, ptr @ui, align 4
247 store i32 %27, ptr @ui, align 4
301 store i32 %71, ptr @ui, align 4
607 store i32 %39, ptr @ui, align 4
[all …]

12345