Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 3167) sorted by relevance

12345678910>>...127

/llvm-project-15.0.7/clang/test/CodeGenCUDA/
H A Datomic-ops.cu19 val = __hip_atomic_exchange(ptr, val, __ATOMIC_RELAXED, __HIP_MEMORY_SCOPE_SINGLETHREAD); in atomic32_op_singlethread()
37 return val; in atomicu32_op_singlethread()
73 return val; in atomicu32_op_wavefront()
107 return val; in atomicu32_op_workgroup()
141 return val; in atomicu32_op_agent()
177 return val; in atomicu32_op_system()
215 return val; in atomicu64_op_singlethread()
255 return val; in atomicu64_op_wavefront()
291 return val; in atomicu64_op_workgroup()
327 return val; in atomicu64_op_agent()
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/RISCV/rvv-intrinsics/
H A Dvset.c18 return vset_v_i8m1_i8m2(dest, 1, val); in test_vset_v_i8m1_i8m2()
27 return vset_v_i8m1_i8m4(dest, 3, val); in test_vset_v_i8m1_i8m4()
36 return vset_v_i8m2_i8m4(dest, 1, val); in test_vset_v_i8m2_i8m4()
45 return vset_v_i8m1_i8m8(dest, 7, val); in test_vset_v_i8m1_i8m8()
54 return vset_v_i8m2_i8m8(dest, 2, val); in test_vset_v_i8m2_i8m8()
63 return vset_v_i8m4_i8m8(dest, 1, val); in test_vset_v_i8m4_i8m8()
72 return vset_v_i16m1_i16m2(dest, 1, val); in test_vset_v_i16m1_i16m2()
81 return vset_v_i16m1_i16m4(dest, 3, val); in test_vset_v_i16m1_i16m4()
234 return vset_v_u8m1_u8m2(dest, 1, val); in test_vset_v_u8m1_u8m2()
243 return vset_v_u8m1_u8m4(dest, 3, val); in test_vset_v_u8m1_u8m4()
[all …]
H A Dvset-index-out-of-range.c10 return vset_v_i8m1_i8m2(dest, index, val); in test_vset_v_index_not_constant()
15 return vset_v_i8m1_i8m2(dest, 2, val); in test_vset_v_i8m1_i8m2()
20 return vset_v_i8m1_i8m4(dest, 4, val); in test_vset_v_i8m1_i8m4()
25 return vset_v_i8m2_i8m4(dest, 2, val); in test_vset_v_i8m2_i8m4()
30 return vset_v_i8m1_i8m8(dest, 8, val); in test_vset_v_i8m1_i8m8()
35 return vset_v_i8m2_i8m8(dest, 4, val); in test_vset_v_i8m2_i8m8()
40 return vset_v_i8m4_i8m8(dest, 2, val); in test_vset_v_i8m4_i8m8()
45 return vset_v_i16m1_i16m2(dest, 2, val); in test_vset_v_i16m1_i16m2()
50 return vset_v_i16m1_i16m4(dest, 4, val); in test_vset_v_i16m1_i16m4()
55 return vset_v_i16m2_i16m4(dest, 2, val); in test_vset_v_i16m2_i16m4()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dbuiltin-amdgcn-atomic-inc-dec.cpp123 val = __builtin_amdgcn_atomic_inc32(&val, val, __ATOMIC_SEQ_CST, "workgroup"); in test_shared32()
125 val = __builtin_amdgcn_atomic_dec32(&val, val, __ATOMIC_SEQ_CST, "workgroup"); in test_shared32()
141 val = __builtin_amdgcn_atomic_inc64(&val, val, __ATOMIC_SEQ_CST, "workgroup"); in test_shared64()
143 val = __builtin_amdgcn_atomic_dec64(&val, val, __ATOMIC_SEQ_CST, "workgroup"); in test_shared64()
247 val = __builtin_amdgcn_atomic_inc32(&val, val, __ATOMIC_RELAXED, "workgroup"); in test_order32()
249 val = __builtin_amdgcn_atomic_inc32(&val, val, __ATOMIC_CONSUME, "workgroup"); in test_order32()
251 val = __builtin_amdgcn_atomic_inc32(&val, val, __ATOMIC_ACQUIRE, "workgroup"); in test_order32()
317 val = __builtin_amdgcn_atomic_inc32(&val, val, __ATOMIC_SEQ_CST, ""); in test_scope32()
321 val = __builtin_amdgcn_atomic_dec32(&val, val, __ATOMIC_SEQ_CST, "agent"); in test_scope32()
345 val = __builtin_amdgcn_atomic_inc64(&val, val, __ATOMIC_SEQ_CST, ""); in test_scope64()
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/
H A Dvset.c14 return vset(dest, 0, val); in test_vset_v_i8m1_i8m2()
23 return vset(dest, 0, val); in test_vset_v_i8m1_i8m4()
32 return vset(dest, 0, val); in test_vset_v_i8m2_i8m4()
41 return vset(dest, 0, val); in test_vset_v_i8m1_i8m8()
50 return vset(dest, 0, val); in test_vset_v_i8m2_i8m8()
59 return vset(dest, 0, val); in test_vset_v_i8m4_i8m8()
68 return vset(dest, 0, val); in test_vset_v_u8m1_u8m2()
77 return vset(dest, 0, val); in test_vset_v_u8m1_u8m4()
86 return vset(dest, 0, val); in test_vset_v_u8m2_u8m4()
95 return vset(dest, 0, val); in test_vset_v_u8m1_u8m8()
[all …]
/llvm-project-15.0.7/lld/ELF/Arch/
H A DAVR.cpp92 write16le(loc, (read16le(loc) & 0xf0f0) | (val & 0xf0) << 4 | (val & 0x0f)); in writeLDI()
99 *loc = val; in relocate()
110 write16le(loc, val >> 1); in relocate()
114 write32le(loc, val); in relocate()
119 writeLDI(loc, val & 0xff); in relocate()
126 writeLDI(loc, val & 0xff); in relocate()
179 write16le(loc, (read16le(loc) & 0xf9f0) | (val & 0x30) << 5 | (val & 0x0f)); in relocate()
200 (val & 0x18) << 7 | (val & 0x07)); in relocate()
204 write16le(loc, (read16le(loc) & 0xff30) | (val & 0x30) << 2 | (val & 0x0F)); in relocate()
208 uint16_t hi = val >> 17; in relocate()
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Datomic-ops.c325 void memory_checks(_Atomic(int) *Ap, int *p, int val) { in memory_checks() argument
332 (void)__c11_atomic_load(Ap, val); in memory_checks()
354 (void)__c11_atomic_init(Ap, val); in memory_checks()
355 (void)__c11_atomic_init(Ap, val); in memory_checks()
356 (void)__c11_atomic_init(Ap, val); in memory_checks()
357 (void)__c11_atomic_init(Ap, val); in memory_checks()
358 (void)__c11_atomic_init(Ap, val); in memory_checks()
359 (void)__c11_atomic_init(Ap, val); in memory_checks()
452 (void)__atomic_store_n(p, val, memory_order_relaxed); in memory_checks()
455 (void)__atomic_store_n(p, val, memory_order_release); in memory_checks()
[all …]
H A Dsync-implicit-seq_cst.c6 void fetch_and_add(int *ptr, int val) { __sync_fetch_and_add(ptr, val); } // expected-warning {{i… in fetch_and_add() argument
7 void fetch_and_sub(int *ptr, int val) { __sync_fetch_and_sub(ptr, val); } // expected-warning {{i… in fetch_and_sub() argument
8 void fetch_and_or(int *ptr, int val) { __sync_fetch_and_or(ptr, val); } // expected-warning {{i… in fetch_and_or() argument
9 void fetch_and_and(int *ptr, int val) { __sync_fetch_and_and(ptr, val); } // expected-warning {{i… in fetch_and_and() argument
10 void fetch_and_xor(int *ptr, int val) { __sync_fetch_and_xor(ptr, val); } // expected-warning {{i… in fetch_and_xor() argument
11 void fetch_and_nand(int *ptr, int val) { __sync_fetch_and_nand(ptr, val); } // expected-warning {{i… in fetch_and_nand() argument
13 void add_and_fetch(int *ptr, int val) { __sync_add_and_fetch(ptr, val); } // expected-warning {{i… in add_and_fetch() argument
14 void sub_and_fetch(int *ptr, int val) { __sync_sub_and_fetch(ptr, val); } // expected-warning {{i… in sub_and_fetch() argument
15 void or_and_fetch(int *ptr, int val) { __sync_or_and_fetch(ptr, val); } // expected-warning {{i… in or_and_fetch() argument
16 void and_and_fetch(int *ptr, int val) { __sync_and_and_fetch(ptr, val); } // expected-warning {{i… in and_and_fetch() argument
[all …]
H A Daarch64-bf16-ldst-intrinsics.c58 void test_vst1_lane_bf16(bfloat16_t *ptr, bfloat16x4_t val) { in test_vst1_lane_bf16() argument
61 vst1_lane_bf16(ptr, val, x); // expected-error-re {{argument {{.*}} must be a constant integer}} in test_vst1_lane_bf16()
64 void test_vst1q_lane_bf16(bfloat16_t *ptr, bfloat16x8_t val) { in test_vst1q_lane_bf16() argument
70 void test_vst2_lane_bf16(bfloat16_t *ptr, bfloat16x4x2_t val) { in test_vst2_lane_bf16() argument
73 vst2_lane_bf16(ptr, val, x); // expected-error-re {{argument {{.*}} must be a constant integer}} in test_vst2_lane_bf16()
76 void test_vst2q_lane_bf16(bfloat16_t *ptr, bfloat16x8x2_t val) { in test_vst2q_lane_bf16() argument
82 void test_vst3_lane_bf16(bfloat16_t *ptr, bfloat16x4x3_t val) { in test_vst3_lane_bf16() argument
85 vst3_lane_bf16(ptr, val, x); // expected-error-re {{argument {{.*}} must be a constant integer}} in test_vst3_lane_bf16()
88 void test_vst3q_lane_bf16(bfloat16_t *ptr, bfloat16x8x3_t val) { in test_vst3q_lane_bf16() argument
94 void test_vst4_lane_bf16(bfloat16_t *ptr, bfloat16x4x4_t val) { in test_vst4_lane_bf16() argument
[all …]
/llvm-project-15.0.7/libcxx/test/std/algorithms/
H A Dranges_robust_against_omitting_invoke.pass.cpp25 int val; member
27 constexpr bool binary_pred(const Foo& rhs) const { return val < rhs.val; } in binary_pred()
32 Foo val; member
81 test(std::ranges::find_first_of, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all()
83 test(std::ranges::mismatch, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all()
84 test(std::ranges::equal, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all()
110 test(std::ranges::search, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all()
112 test(std::ranges::find_end, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all()
116 test(std::ranges::includes, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all()
120 test(std::ranges::is_permutation, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all()
[all …]
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_test_imath.c29 mpz_t val; in test_imath_internals() local
41 assert(val.alloc >= val.used); in test_imath_internals()
42 assert(val.used == 1); in test_imath_internals()
48 assert(val.alloc >= val.used); in test_imath_internals()
49 assert(val.used == 1); in test_imath_internals()
55 assert(val.alloc >= val.used); in test_imath_internals()
56 assert(val.used == 1); in test_imath_internals()
60 retval = mp_int_mul_pow2(&val, sizeof(mp_digit) * CHAR_BIT, &val); in test_imath_internals()
62 assert(val.alloc >= val.used); in test_imath_internals()
63 assert(val.used == 2); in test_imath_internals()
[all …]
/llvm-project-15.0.7/llvm/utils/gdb-scripts/
H A Dprettyprinters.py23 self.val = val
37 self.val = val
51 self.val = val
95 self.val = val
111 self.val = val
114 val = self.val
115 if val is None:
131 self.val = val
134 val = self.val
196 self.val = val
[all …]
/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A Dbuiltin_wrappers.h23 if (val == T(0)) in correct_zero()
31 return __builtin_clz(val);
34 return __builtin_clzl(val);
37 return __builtin_clzll(val);
42 return __builtin_ctz(val);
45 return __builtin_ctzl(val);
48 return __builtin_ctzll(val);
53 return __internal::correct_zero(val, __internal::ctz(val)); in safe_ctz()
57 return __internal::ctz(val); in unsafe_ctz()
61 return __internal::correct_zero(val, __internal::clz(val)); in safe_clz()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dv_mac_f16.ll27 %t.val = fmul half %a.val, %b.val
28 %r.val = fadd half %t.val, %c.val
56 %t0.val = fmul half %a.val, %b.val
57 %r0.val = fadd half %t0.val, %c.val
59 %t1.val = fmul half %d.val, %e.val
60 %r1.val = fadd half %t1.val, %c.val
88 %r.val = fadd half %t.val, %c.val
115 %r.val = fadd half %t.val, %c.val
141 %t.val = fmul half %a.val, %b.val
166 %r.val = fadd half %t.val, %c.val
[all …]
H A Dfcmp.f16.ll21 %r.val = fcmp olt half %a.val, %b.val
72 %r.val = fcmp oeq half %a.val, %b.val
95 %r.val = fcmp ole half %a.val, %b.val
118 %r.val = fcmp ogt half %a.val, %b.val
141 %r.val = fcmp one half %a.val, %b.val
164 %r.val = fcmp oge half %a.val, %b.val
187 %r.val = fcmp ord half %a.val, %b.val
210 %r.val = fcmp uno half %a.val, %b.val
233 %r.val = fcmp ult half %a.val, %b.val
256 %r.val = fcmp ueq half %a.val, %b.val
[all …]
H A Dllvm.amdgcn.class.f16.ll20 %r.val = call i1 @llvm.amdgcn.class.f16(half %a.val, i32 %b.val)
21 %r.val.sext = sext i1 %r.val to i32
42 %r.val = call i1 @llvm.amdgcn.class.f16(half %a.val.fabs, i32 %b.val)
43 %r.val.sext = sext i1 %r.val to i32
63 %a.val.fneg = fsub half -0.0, %a.val
64 %r.val = call i1 @llvm.amdgcn.class.f16(half %a.val.fneg, i32 %b.val)
65 %r.val.sext = sext i1 %r.val to i32
88 %r.val.sext = sext i1 %r.val to i32
104 %r.val.sext = sext i1 %r.val to i32
120 %r.val.sext = sext i1 %r.val to i32
[all …]
H A Dcall-return-types.ll61 %val = call i1 @external_i1_func_void()
69 %val.ext = zext i1 %val to i32
77 %val.ext = zext i1 %val to i32
84 %val = call i8 @external_i8_func_void()
92 %val.ext = zext i8 %val to i32
100 %val.ext = zext i8 %val to i32
107 %val = call i16 @external_i16_func_void()
115 %val.ext = zext i16 %val to i32
123 %val.ext = zext i16 %val to i32
292 %val.0 = extractvalue { i32, i64 } %val, 0
[all …]
/llvm-project-15.0.7/lldb/test/API/lang/cpp/member-and-local-vars-with-same-name/
H A DTestMembersAndLocalsWithSameName.py56 self.assertTrue(val.IsValid())
60 self.assertTrue(val.IsValid())
64 self.assertTrue(val.IsValid())
78 self.assertTrue(val.IsValid())
82 self.assertTrue(val.IsValid())
86 self.assertTrue(val.IsValid())
100 self.assertTrue(val.IsValid())
104 self.assertTrue(val.IsValid())
108 self.assertTrue(val.IsValid())
160 self.assertTrue(val.IsValid())
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/
H A Daarch64-bf16-ldst-intrinsics.c867 vst1_bf16(ptr, val); in test_vst1_bf16()
883 vst1q_bf16(ptr, val); in test_vst1q_bf16()
923 vst1_bf16_x2(ptr, val); in test_vst1_bf16_x2()
966 vst1_bf16_x3(ptr, val); in test_vst1_bf16_x3()
1015 vst1_bf16_x4(ptr, val); in test_vst1_bf16_x4()
1063 vst2_bf16(ptr, val); in test_vst2_bf16()
1085 vst2q_bf16(ptr, val); in test_vst2q_bf16()
1154 vst3_bf16(ptr, val); in test_vst3_bf16()
1179 vst3q_bf16(ptr, val); in test_vst3q_bf16()
1257 vst4_bf16(ptr, val); in test_vst4_bf16()
[all …]
/llvm-project-15.0.7/libcxx/utils/gdb/libcxx/
H A Dprinters.py152 self.val = val
196 self.val = val
223 self.val = val
241 self.val = val
265 self.val = val
360 self.val = val
393 self.val = val
425 self.val = val
478 self.val = val
513 self.val = val
[all …]
/llvm-project-15.0.7/mlir/lib/Analysis/Presburger/
H A DSlowMPInt.cpp16 SlowMPInt::SlowMPInt(int64_t val) : val(64, val, /*isSigned=*/true) {} in SlowMPInt() argument
18 SlowMPInt::SlowMPInt(const llvm::APInt &val) : val(val) {} in SlowMPInt() argument
136 unsigned width = getMaxWidth(val, o.val); in operator ==()
137 return val.sext(width) == o.val.sext(width); in operator ==()
140 unsigned width = getMaxWidth(val, o.val); in operator !=()
141 return val.sext(width) != o.val.sext(width); in operator !=()
144 unsigned width = getMaxWidth(val, o.val); in operator >()
145 return val.sext(width).sgt(o.val.sext(width)); in operator >()
148 unsigned width = getMaxWidth(val, o.val); in operator <()
152 unsigned width = getMaxWidth(val, o.val); in operator <=()
[all …]
/llvm-project-15.0.7/libc/src/__support/CPP/
H A DUInt.h37 val[i] = other.val[i]; in UInt()
64 val[i] = other.val[i];
208 val[i] = val[i + drop]; in shift_right()
234 result.val[i] = val[i] & other.val[i];
240 val[i] &= other.val[i];
247 result.val[i] = val[i] | other.val[i];
253 val[i] |= other.val[i];
260 result.val[i] = val[i] ^ other.val[i];
266 val[i] ^= other.val[i];
273 result.val[i] = ~val[i];
[all …]
/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Datomic-ops.cu10 val = __hip_atomic_load(pi32, __ATOMIC_RELAXED, __HIP_MEMORY_SCOPE_SINGLETHREAD); in test_hip_atomic_load()
11 val = __hip_atomic_load(pi32, __ATOMIC_RELAXED, __HIP_MEMORY_SCOPE_WAVEFRONT); in test_hip_atomic_load()
12 val = __hip_atomic_load(pi32, __ATOMIC_RELAXED, __HIP_MEMORY_SCOPE_WORKGROUP); in test_hip_atomic_load()
13 val = __hip_atomic_load(pi32, __ATOMIC_RELAXED, __HIP_MEMORY_SCOPE_AGENT); in test_hip_atomic_load()
14 val = __hip_atomic_load(pi32, __ATOMIC_RELAXED, __HIP_MEMORY_SCOPE_SYSTEM); in test_hip_atomic_load()
16 val = __hip_atomic_load(pi32, __ATOMIC_RELAXED, __HIP_MEMORY_SCOPE_SINGLETHREAD); in test_hip_atomic_load()
17 val = __hip_atomic_load(pi32, __ATOMIC_SEQ_CST, __HIP_MEMORY_SCOPE_SINGLETHREAD); in test_hip_atomic_load()
22 val = __hip_atomic_load(pll, __ATOMIC_RELAXED, __HIP_MEMORY_SCOPE_SINGLETHREAD); in test_hip_atomic_load()
24 val = __hip_atomic_load(fp, __ATOMIC_RELAXED, __HIP_MEMORY_SCOPE_SINGLETHREAD); in test_hip_atomic_load()
26 return val; in test_hip_atomic_load()
[all …]
/llvm-project-15.0.7/polly/lib/External/isl/cpp/
H A Dcpp-checked.h.top49 isl_bool val;
52 boolean(isl_bool val): val(val) {}
61 : val(val ? isl_bool_true : isl_bool_false) {}
64 auto tmp = val;
117 isl_stat val;
120 stat(isl_stat val) : val(val) {}
132 return val;
155 isl_size val;
158 size(isl_size val) : val(val) {}
163 auto tmp = val;
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dneon-bitcast.ll11 ret <1 x i64> %val
20 ret <2 x i32> %val
29 ret <2 x float> %val
38 ret <4 x i16> %val
47 ret <8 x i8> %val
58 ret <1 x i64> %val
67 ret <2 x i32> %val
85 ret <4 x i16> %val
94 ret <8 x i8> %val
105 ret <1 x i64> %val
[all …]

12345678910>>...127