| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | lra-remat.cc | 79 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 …]
|
| H A D | early-remat.cc | 526 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 …]
|
| H A D | tree-ssa-loop-ivopts.cc | 389 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 …]
|
| H A D | ree.cc | 318 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 …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | lra-remat.c | 79 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 …]
|
| H A D | early-remat.c | 526 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 …]
|
| H A D | tree-ssa-loop-ivopts.c | 389 struct iv_cand *cand; /* The candidate. */ variable 852 dump_cand (FILE *file, struct iv_cand *cand) in dump_cand() argument 854 struct iv *iv = cand->iv; in dump_cand() 856 fprintf (file, "Candidate %d:\n", cand->id); in dump_cand() 857 if (cand->inv_vars) in dump_cand() 860 dump_bitmap (file, cand->inv_vars); in dump_cand() 862 if (cand->inv_exprs) in dump_cand() 865 dump_bitmap (file, cand->inv_exprs); in dump_cand() 868 if (cand->var_before) in dump_cand() 871 print_generic_expr (file, cand->var_before, TDF_SLIM); in dump_cand() [all …]
|
| H A D | ree.c | 318 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 …]
|
| H A D | hsa-regalloc.c | 390 hsa_op_reg *cand = active[cl][0]; in spill_at_interval() local 391 if (cand->m_lr_end > reg->m_lr_end) in spill_at_interval() 393 reg->m_reg_class = cand->m_reg_class; in spill_at_interval() 394 reg->m_hard_num = cand->m_hard_num; in spill_at_interval() 400 cand = reg; in spill_at_interval() 402 gcc_assert (!cand->m_spill_sym); in spill_at_interval() 403 BrigType16_t type = cand->m_type; in spill_at_interval() 406 cand->m_reg_class = 0; in spill_at_interval() 407 cand->m_spill_sym = hsa_get_spill_symbol (type); in spill_at_interval() 408 cand->m_spill_sym->m_name_number = cand->m_order; in spill_at_interval()
|
| H A D | targhooks.c | 531 opt_scalar_float_mode cand; in default_floatn_mode() local 540 cand = HFmode; in default_floatn_mode() 546 cand = SFmode; in default_floatn_mode() 552 cand = DFmode; in default_floatn_mode() 558 cand = TFmode; in default_floatn_mode() 565 if (cand.exists (&mode) in default_floatn_mode() 569 return cand; in default_floatn_mode()
|
| /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/frv/ |
| H A D | cand.cgs | 1 # frv testcase for cand $GRi,$GRj,$GRk 8 .global cand 9 cand: 15 cand gr7,gr8,gr8,cc0,1 21 cand gr7,gr8,gr8,cc0,1 27 cand gr7,gr8,gr8,cc4,1 34 cand gr7,gr8,gr8,cc0,0 40 cand gr7,gr8,gr8,cc0,0 46 cand gr7,gr8,gr8,cc4,0 53 cand gr7,gr8,gr8,cc1,0 [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | call.cc | 138 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 …]
|
| H A D | cvt.cc | 1834 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()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
| H A D | call.c | 138 struct z_candidate *cand; member 1866 z_candidate *cand = build_user_type_conversion_1 (rto, expr, flags, in reference_binding() local 1868 if (cand) in reference_binding() 1869 return cand->second_conv; in reference_binding() 1931 && DECL_CONV_FN_P (t->cand->fn)) in reference_binding() 1933 tree ftype = TREE_TYPE (TREE_TYPE (t->cand->fn)); in reference_binding() 2070 struct z_candidate *cand; in implicit_conversion() local 2077 cand = build_user_type_conversion_1 (to, expr, flags, complain); in implicit_conversion() 2078 if (cand) in implicit_conversion() 2082 && !is_list_ctor (cand->fn)) in implicit_conversion() [all …]
|
| H A D | cvt.c | 1815 tree cand = TREE_VALUE (conv); in build_expr_type_conversion() local 1816 cand = OVL_FIRST (cand); in build_expr_type_conversion() 1818 if (winner && winner == cand) in build_expr_type_conversion() 1821 if (DECL_NONCONVERTING_P (cand)) in build_expr_type_conversion() 1824 candidate = non_reference (TREE_TYPE (TREE_TYPE (cand))); in build_expr_type_conversion() 1866 if (TREE_CODE (cand) == TEMPLATE_DECL) in build_expr_type_conversion() 1870 " argument for %qD", cand); in build_expr_type_conversion() 1888 winner, cand); in build_expr_type_conversion() 1894 winner = cand; in build_expr_type_conversion()
|
| /netbsd-src/sys/arch/ia64/stand/common/ |
| H A D | bcache.c | 267 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/ |
| H A D | suff.c | 926 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 986 Candidate *cand = Candidate_New(srcName, targ->prefix, suff, targ, CandidateList_Add() local 1004 CandidateList_AddCandidatesFor(CandidateList * list,Candidate * cand) CandidateList_AddCandidatesFor() argument [all...] |
| /netbsd-src/external/gpl3/gcc/dist/gcc/common/config/arm/ |
| H A D | arm-common.cc | 849 for (const cpu_arch_extension *cand = selected_arch->common.extensions; in arm_canon_arch_option_1() local 850 cand->name != NULL; in arm_canon_arch_option_1() 851 cand++) in arm_canon_arch_option_1() 853 if (cand->remove || cand->alias) in arm_canon_arch_option_1() 859 arm_initialize_isa (isa_bits, cand->isa_bits); in arm_canon_arch_option_1() 862 extensions.push_back (new candidate_extension (cand, isa_bits)); in arm_canon_arch_option_1() 886 for (const cpu_arch_extension *cand = selected_arch->common.extensions; in arm_canon_arch_option_1() local 887 cand->name != NULL; in arm_canon_arch_option_1() 888 cand++) in arm_canon_arch_option_1() 890 if (cand->remove || cand->alias) in arm_canon_arch_option_1() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/common/config/arm/ |
| H A D | arm-common.c | 802 for (const cpu_arch_extension *cand = selected_arch->common.extensions; in arm_canon_arch_option_1() local 803 cand->name != NULL; in arm_canon_arch_option_1() 804 cand++) in arm_canon_arch_option_1() 806 if (cand->remove || cand->alias) in arm_canon_arch_option_1() 812 arm_initialize_isa (isa_bits, cand->isa_bits); in arm_canon_arch_option_1() 815 extensions.push_back (new candidate_extension (cand, isa_bits)); in arm_canon_arch_option_1() 839 for (const cpu_arch_extension *cand = selected_arch->common.extensions; in arm_canon_arch_option_1() local 840 cand->name != NULL; in arm_canon_arch_option_1() 841 cand++) in arm_canon_arch_option_1() 843 if (cand->remove || cand->alias) in arm_canon_arch_option_1() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/ |
| H A D | misc.c | 409 char **cand = candidates; in gfc_closest_fuzzy_match() local 413 while (cand && *cand) in gfc_closest_fuzzy_match() 415 edit_distance_t dist = get_edit_distance (typo, tl, *cand, in gfc_closest_fuzzy_match() 416 strlen (*cand)); in gfc_closest_fuzzy_match() 420 best = *cand; in gfc_closest_fuzzy_match() 422 cand++; in gfc_closest_fuzzy_match()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/fortran/ |
| H A D | misc.cc | 411 char **cand = candidates; in gfc_closest_fuzzy_match() local 415 while (cand && *cand) in gfc_closest_fuzzy_match() 417 edit_distance_t dist = get_edit_distance (typo, tl, *cand, in gfc_closest_fuzzy_match() 418 strlen (*cand)); in gfc_closest_fuzzy_match() 422 best = *cand; in gfc_closest_fuzzy_match() 424 cand++; in gfc_closest_fuzzy_match()
|
| /netbsd-src/external/mpl/dhcp/dist/server/ |
| H A D | mdb.c | 2103 client_lease_preferred(struct lease *cand, struct lease *lease) in client_lease_preferred() argument 2105 if (cand->binding_state == FTS_ACTIVE) { in client_lease_preferred() 2107 lease->ends >= cand->ends) in client_lease_preferred() 2109 } else if (cand->binding_state == FTS_EXPIRED || in client_lease_preferred() 2110 cand->binding_state == FTS_RELEASED) { in client_lease_preferred() 2116 lease->cltt >= cand->cltt) in client_lease_preferred() 2118 } else if (cand->binding_state != FTS_ABANDONED) { in client_lease_preferred() 2125 lease->cltt >= cand->cltt) in client_lease_preferred() 2129 lease->cltt >= cand->cltt) in client_lease_preferred() 2141 struct lease *cand = NULL; in uid_hash_add() local [all …]
|
| /netbsd-src/sys/arch/arm/altera/ |
| H A D | cycv_clkmgr.c | 333 struct cycv_clk_mux_info *cand = &cycv_clk_mux_tree[i]; in cycv_clkmgr_get_mux_info() local 334 if (strncmp(name, cand->name, strlen(cand->name)) == 0) in cycv_clkmgr_get_mux_info() 335 return cand; in cycv_clkmgr_get_mux_info() 360 struct cycv_clk *cand = &sc->sc_clocks[i]; in cycv_clkmgr_clock_lookup_by_name() local 361 if (strncmp(cand->base.name, name, strlen(name)) == 0) in cycv_clkmgr_clock_lookup_by_name() 362 return cand; in cycv_clkmgr_clock_lookup_by_name()
|
| /netbsd-src/lib/libpuffs/ |
| H A D | framebuf.c | 623 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, ¬resp) == 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/ |
| H A D | archive_read_support_format_warc.c | 464 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()
|