Home
last modified time | relevance | path

Searched refs:cand (Results 1 – 25 of 36) sorted by relevance

12

/dragonfly/contrib/gcc-8.0/gcc/
H A Dlra-remat.c93 struct cand struct
236 free (cand); in free_cand()
409 cand_t cand = XNEW (struct cand);
418 free (cand);
424 cand->next_regno_cand = regno_cands[cand->regno];
425 regno_cands[cand->regno] = cand;
536 cand_t cand; in dump_cands() local
543 i, cand->nop, cand->regno, cand->reload_regno); in dump_cands()
1089 cand_t cand; in do_remat() local
1113 cand = cand->next_regno_cand) in do_remat()
[all …]
H A Dree.c363 = gen_rtx_fmt_e (cand->code, cand->mode, XEXP (orig_src, 0)); in combine_set_extension()
379 = gen_rtx_fmt_e (cand->code, cand->mode, orig_src); in combine_set_extension()
390 cand->code)) in combine_set_extension()
443 cand->code)) in transform_ifelse()
881 def_insn, cand->insn) in combine_reaching_defs()
883 def_insn, cand->insn)) in combine_reaching_defs()
997 != (cand->code == ZERO_EXTEND in combine_reaching_defs()
999 || state->modified[INSN_UID (cand->insn)].mode != cand->mode in combine_reaching_defs()
1005 cand->mode = mode; in combine_reaching_defs()
1115 ext_cand *cand; in add_removable_extension() local
[all …]
H A Dearly-remat.c524 return cand->hash; in hash()
792 memset (&cand, 0, sizeof (cand)); in add_candidate()
794 cand.insn = insn; in add_candidate()
1269 if (cand->can_copy_p && !cand->constant_p) in compute_rd()
1401 if (cand->uses) in compute_clobbers()
1425 gcc_checking_assert (cand->can_copy_p && !cand->validated_p); in assign_value_number()
1436 = m_value_table.find_slot_with_hash (cand, cand->hash, INSERT); in assign_value_number()
1439 *slot = cand; in assign_value_number()
1816 cand->regno); in emit_remat_insns()
1839 unsigned int regno = via_copy_p ? cand->copy_regno : cand->regno; in emit_remat_insns()
[all …]
H A Dtree-ssa-loop-ivopts.c3133 cand->var_after = cand->var_before;
3147 cand->inv_exprs = cand->inv_vars;
3610 group->cost_map[cand->id].cand = cand; in set_group_iv_cost()
3631 group->cost_map[i].cand = cand; in set_group_iv_cost()
3663 if (group->cost_map[i].cand == cand) in get_group_iv_cost()
3668 if (group->cost_map[i].cand == cand) in get_group_iv_cost()
5743 if (a->cand->cost < b->cand->cost) in cheaper_cost_pair()
6187 && old_cp->cand == cand) in iv_ca_extend()
6241 if (old_cp->cand != cand) in iv_ca_narrow()
6424 if (old_cp->cand != cand) in iv_ca_replace()
[all …]
H A Dipa-param-manipulation.c647 struct ipa_parm_adjustment *cand = NULL; in ipa_get_adjustment_candidate() local
656 cand = adj; in ipa_get_adjustment_candidate()
661 if (!cand || cand->op == IPA_PARM_OP_COPY || cand->op == IPA_PARM_OP_REMOVE) in ipa_get_adjustment_candidate()
663 return cand; in ipa_get_adjustment_candidate()
677 struct ipa_parm_adjustment *cand in ipa_modify_expr() local
679 if (!cand) in ipa_modify_expr()
683 if (cand->by_ref) in ipa_modify_expr()
685 src = build_simple_mem_ref (cand->new_decl); in ipa_modify_expr()
686 REF_REVERSE_STORAGE_ORDER (src) = cand->reverse; in ipa_modify_expr()
689 src = cand->new_decl; in ipa_modify_expr()
[all …]
H A Dhsa-regalloc.c389 hsa_op_reg *cand = active[cl][0]; in spill_at_interval() local
390 if (cand->m_lr_end > reg->m_lr_end) in spill_at_interval()
392 reg->m_reg_class = cand->m_reg_class; in spill_at_interval()
393 reg->m_hard_num = cand->m_hard_num; in spill_at_interval()
399 cand = reg; in spill_at_interval()
401 gcc_assert (!cand->m_spill_sym); in spill_at_interval()
402 BrigType16_t type = cand->m_type; in spill_at_interval()
405 cand->m_reg_class = 0; in spill_at_interval()
406 cand->m_spill_sym = hsa_get_spill_symbol (type); in spill_at_interval()
407 cand->m_spill_sym->m_name_number = cand->m_order; in spill_at_interval()
H A Dtarghooks.c523 opt_scalar_float_mode cand; in default_floatn_mode() local
532 cand = HFmode; in default_floatn_mode()
538 cand = SFmode; in default_floatn_mode()
544 cand = DFmode; in default_floatn_mode()
550 cand = TFmode; in default_floatn_mode()
557 if (cand.exists (&mode) in default_floatn_mode()
561 return cand; in default_floatn_mode()
H A Dtree.c5959 && check_base_type (cand, base) in check_qualified_type()
5960 && check_lang_type (cand, base)); in check_qualified_type()
5973 && TYPE_ALIGN (cand) == align in check_aligned_type()
10552 tree cand; in build_opaque_vector_type() local
10555 cand = TYPE_NEXT_VARIANT (t); in build_opaque_vector_type()
10556 if (cand in build_opaque_vector_type()
10557 && TYPE_VECTOR_OPAQUE (cand) in build_opaque_vector_type()
10559 return cand; in build_opaque_vector_type()
10563 TYPE_VECTOR_OPAQUE (cand) = true; in build_opaque_vector_type()
10566 TYPE_NEXT_VARIANT (t) = cand; in build_opaque_vector_type()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dree.c320 = gen_rtx_fmt_e (cand->code, cand->mode, XEXP (orig_src, 0)); in combine_set_extension()
336 = gen_rtx_fmt_e (cand->code, cand->mode, orig_src); in combine_set_extension()
680 || state->modified[INSN_UID (cand->insn)].mode != cand->mode in combine_reaching_defs()
685 cand->mode = mode; in combine_reaching_defs()
735 = (cand->code == ZERO_EXTEND in combine_reaching_defs()
790 ext_cand *cand; in add_removable_extension() local
810 && (cand->code != code || cand->mode != mode)) in add_removable_extension()
824 cand->expr = expr; in add_removable_extension()
825 cand->code = code; in add_removable_extension()
826 cand->mode = mode; in add_removable_extension()
[all …]
H A Dtree-ssa-loop-ivopts.c556 cand->id, cand->important ? " (important)" : ""); in dump_cand()
2279 cand->var_after = cand->var_before; in add_candidate_1()
2688 use->cost_map[cand->id].cand = cand; in set_use_iv_cost()
2709 use->cost_map[i].cand = cand; in set_use_iv_cost()
2726 if (!cand) in get_use_iv_cost()
2741 if (use->cost_map[i].cand == cand) in get_use_iv_cost()
2745 if (use->cost_map[i].cand == cand) in get_use_iv_cost()
5198 if (a->cand->cost < b->cand->cost) in cheaper_cost_pair()
5634 && old_cp->cand == cand) in iv_ca_extend()
5679 if (old_cp->cand != cand) in iv_ca_narrow()
[all …]
H A Dtree.c5672 return (TYPE_QUALS (cand) == type_quals in check_qualified_type()
5692 && TYPE_ALIGN (cand) == align in check_aligned_type()
9830 tree cand; in build_opaque_vector_type() local
9833 cand = TYPE_NEXT_VARIANT (t); in build_opaque_vector_type()
9834 if (cand in build_opaque_vector_type()
9835 && TYPE_VECTOR_OPAQUE (cand) in build_opaque_vector_type()
9837 return cand; in build_opaque_vector_type()
9840 cand = build_distinct_type_copy (t); in build_opaque_vector_type()
9841 TYPE_VECTOR_OPAQUE (cand) = true; in build_opaque_vector_type()
9844 TYPE_NEXT_VARIANT (t) = cand; in build_opaque_vector_type()
[all …]
H A Dtree-sra.c4370 struct ipa_parm_adjustment *adj, *cand = NULL; in sra_ipa_modify_expr() local
4405 cand = adj; in sra_ipa_modify_expr()
4409 if (!cand || cand->copy_param || cand->remove_param) in sra_ipa_modify_expr()
4412 if (cand->by_ref) in sra_ipa_modify_expr()
4413 src = build_simple_mem_ref (cand->reduction); in sra_ipa_modify_expr()
4415 src = cand->reduction; in sra_ipa_modify_expr()
4426 if (convert && !useless_type_conversion_p (TREE_TYPE (*expr), cand->type)) in sra_ipa_modify_expr()
/dragonfly/contrib/wpa_supplicant/src/rsn_supp/
H A Dpreauth.c385 cand = NULL; in pmksa_candidate_add()
389 cand = pos; in pmksa_candidate_add()
394 if (cand) { in pmksa_candidate_add()
395 dl_list_del(&cand->list); in pmksa_candidate_add()
397 cand->priority = prio; in pmksa_candidate_add()
399 cand = os_zalloc(sizeof(*cand)); in pmksa_candidate_add()
400 if (cand == NULL) in pmksa_candidate_add()
403 cand->priority = prio; in pmksa_candidate_add()
420 os_free(cand); in pmksa_candidate_add()
424 cand = NULL; in pmksa_candidate_add()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/cp/
H A Dcall.c1788 return cand; in add_candidate()
2987 return cand; in add_template_candidate_real()
3471 for (cand = candidates; cand; cand = cand->next) in build_user_type_conversion_1()
3511 for (cand = candidates; cand != old_candidates; cand = cand->next) in build_user_type_conversion_1()
3611 conv->cand = cand; in build_user_type_conversion_1()
3623 return cand; in build_user_type_conversion_1()
3637 if (cand) in build_user_type_conversion()
3875 if (!cand) in build_new_function_call()
3949 if (!cand) in build_operator_new_call()
5653 struct z_candidate *cand = convs->cand; in convert_like_real() local
[all …]
H A Dcvt.c1533 tree cand = TREE_VALUE (conv); in build_expr_type_conversion() local
1534 cand = OVL_CURRENT (cand); in build_expr_type_conversion()
1536 if (winner && winner == cand) in build_expr_type_conversion()
1539 if (DECL_NONCONVERTING_P (cand)) in build_expr_type_conversion()
1542 candidate = non_reference (TREE_TYPE (TREE_TYPE (cand))); in build_expr_type_conversion()
1584 if (TREE_CODE (cand) == TEMPLATE_DECL) in build_expr_type_conversion()
1588 " argument for %qD", cand); in build_expr_type_conversion()
1599 winner, cand); in build_expr_type_conversion()
1604 winner = cand; in build_expr_type_conversion()
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Dcall.c3818 for (cand = candidates; cand; cand = cand->next) in build_user_type_conversion_1()
3863 for (cand = candidates; cand != old_candidates; cand = cand->next) in build_user_type_conversion_1()
3975 conv->cand = cand; in build_user_type_conversion_1()
4002 if (cand) in build_user_type_conversion()
4283 if (!cand) in build_new_function_call()
4401 if (!cand) in build_operator_new_call()
4407 if (!cand) in build_operator_new_call()
6739 struct z_candidate *cand = convs->cand; in convert_like_real() local
8101 && cand->convs[cand->num_convs-1]->ellipsis_p) in build_over_call()
9693 tree f1 = t1->cand ? t1->cand->fn : t1->type; in compare_ics()
[all …]
H A Dcvt.c1737 tree cand = TREE_VALUE (conv); in build_expr_type_conversion() local
1738 cand = OVL_FIRST (cand); in build_expr_type_conversion()
1740 if (winner && winner == cand) in build_expr_type_conversion()
1743 if (DECL_NONCONVERTING_P (cand)) in build_expr_type_conversion()
1746 candidate = non_reference (TREE_TYPE (TREE_TYPE (cand))); in build_expr_type_conversion()
1788 if (TREE_CODE (cand) == TEMPLATE_DECL) in build_expr_type_conversion()
1792 " argument for %qD", cand); in build_expr_type_conversion()
1810 winner, cand); in build_expr_type_conversion()
1816 winner = cand; in build_expr_type_conversion()
/dragonfly/stand/boot/common/
H A Dbcache.c263 int cand, ocount; in bcache_insert() local
267 cand = 0; /* assume the first block */ in bcache_insert()
274 cand = i; in bcache_insert()
279 cand = i; in bcache_insert()
283 DEBUG("insert blk %d -> %d @ %d # %d", blkno, cand, now, bcache_bcount); in bcache_insert()
284 bcopy(buf, bcache_data + (bcache_blksize * cand), bcache_blksize); in bcache_insert()
285 bcache_ctl[cand].bc_blkno = blkno; in bcache_insert()
286 bcache_ctl[cand].bc_stamp = now; in bcache_insert()
287 bcache_ctl[cand].bc_count = bcache_bcount++; in bcache_insert()
/dragonfly/contrib/bmake/
H A Dsuff.c993 debug_printf(" %p:%s", cand, cand->file); in CandidateList_PrintAddrs()
1003 Candidate *cand = bmake_malloc(sizeof *cand); in Candidate_New() local
1005 cand->file = name; in Candidate_New()
1006 cand->prefix = prefix; in Candidate_New()
1008 cand->parent = parent; in Candidate_New()
1009 cand->node = gn; in Candidate_New()
1010 cand->numChildren = 0; in Candidate_New()
1015 return cand; in Candidate_New()
1027 Lst_Append(list, cand); in CandidateList_Add()
1032 debug_tag, targ, targ->file, cand, cand->file, list); in CandidateList_Add()
[all …]
/dragonfly/sys/platform/pc64/x86_64/
H A Damd64_mem.c156 struct mem_range_desc *cand; in mem_range_match() local
159 for (i = 0, cand = sc->mr_desc; i < sc->mr_ndesc; i++, cand++) in mem_range_match()
160 if ((cand->mr_base == mrd->mr_base) && in mem_range_match()
161 (cand->mr_len == mrd->mr_len)) in mem_range_match()
162 return (cand); in mem_range_match()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_read_support_format_warc.c457 const char *cand; in xmemmem() local
492 for (cand = hay; hp < eoh; hp++) { in xmemmem()
493 hsum ^= *cand++; in xmemmem()
500 if (hsum == nsum && memcmp(cand, needle, needlesize - 1U) == 0) { in xmemmem()
501 return deconst(cand); in xmemmem()
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Dp2p_supplicant.c5966 unsigned int cand; in wpas_p2p_init_go_params() local
6067 cand); in wpas_p2p_init_go_params()
6068 params->freq = cand; in wpas_p2p_init_go_params()
6153 if (cand && wpas_p2p_supported_freq_go(wpa_s, channels, cand)) { in wpas_p2p_init_go_params()
6154 params->freq = cand; in wpas_p2p_init_go_params()
6199 cand) || in wpas_p2p_init_go_params()
6222 cand)) in wpas_p2p_init_go_params()
9085 cand = 0; in wpas_p2p_optimize_listen_channel()
9090 cand = chan; in wpas_p2p_optimize_listen_channel()
9093 if (cand) { in wpas_p2p_optimize_listen_channel()
[all …]
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver_wext.c323 const struct iw_pmkid_cand *cand; in wpa_driver_wext_event_wireless_pmkidcand() local
327 if (len < sizeof(*cand)) in wpa_driver_wext_event_wireless_pmkidcand()
330 cand = (const struct iw_pmkid_cand *) ev; in wpa_driver_wext_event_wireless_pmkidcand()
331 addr = (const u8 *) cand->bssid.sa_data; in wpa_driver_wext_event_wireless_pmkidcand()
334 "flags=0x%x index=%d bssid=" MACSTR, cand->flags, in wpa_driver_wext_event_wireless_pmkidcand()
335 cand->index, MAC2STR(addr)); in wpa_driver_wext_event_wireless_pmkidcand()
339 data.pmkid_candidate.index = cand->index; in wpa_driver_wext_event_wireless_pmkidcand()
340 data.pmkid_candidate.preauth = cand->flags & IW_PMKID_CAND_PREAUTH; in wpa_driver_wext_event_wireless_pmkidcand()
H A Ddriver_nl80211_event.c1434 struct nlattr *cand[NUM_NL80211_PMKSA_CANDIDATE]; in nl80211_pmksa_candidate_event() local
1448 nla_parse_nested(cand, MAX_NL80211_PMKSA_CANDIDATE, in nl80211_pmksa_candidate_event()
1450 !cand[NL80211_PMKSA_CANDIDATE_INDEX] || in nl80211_pmksa_candidate_event()
1451 !cand[NL80211_PMKSA_CANDIDATE_BSSID]) in nl80211_pmksa_candidate_event()
1456 nla_data(cand[NL80211_PMKSA_CANDIDATE_BSSID]), ETH_ALEN); in nl80211_pmksa_candidate_event()
1458 nla_get_u32(cand[NL80211_PMKSA_CANDIDATE_INDEX]); in nl80211_pmksa_candidate_event()
1460 cand[NL80211_PMKSA_CANDIDATE_PREAUTH] != NULL; in nl80211_pmksa_candidate_event()
/dragonfly/sys/net/netmap/
H A Dnetmap_vale.c514 int i, j, cand = -1, cand2 = -1; in netmap_get_bdg_na() local
563 cand = b->bdg_port_index[b->bdg_active_ports]; in netmap_get_bdg_na()
566 b->bdg_basename, name, b->bdg_active_ports, cand, cand2); in netmap_get_bdg_na()
655 vpna->bdg_port = cand; in netmap_get_bdg_na()
656 ND("NIC %p to bridge port %d", vpna, cand); in netmap_get_bdg_na()
658 b->bdg_ports[cand] = vpna; in netmap_get_bdg_na()

12