Home
last modified time | relevance | path

Searched refs:bit_and (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm-project/openmp/runtime/test/worksharing/sections/
Domp_parallel_sections_reduction.c20 int bit_and; in test_omp_parallel_sections_reduction() local
33 bit_and=1; in test_omp_parallel_sections_reduction()
319 #pragma omp parallel sections private(i) reduction(&:bit_and) in test_omp_parallel_sections_reduction()
324 bit_and = (bit_and & logics[i]); in test_omp_parallel_sections_reduction()
330 bit_and = (bit_and & logics[i]); in test_omp_parallel_sections_reduction()
336 bit_and = (bit_and & logics[i]); in test_omp_parallel_sections_reduction()
340 if(!bit_and) { in test_omp_parallel_sections_reduction()
345 bit_and = 1; in test_omp_parallel_sections_reduction()
348 #pragma omp parallel sections private(i) reduction(&:bit_and) in test_omp_parallel_sections_reduction()
353 bit_and = bit_and & logics[i]; in test_omp_parallel_sections_reduction()
[all …]
Domp_sections_reduction.c19 int bit_and; in test_omp_sections_reduction() local
33 bit_and=1; in test_omp_sections_reduction()
341 #pragma omp sections private(i) reduction(&:bit_and) in test_omp_sections_reduction()
346 bit_and = (bit_and & logics[i]); in test_omp_sections_reduction()
352 bit_and = (bit_and & logics[i]); in test_omp_sections_reduction()
358 bit_and = (bit_and & logics[i]); in test_omp_sections_reduction()
363 if(!bit_and) { in test_omp_sections_reduction()
368 bit_and = 1; in test_omp_sections_reduction()
373 #pragma omp sections private(i) reduction(&:bit_and) in test_omp_sections_reduction()
378 bit_and = bit_and & logics[i]; in test_omp_sections_reduction()
[all …]
/external/llvm-project/openmp/runtime/test/worksharing/for/
Domp_for_reduction.c22 int bit_and; in test_omp_for_reduction() local
47 bit_and = 1; in test_omp_for_reduction()
230 #pragma omp for schedule(dynamic,1) reduction(&:bit_and) in test_omp_for_reduction()
232 bit_and = (bit_and & logics[j]); in test_omp_for_reduction()
235 if (!bit_and) { in test_omp_for_reduction()
240 bit_and = 1; in test_omp_for_reduction()
246 #pragma omp for schedule(dynamic,1) reduction(&:bit_and) in test_omp_for_reduction()
248 bit_and = bit_and & logics[j]; in test_omp_for_reduction()
251 if (bit_and) { in test_omp_for_reduction()
Domp_parallel_for_reduction.c24 int bit_and; in test_omp_parallel_for_reduction() local
39 bit_and=1; in test_omp_parallel_for_reduction()
174 reduction(&:bit_and) in test_omp_parallel_for_reduction()
176 bit_and = (bit_and & logics[i]); in test_omp_parallel_for_reduction()
178 if(!bit_and) { in test_omp_parallel_for_reduction()
183 bit_and = 1; in test_omp_parallel_for_reduction()
187 reduction(&:bit_and) in test_omp_parallel_for_reduction()
189 bit_and = bit_and & logics[i]; in test_omp_parallel_for_reduction()
191 if(bit_and) { in test_omp_parallel_for_reduction()
/external/llvm-project/openmp/runtime/test/parallel/
Domp_parallel_reduction.c24 int bit_and; in test_omp_parallel_reduction() local
37 bit_and=1; in test_omp_parallel_reduction()
167 #pragma omp parallel for schedule(dynamic,1) private(i) reduction(&:bit_and) in test_omp_parallel_reduction()
169 bit_and = (bit_and & logics[i]); in test_omp_parallel_reduction()
171 if(!bit_and) { in test_omp_parallel_reduction()
176 bit_and = 1; in test_omp_parallel_reduction()
179 #pragma omp parallel for schedule(dynamic,1) private(i) reduction(&:bit_and) in test_omp_parallel_reduction()
181 bit_and = bit_and & logics[i]; in test_omp_parallel_reduction()
183 if(bit_and) { in test_omp_parallel_reduction()
/external/libcxx/test/std/utilities/function.objects/bitwise.operations/
Dbit_and.pass.cpp22 typedef std::bit_and<int> F; in main()
33 typedef std::bit_and<> F2; in main()
55 constexpr int foo = std::bit_and<int> () (0x58D3, 0xEA95); in main()
58 constexpr int bar = std::bit_and<> () (0x58D3L, 0xEA95); in main()
Dtransparent.pass.cpp27 static_assert ( !is_transparent<std::bit_and<int>>::value, "" ); in main()
28 static_assert ( !is_transparent<std::bit_and<std::string>>::value, "" ); in main()
29 static_assert ( is_transparent<std::bit_and<void>>::value, "" ); in main()
30 static_assert ( is_transparent<std::bit_and<>>::value, "" ); in main()
/external/llvm-project/libcxx/test/std/utilities/function.objects/bitwise.operations/
Dbit_and.pass.cpp21 typedef std::bit_and<int> F; in main()
32 typedef std::bit_and<> F2; in main()
54 constexpr int foo = std::bit_and<int> () (0x58D3, 0xEA95); in main()
57 constexpr int bar = std::bit_and<> () (0x58D3L, 0xEA95); in main()
Dtransparent.pass.cpp28 static_assert ( !is_transparent<std::bit_and<int>>::value, "" ); in main()
29 static_assert ( !is_transparent<std::bit_and<std::string>>::value, "" ); in main()
30 static_assert ( is_transparent<std::bit_and<void>>::value, "" ); in main()
31 static_assert ( is_transparent<std::bit_and<>>::value, "" ); in main()
/external/llvm-project/openmp/runtime/test/atomic/
Domp_atomic.c20 int bit_and = 1; in test_omp_atomic() local
213 bit_and = 1; in test_omp_atomic()
220 bit_and &= logics[i]; in test_omp_atomic()
223 if (!bit_and) { in test_omp_atomic()
229 bit_and = 1; in test_omp_atomic()
237 bit_and &= logics[i]; in test_omp_atomic()
240 if (bit_and) { in test_omp_atomic()
/external/mesa3d/src/compiler/glsl/
Dlower_packing_builtins.cpp218 return bitfield_insert(bit_and(swizzle_x(u), constant(0xffffu)), in pack_uvec2_to_uint()
226 bit_and(swizzle_x(u), constant(0xffffu))); in pack_uvec2_to_uint()
250 bit_and(swizzle_x(u), constant(0xffu)), in pack_uvec4_to_uint()
257 factory.emit(assign(u, bit_and(uvec4_rval, constant(0xffu)))); in pack_uvec4_to_uint()
288 factory.emit(assign(u2, bit_and(u, constant(0xffffu)), WRITEMASK_X)); in unpack_uint_to_uvec2()
351 factory.emit(assign(u4, bit_and(u, constant(0xffu)), WRITEMASK_X)); in unpack_uint_to_uvec4()
363 factory.emit(assign(u4, bit_and(rshift(u, constant(8u)), in unpack_uint_to_uvec4()
367 factory.emit(assign(u4, bit_and(rshift(u, constant(16u)), in unpack_uint_to_uvec4()
1039 factory.emit(assign(e, bit_and(f32, constant(0x7f800000u)))); in lower_pack_half_2x16()
1047 factory.emit(assign(m, bit_and(f32, constant(0x007fffffu)))); in lower_pack_half_2x16()
[all …]
Dlower_instructions.cpp483 bit_and(bitcast_f2u(x), in ldexp_to_arith()
511 bit_and(sign_mantissa, in ldexp_to_arith()
613 i.insert_before(assign(unpacked, bit_and(swizzle_y(unpacked), sign_mask->clone(ir, NULL)), in dldexp_to_arith()
725 i.insert_before(assign(bits, bit_and(bits, sign_mantissa_mask))); in dfrexp_sig_to_arith()
1085 base_ir->insert_before(assign(temp, sub(temp, bit_and(rshift(temp, c1), in bit_count_to_math()
1089 base_ir->insert_before(assign(temp, add(bit_and(temp, c33333333), in bit_count_to_math()
1090 bit_and(rshift(temp, c2), in bit_count_to_math()
1096 ir->operands[0] = rshift(mul(bit_and(add(temp, rshift(temp, c4)), c0F0F0F0F), in bit_count_to_math()
1238 ir->operands[0] = bit_and(ir->operands[0], bit_not(mask)); in insert_to_shifts()
1239 ir->operands[1] = bit_and(lshift(ir->operands[1], offset), mask); in insert_to_shifts()
[all …]
Dir_builder.h174 ir_expression *bit_and(operand a, operand b);
Dir_builder.cpp414 bit_and(operand a, operand b) in bit_and() function
/external/skia/tests/sksl/runtime/
DConversionConstructors.skvm9 7 r6 = bit_and r6 r2
15 13 r2 = bit_and r4 r2
/external/skia/resources/sksl/runtime_errors/
DIllegalOperators.rts11 int bit_and (int x) { return x & 1; }
/external/skia/src/shaders/
DSkImageShader.cpp873 c.r = pun_to_F32(p->bit_and(mask, pun_to_I32(c.r))); in onProgram()
874 c.g = pun_to_F32(p->bit_and(mask, pun_to_I32(c.g))); in onProgram()
875 c.b = pun_to_F32(p->bit_and(mask, pun_to_I32(c.b))); in onProgram()
876 c.a = pun_to_F32(p->bit_and(mask, pun_to_I32(c.a))); in onProgram()
/external/skia/tests/
DSkVMTest.cpp144 b.store32(buf, b.gather32(uniforms,0, b.bit_and(x, b.splat(7)))); in DEF_TEST()
196 b.store32(buf32, b.gather32(uniforms,0, b.bit_and(x, b.splat( 7)))); in DEF_TEST()
197 b.store16(buf16, b.gather16(uniforms,0, b.bit_and(x, b.splat(15)))); in DEF_TEST()
198 b.store8 (buf8 , b.gather8 (uniforms,0, b.bit_and(x, b.splat(31)))); in DEF_TEST()
300 x = b.bit_and (x, b.splat(0xf1)); // 0x40 in DEF_TEST()
378 return b.shl(b.bit_and(mask, b.splat(0x1)), shift); in DEF_TEST()
414 return b.shl(b.bit_and(mask, b.splat(0x1)), shift); in DEF_TEST()
/external/skia/src/core/
DSkVM.h455 M(bit_and) M(bit_or) M(bit_xor) M(bit_clear) \
750 F32 abs(F32 x) { return pun_to_F32(bit_and(pun_to_I32(x), 0x7fff'ffff)); } in abs()
1204 SI I32 operator&(I32 x, I32 y) { return x->bit_and(x,y); }
1205 SI I32 operator&(I32 x, int y) { return x->bit_and(x,y); }
1206 SI I32 operator&(int x, I32 y) { return y->bit_and(x,y); }
DSkVM.cpp293 case Op::bit_and : write(o, V{id}, "=", op, V{x}, V{y}); break; in write_one_instruction()
404 case Op::bit_and : write(o, R{d}, "=", op, R{x}, R{y}); break; in dump()
695 F32 m = pun_to_F32(bit_or(bit_and(pun_to_I32(x), 0x007fffff), in approx_log2()
938 I32 Builder::bit_and(I32 x, I32 y) { in bit_and() function in skvm::Builder
945 return {this, this->push(Op::bit_and, x.id, y.id)}; in bit_and()
979 if (this->isImm(z.id, 0)) { return bit_and (y,x); } // x ? y : 0 == x&y in select()
985 return bit_and(z, shr(x, bits)); in extract()
2570 case Op::bit_and: vals[i] = b->CreateAnd(vals[x], vals[y]); break; in setupLLVM()
3679 case Op::bit_and: in jit()
3960 case Op::bit_and : a->and16b(dst(x,y), r(x), r(y)); break; in jit()
/external/skia/src/opts/
DSkVM_opts.h250 CASE(Op::bit_and ): r[d].i32 = r[x].i32 & r[y].i32; break; in interpret_skvm()
/external/llvm-project/libcxx/include/
Dvalarray4037 __val_expr<_BinaryOp<bit_and<typename _Expr1::value_type>, _Expr1, _Expr2> >
4042 typedef _BinaryOp<bit_and<value_type>, _Expr1, _Expr2> _Op;
4043 return __val_expr<_Op>(_Op(bit_and<value_type>(), __x, __y));
4051 __val_expr<_BinaryOp<bit_and<typename _Expr::value_type>,
4057 typedef _BinaryOp<bit_and<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4058 return __val_expr<_Op>(_Op(bit_and<value_type>(),
4067 __val_expr<_BinaryOp<bit_and<typename _Expr::value_type>,
4073 typedef _BinaryOp<bit_and<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4074 return __val_expr<_Op>(_Op(bit_and<value_type>(),
Dfunctional166 struct bit_and : unary_function<T, bool>
903 struct _LIBCPP_TEMPLATE_VIS bit_and : binary_function<_Tp, _Tp, _Tp>
912 struct _LIBCPP_TEMPLATE_VIS bit_and<void>
/external/libcxx/include/
Dvalarray4059 __val_expr<_BinaryOp<bit_and<typename _Expr1::value_type>, _Expr1, _Expr2> >
4064 typedef _BinaryOp<bit_and<value_type>, _Expr1, _Expr2> _Op;
4065 return __val_expr<_Op>(_Op(bit_and<value_type>(), __x, __y));
4073 __val_expr<_BinaryOp<bit_and<typename _Expr::value_type>,
4079 typedef _BinaryOp<bit_and<value_type>, _Expr, __scalar_expr<value_type> > _Op;
4080 return __val_expr<_Op>(_Op(bit_and<value_type>(),
4089 __val_expr<_BinaryOp<bit_and<typename _Expr::value_type>,
4095 typedef _BinaryOp<bit_and<value_type>, __scalar_expr<value_type>, _Expr> _Op;
4096 return __val_expr<_Op>(_Op(bit_and<value_type>(),
Dfunctional167 struct bit_and : unary_function<T, bool>
892 struct _LIBCPP_TEMPLATE_VIS bit_and : binary_function<_Tp, _Tp, _Tp>
901 struct _LIBCPP_TEMPLATE_VIS bit_and<void>

12