Home
last modified time | relevance | path

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

12

/dragonfly/contrib/gcc-4.7/gcc/
H A Dsbitmap.c66 if (!a->popcount) in sbitmap_verify_popcount()
124 bmap->popcount = XRESIZEVEC (unsigned char, bmap->popcount, size); in sbitmap_resize()
150 if (bmap->popcount) in sbitmap_resize()
165 if (bmap->popcount) in sbitmap_resize()
248 if (dst->popcount) in sbitmap_copy()
258 if (dst->popcount) in sbitmap_copy_n()
259 memcpy (dst->popcount, src->popcount, sizeof (unsigned char) * n); in sbitmap_copy_n()
339 if (bmap->popcount) in sbitmap_zero()
351 if (bmap->popcount) in sbitmap_ones()
422 gcc_assert (!dst->popcount && !a->popcount in sbitmap_union_of_diff()
[all …]
H A Dsbitmap.h36 #error Need to increase size of datatype used for popcount
41 unsigned char *popcount; /* Population count. */ member
61 if (map->popcount) in SET_BIT()
66 map->popcount[bitno / SBITMAP_ELT_BITS]++; in SET_BIT()
80 if (map->popcount) in RESET_BIT()
85 map->popcount[bitno / SBITMAP_ELT_BITS]--; in RESET_BIT()
201 #define sbitmap_free(MAP) (free((MAP)->popcount), free((MAP)))
H A Dbuiltins.def717 DEF_GCC_BUILTIN (BUILT_IN_POPCOUNT, "popcount", BT_FN_INT_UINT, ATTR_CONST_NOTHROW_LEAF_LIST)
H A Drtl.def633 DEF_RTL_EXPR(POPCOUNT, "popcount", "e", RTX_UNARY)
/dragonfly/contrib/ncurses/ncurses/tinfo/
H A Dlib_tparm.c111 #define popcount _nc_popcount /* workaround for NetBSD 6.0 defect */ macro
344 _nc_tparm_analyze(const char *string, char *p_is_s[NUM_PARM], int *popcount) in _nc_tparm_analyze() argument
366 *popcount = 0; in _nc_tparm_analyze()
406 if (lastpop > *popcount) in _nc_tparm_analyze()
407 *popcount = lastpop; in _nc_tparm_analyze()
477 int popcount = 0; in tparam_internal() local
502 number = _nc_tparm_analyze(cp, p_is_s, &popcount); in tparam_internal()
512 if (popcount > NUM_PARM) in tparam_internal()
513 popcount = NUM_PARM; in tparam_internal()
514 num_args = max(popcount, number); in tparam_internal()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Ddouble-int.h101 int popcount () const;
425 double_int::popcount () const in popcount() function
H A Doptabs.def169 OPTAB_NL(popcount_optab, "popcount$a2", POPCOUNT, "popcount", '2', gen_int_libfunc)
H A Dhsa-gen.c4406 hsa_insn_srctype *popcount in gen_hsa_popcount_to_dest() local
4409 hbb->append_insn (popcount); in gen_hsa_popcount_to_dest()
4410 popcount->set_output_in_type (dest, 0, hbb); in gen_hsa_popcount_to_dest()
4428 hsa_op_reg *popcount = new hsa_op_reg (BRIG_TYPE_U32); in gen_hsa_parity() local
4429 gen_hsa_popcount_to_dest (popcount, arg, hbb); in gen_hsa_parity()
4432 = new hsa_insn_basic (3, BRIG_OPCODE_REM, popcount->m_type, NULL, popcount, in gen_hsa_parity()
4433 new hsa_op_immed (2, popcount->m_type)); in gen_hsa_parity()
H A Dinternal-fn.def227 DEF_INTERNAL_INT_FN (POPCOUNT, ECF_CONST | ECF_NOTHROW, popcount, unary)
H A Dipa-icf.c3079 unsigned popcount = bitmap_count_bits (b); in traverse_congruence_split() local
3081 if (popcount > 0 && popcount < cls->members.length ()) in traverse_congruence_split()
H A Dexpmed.c4173 op1_is_pow2 = (wi::popcount (ext_op1) == 1 in expand_divmod()
4175 && wi::popcount (wi::neg (ext_op1)) == 1)); in expand_divmod()
4315 op1_is_pow2 = (wi::popcount (ext_op1) == 1 in expand_divmod()
4317 && wi::popcount (wi::neg (ext_op1)) == 1)); in expand_divmod()
4365 if (wi::popcount (wd) == 1) in expand_divmod()
H A Dfold-const-call.c897 *result = wi::shwi (wi::popcount (arg), precision); in fold_const_call_ss()
H A Dwide-int.h601 int popcount (const wide_int_ref &);
3121 return popcount (x) & 1;
H A Dwide-int.cc1486 wi::popcount (const wide_int_ref &x) in popcount() function in wi
H A Dbuiltins.def923 DEF_GCC_BUILTIN (BUILT_IN_POPCOUNT, "popcount", BT_FN_INT_UINT, ATTR_CONST_NOTHROW_LEAF_LIST)
H A Dfold-const.c457 && (wi::popcount in negate_expr_p()
460 && (wi::popcount in negate_expr_p()
10202 int pop = wi::popcount (warg1); in fold_binary_loc()
H A Drtl.def662 DEF_RTL_EXPR(POPCOUNT, "popcount", "e", RTX_UNARY)
H A Dtree-ssa-reassoc.c2685 if (wi::popcount (msk) == 1 in extract_bit_test_mask()
H A Dsimplify-rtx.c1897 result = wi::shwi (wi::popcount (op0), result_mode); in simplify_const_unary_operation()
/dragonfly/contrib/gcc-4.7/libgcc/
H A Dlibgcc2.h319 #define __popcountSI2 __NW(popcount,2)
325 #define __popcountDI2 __NDW(popcount,2)
/dragonfly/contrib/gcc-8.0/libgcc/
H A Dlibgcc2.h322 #define __popcountSI2 __NW(popcount,2)
328 #define __popcountDI2 __NDW(popcount,2)
/dragonfly/gnu/usr.bin/gmp/
H A DMakefile78 mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_sec$U.lo \
156 rootrem sqrtrem get_str set_str scan0 scan1 popcount hamdist cmp \
H A Dgmp.h1597 #define mpn_popcount __MPN(popcount)
/dragonfly/sbin/route/
H A Droute.c99 static int mplsop, popcount, pushcount, swapcount; variable
721 switch(++popcount){ in newroute()
735 if (popcount > 0) { in newroute()
/dragonfly/contrib/ncurses/progs/
H A Dtic.c1982 int popcount; in check_params() local
1983 int analyzed = _nc_tparm_analyze(value, p_is_s, &popcount); in check_params()
1984 if (analyzed < popcount) { in check_params()
1985 analyzed = popcount; in check_params()

12