Home
last modified time | relevance | path

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

12

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dlra-remat.cc79 typedef struct cand *cand_t;
80 typedef const struct cand *const_cand_t;
88 struct cand struct
174 cand_hash (const void *cand) in cand_hash() argument
176 const_cand_t c = (const_cand_t) cand; in cand_hash()
218 insert_cand (cand_t cand) in insert_cand() argument
222 entry_ptr = htab_find_slot (cand_table, cand, INSERT); in insert_cand()
224 *entry_ptr = (void *) cand; in insert_cand()
230 free_cand (void *cand) in free_cand() argument
232 free (cand); in free_cand()
[all …]
Dearly-remat.cc526 remat_candidate_hasher::hash (const remat_candidate *cand) in hash() argument
528 return cand->hash; in hash()
632 remat_candidate *cand; in dump_all_candidates() local
633 FOR_EACH_VEC_ELT (m_candidates, cand_index, cand) in dump_all_candidates()
635 fprintf (dump_file, ";; %5d %5d %8s ", cand_index, cand->regno, in dump_all_candidates()
636 GET_MODE_NAME (GET_MODE (regno_reg_rtx[cand->regno]))); in dump_all_candidates()
637 dump_insn_id (cand->insn); in dump_all_candidates()
638 if (!cand->can_copy_p) in dump_all_candidates()
795 remat_candidate cand; in add_candidate() local
796 memset (&cand, 0, sizeof (cand)); in add_candidate()
[all …]
Dtree-ssa-loop-ivopts.cc389 struct iv_cand *cand; /* The candidate. */ member in cost_pair
853 dump_cand (FILE *file, struct iv_cand *cand) in dump_cand() argument
855 struct iv *iv = cand->iv; in dump_cand()
857 fprintf (file, "Candidate %d:\n", cand->id); in dump_cand()
858 if (cand->inv_vars) in dump_cand()
861 dump_bitmap (file, cand->inv_vars); in dump_cand()
863 if (cand->inv_exprs) in dump_cand()
866 dump_bitmap (file, cand->inv_exprs); in dump_cand()
869 if (cand->var_before) in dump_cand()
872 print_generic_expr (file, cand->var_before, TDF_SLIM); in dump_cand()
[all …]
Dree.cc318 combine_set_extension (ext_cand *cand, rtx_insn *curr_insn, rtx *orig_set) in combine_set_extension() argument
323 rtx cand_pat = single_set (cand->insn); in combine_set_extension()
333 new_reg = gen_rtx_REG (cand->mode, REGNO (SET_DEST (cand_pat))); in combine_set_extension()
335 new_reg = gen_rtx_REG (cand->mode, REGNO (SET_DEST (*orig_set))); in combine_set_extension()
340 && HWI_COMPUTABLE_MODE_P (cand->mode)) in combine_set_extension()
342 if (INTVAL (orig_src) >= 0 || cand->code == SIGN_EXTEND) in combine_set_extension()
359 else if (GET_CODE (orig_src) == cand->code) in combine_set_extension()
363 = 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()
389 && update_reg_equal_equiv_notes (curr_insn, cand->mode, orig_mode, in combine_set_extension()
[all …]
Dtarghooks.cc541 opt_scalar_float_mode cand; in default_floatn_mode() local
550 cand = HFmode; in default_floatn_mode()
556 cand = SFmode; in default_floatn_mode()
562 cand = DFmode; in default_floatn_mode()
568 cand = TFmode; in default_floatn_mode()
575 if (cand.exists (&mode) in default_floatn_mode()
579 return cand; in default_floatn_mode()
Dtree.cc5462 check_lang_type (const_tree cand, const_tree base) in check_lang_type() argument
5467 if (TREE_CODE (cand) != FUNCTION_TYPE in check_lang_type()
5468 && TREE_CODE (cand) != METHOD_TYPE) in check_lang_type()
5470 return lang_hooks.types.type_hash_eq (cand, base); in check_lang_type()
5517 check_base_type (const_tree cand, const_tree base) in check_base_type() argument
5519 if (TYPE_NAME (cand) != TYPE_NAME (base) in check_base_type()
5521 || TYPE_CONTEXT (cand) != TYPE_CONTEXT (base) in check_base_type()
5522 || !attribute_list_equal (TYPE_ATTRIBUTES (cand), in check_base_type()
5526 if (TYPE_ALIGN (cand) == TYPE_ALIGN (base) in check_base_type()
5527 && TYPE_USER_ALIGN (cand) == TYPE_USER_ALIGN (base)) in check_base_type()
[all …]
Dcfgexpand.cc6411 tree cand = NULL_TREE; in discover_nonconstant_array_refs() local
6416 cand = gimple_call_arg (call, 0); in discover_nonconstant_array_refs()
6420 cand = gimple_call_lhs (call); in discover_nonconstant_array_refs()
6425 if (cand) in discover_nonconstant_array_refs()
6426 cand = get_base_address (cand); in discover_nonconstant_array_refs()
6427 if (cand in discover_nonconstant_array_refs()
6428 && DECL_P (cand) in discover_nonconstant_array_refs()
6429 && use_register_for_decl (cand)) in discover_nonconstant_array_refs()
6430 bitmap_set_bit (forced_stack_vars, DECL_UID (cand)); in discover_nonconstant_array_refs()
Dgimple-ssa-strength-reduction.cc312 slsr_cand_t cand; member
555 slsr_cand_t one_basis = chain->cand; in find_basis_for_base_expr()
653 node->cand = c; in record_potential_basis()
1922 fprintf (dump_file, " -> %d", chain->cand->cand_num); in ssa_base_cand_dump_callback()
1925 fprintf (dump_file, " -> %d", p->cand->cand_num); in ssa_base_cand_dump_callback()
Dgenrecog.cc3471 subroutine_candidate cand = candidates.pop (); in find_subroutines() local
3472 size.num_statements -= cand.second.num_statements; in find_subroutines()
3473 cand.first->to = create_subroutine (type, cand.first->to, procs); in find_subroutines()
Dgcc.cc4019 char *cand = XALLOCAVEC (char, olen); in check_offload_target_name() local
4020 memcpy (cand, OFFLOAD_TARGETS, olen); in check_offload_target_name()
4021 for (c = strtok (cand, ","); c; c = strtok (NULL, ",")) in check_offload_target_name()
/netbsd/src/external/bsd/wpa/dist/src/rsn_supp/
Dpreauth.c381 struct rsn_pmksa_candidate *cand, *pos; in pmksa_candidate_add() local
395 cand = NULL; in pmksa_candidate_add()
399 cand = pos; in pmksa_candidate_add()
404 if (cand) { in pmksa_candidate_add()
405 dl_list_del(&cand->list); in pmksa_candidate_add()
407 cand->priority = prio; in pmksa_candidate_add()
409 cand = os_zalloc(sizeof(*cand)); in pmksa_candidate_add()
410 if (cand == NULL) in pmksa_candidate_add()
412 os_memcpy(cand->bssid, bssid, ETH_ALEN); in pmksa_candidate_add()
413 cand->priority = prio; in pmksa_candidate_add()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dcall.cc138 struct z_candidate *cand; member
1893 z_candidate *cand = build_user_type_conversion_1 (rto, expr, flags, in reference_binding() local
1895 if (cand) in reference_binding()
1896 return cand->second_conv; in reference_binding()
1958 && DECL_CONV_FN_P (t->cand->fn)) in reference_binding()
1960 tree ftype = TREE_TYPE (TREE_TYPE (t->cand->fn)); in reference_binding()
2095 struct z_candidate *cand; in implicit_conversion_1() local
2102 cand = build_user_type_conversion_1 (to, expr, flags, complain); in implicit_conversion_1()
2103 if (cand) in implicit_conversion_1()
2108 && !is_list_ctor (cand->fn)) in implicit_conversion_1()
[all …]
Dcvt.cc1834 tree cand = TREE_VALUE (conv); in build_expr_type_conversion() local
1835 cand = OVL_FIRST (cand); in build_expr_type_conversion()
1837 if (winner && winner == cand) in build_expr_type_conversion()
1840 if (DECL_NONCONVERTING_P (cand)) in build_expr_type_conversion()
1843 candidate = non_reference (TREE_TYPE (TREE_TYPE (cand))); in build_expr_type_conversion()
1885 if (TREE_CODE (cand) == TEMPLATE_DECL) in build_expr_type_conversion()
1889 " argument for %qD", cand); in build_expr_type_conversion()
1907 winner, cand); in build_expr_type_conversion()
1913 winner = cand; in build_expr_type_conversion()
Dtree.cc2308 cp_check_qualified_type (const_tree cand, const_tree base, int type_quals, in cp_check_qualified_type() argument
2311 return (TYPE_QUALS (cand) == type_quals in cp_check_qualified_type()
2312 && check_base_type (cand, base) in cp_check_qualified_type()
2313 && comp_except_specs (raises, TYPE_RAISES_EXCEPTIONS (cand), in cp_check_qualified_type()
2315 && TYPE_HAS_LATE_RETURN_TYPE (cand) == late in cp_check_qualified_type()
2316 && type_memfn_rqual (cand) == rqual); in cp_check_qualified_type()
/netbsd/src/sys/arch/ia64/stand/common/
Dbcache.c267 int cand, ocount; in bcache_insert() local
271 cand = 0; /* assume the first block */ in bcache_insert()
278 cand = i; in bcache_insert()
283 cand = i; in bcache_insert()
287 DEBUG("insert blk %d -> %d @ %d # %d", blkno, cand, now, bcache_bcount); in bcache_insert()
288 memcpy(bcache_data + (bcache_blksize * cand), buf, bcache_blksize); in bcache_insert()
289 bcache_ctl[cand].bc_blkno = blkno; in bcache_insert()
290 bcache_ctl[cand].bc_stamp = now; in bcache_insert()
291 bcache_ctl[cand].bc_count = bcache_bcount++; in bcache_insert()
/netbsd/src/usr.bin/make/
Dsuff.c926 CandidateSearcher_Add(CandidateSearcher *cs, Candidate *cand) in CandidateSearcher_Add() argument
929 Lst_Append(&cs->list, cand); in CandidateSearcher_Add()
933 CandidateSearcher_AddIfNew(CandidateSearcher *cs, Candidate *cand) in CandidateSearcher_AddIfNew() argument
936 if (Lst_FindDatum(&cs->list, cand) == NULL) in CandidateSearcher_AddIfNew()
937 Lst_Append(&cs->list, cand); in CandidateSearcher_AddIfNew()
955 Candidate *cand = ln->datum; in CandidateList_PrintAddrs() local
956 debug_printf(" %p:%s", cand, cand->file); in CandidateList_PrintAddrs()
966 Candidate *cand = bmake_malloc(sizeof *cand); in Candidate_New() local
968 cand->file = name; in Candidate_New()
969 cand->prefix = prefix; in Candidate_New()
[all …]
/netbsd/src/lib/libpuffs/
Dframebuf.c623 struct puffs_framebuf *cand; in findbuf() local
626 TAILQ_FOREACH(cand, &fio->res_qing, pfb_entries) in findbuf()
627 if (fctrl->cmpfb(pu, findme, cand, &notresp) == 0 || notresp) in findbuf()
630 assert(!(notresp && cand == NULL)); in findbuf()
631 if (notresp || cand == NULL) in findbuf()
634 TAILQ_REMOVE(&fio->res_qing, cand, pfb_entries); in findbuf()
635 return cand; in findbuf()
/netbsd/src/external/bsd/libarchive/dist/libarchive/
Darchive_read_support_format_warc.c464 const char *cand; in xmemmem() local
499 for (cand = hay; hp < eoh; hp++) { in xmemmem()
500 hsum ^= *cand++; in xmemmem()
507 if (hsum == nsum && memcmp(cand, needle, needlesize - 1U) == 0) { in xmemmem()
508 return deconst(cand); in xmemmem()
/netbsd/src/external/bsd/wpa/dist/wpa_supplicant/
Dp2p_supplicant.c6488 unsigned int cand; in wpas_p2p_init_go_params() local
6594 cand = wpas_p2p_pick_best_used_freq(wpa_s, freqs, num); in wpas_p2p_init_go_params()
6595 if (wpas_p2p_supported_freq_go(wpa_s, channels, cand)) { in wpas_p2p_init_go_params()
6598 cand); in wpas_p2p_init_go_params()
6599 params->freq = cand; in wpas_p2p_init_go_params()
6683 cand = p2p_get_pref_freq(wpa_s->global->p2p, channels); in wpas_p2p_init_go_params()
6684 if (cand && wpas_p2p_supported_freq_go(wpa_s, channels, cand)) { in wpas_p2p_init_go_params()
6685 params->freq = cand; in wpas_p2p_init_go_params()
6699 cand = wpa_s->p2p_group_common_freqs[i]; in wpas_p2p_init_go_params()
6700 op_class = is_6ghz_freq(cand) ? 133 : 128; in wpas_p2p_init_go_params()
[all …]
/netbsd/src/external/bsd/wpa/dist/src/drivers/
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()
Ddriver_nl80211_event.c2315 struct nlattr *cand[NUM_NL80211_PMKSA_CANDIDATE]; in nl80211_pmksa_candidate_event() local
2329 nla_parse_nested(cand, MAX_NL80211_PMKSA_CANDIDATE, in nl80211_pmksa_candidate_event()
2331 !cand[NL80211_PMKSA_CANDIDATE_INDEX] || in nl80211_pmksa_candidate_event()
2332 !cand[NL80211_PMKSA_CANDIDATE_BSSID]) in nl80211_pmksa_candidate_event()
2337 nla_data(cand[NL80211_PMKSA_CANDIDATE_BSSID]), ETH_ALEN); in nl80211_pmksa_candidate_event()
2339 nla_get_u32(cand[NL80211_PMKSA_CANDIDATE_INDEX]); in nl80211_pmksa_candidate_event()
2341 cand[NL80211_PMKSA_CANDIDATE_PREAUTH] != NULL; in nl80211_pmksa_candidate_event()
/netbsd/src/external/gpl3/binutils/dist/cpu/
Dmep-avc.cpu460 (dncpi cand_avc_c3 "cand" (OPTIONAL_CP_INSN (SLOT C3) (INTRINSIC "cand"))
461 "cand $avcc3CRq,$avcc3CRp"
1053 (dn16i cand_avc_v1 "cand" (VLIW64_NO_MATCHING_NOP (SLOT V1) (INTRINSIC "cand"))
1054 "cand $avcv1CRq,$avcv1CRp"
Dmep-avc2.cpu464 (dncpi cand_avc2_c3 "cand" (OPTIONAL_CP_INSN (SLOT C3) (INTRINSIC "cand"))
465 "cand $avc2c3CRq,$avc2c3CRp"
1337 (dn16i cand_avc2_v1 "cand" (VLIW64_NO_MATCHING_NOP (SLOT V1) (INTRINSIC "cand"))
1338 "cand $avc2v1CRq,$avc2v1CRp"
/netbsd/src/external/gpl3/gdb/dist/cpu/
Dmep-avc.cpu460 (dncpi cand_avc_c3 "cand" (OPTIONAL_CP_INSN (SLOT C3) (INTRINSIC "cand"))
461 "cand $avcc3CRq,$avcc3CRp"
1053 (dn16i cand_avc_v1 "cand" (VLIW64_NO_MATCHING_NOP (SLOT V1) (INTRINSIC "cand"))
1054 "cand $avcv1CRq,$avcv1CRp"
Dmep-avc2.cpu464 (dncpi cand_avc2_c3 "cand" (OPTIONAL_CP_INSN (SLOT C3) (INTRINSIC "cand"))
465 "cand $avc2c3CRq,$avc2c3CRp"
1337 (dn16i cand_avc2_v1 "cand" (VLIW64_NO_MATCHING_NOP (SLOT V1) (INTRINSIC "cand"))
1338 "cand $avc2v1CRq,$avc2v1CRp"

12