Home
last modified time | relevance | path

Searched refs:swtch (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/usr.sbin/wsconscfg/
H A Dwsconscfg.c63 int c, delete, kbd, idx, wsfd, swtch, get, mux; in main() local
73 swtch = 0; in main()
105 swtch++; in main()
120 if ((kbd || swtch) ? (argc > 1) : (argc != 1)) in main()
130 if (swtch) { in main()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-switch-conversion.h530 switch_decision_tree (gswitch *swtch): m_switch (swtch), m_phi_mapping (), in switch_decision_tree() argument
611 static inline void reset_out_edges_aux (gswitch *swtch);
707 void expand (gswitch *swtch);
710 void collect (gswitch *swtch);
872 switch_decision_tree::reset_out_edges_aux (gswitch *swtch) in reset_out_edges_aux() argument
874 basic_block bb = gimple_bb (swtch); in reset_out_edges_aux()
H A Dloop-unroll.c889 basic_block preheader, *body, swtch, ezc_swtch = NULL; in unroll_loop_runtime_iterations() local
995 swtch = split_edge (loop_preheader_edge (loop)); in unroll_loop_runtime_iterations()
1000 iter_count = new_count = swtch->count.apply_scale (1, max_unroll + 1); in unroll_loop_runtime_iterations()
1001 swtch->count = new_count; in unroll_loop_runtime_iterations()
1030 swtch = split_edge_and_insert (single_pred_edge (swtch), branch_code); in unroll_loop_runtime_iterations()
1031 set_immediate_dominator (CDI_DOMINATORS, preheader, swtch); in unroll_loop_runtime_iterations()
1032 single_succ_edge (swtch)->probability = p.invert (); in unroll_loop_runtime_iterations()
1034 swtch->count = new_count; in unroll_loop_runtime_iterations()
1035 e = make_edge (swtch, preheader, in unroll_loop_runtime_iterations()
1036 single_succ_edge (swtch)->flags & EDGE_IRREDUCIBLE_LOOP); in unroll_loop_runtime_iterations()
[all …]
H A Dtree-switch-conversion.c74 switch_conversion::collect (gswitch *swtch) in collect() argument
76 unsigned int branch_num = gimple_switch_num_labels (swtch); in collect()
82 m_switch = swtch; in collect()
87 m_index_expr = gimple_switch_index (swtch); in collect()
88 m_switch_bb = gimple_bb (swtch); in collect()
89 e_default = gimple_switch_default_edge (cfun, swtch); in collect()
94 min_case = gimple_switch_label (swtch, 1); in collect()
95 max_case = gimple_switch_label (swtch, branch_num - 1); in collect()
107 tree elt = gimple_switch_label (swtch, i); in collect()
117 e_first = gimple_switch_edge (cfun, swtch, 1); in collect()
[all …]
H A Ddumpfile.h290 const char *swtch; member
670 dump_register (const char *suffix, const char *swtch, const char *glob,
684 get_dump_file_info_by_switch (const char *swtch) const;
H A Ddumpfile.c89 #define DUMP_FILE_INFO(suffix, swtch, dkind, num) \ argument
90 {suffix, swtch, NULL, NULL, NULL, NULL, NULL, dkind, TDF_NONE, TDF_NONE, \
201 XDELETEVEC (const_cast <char *> (dfi->swtch)); in ~dump_manager()
213 dump_register (const char *suffix, const char *swtch, const char *glob, in dump_register() argument
241 m_extra_dump_files[count].swtch = swtch; in dump_register()
290 get_dump_file_info_by_switch (const char *swtch) const in get_dump_file_info_by_switch() argument
293 if (strcmp (m_extra_dump_files[i].swtch, swtch) == 0) in get_dump_file_info_by_switch()
1607 return dfi->swtch; in dump_flag_name()
1850 option_value = skip_leading_substring (arg, doglob ? dfi->glob : dfi->swtch);
H A Dtree-cfgcleanup.c84 convert_single_case_switch (gswitch *swtch, gimple_stmt_iterator &gsi) in convert_single_case_switch() argument
86 if (gimple_switch_num_labels (swtch) != 2) in convert_single_case_switch()
89 tree index = gimple_switch_index (swtch); in convert_single_case_switch()
90 tree label = gimple_switch_label (swtch, 1); in convert_single_case_switch()
94 basic_block default_bb = gimple_switch_default_bb (cfun, swtch); in convert_single_case_switch()
97 basic_block bb = gimple_bb (swtch); in convert_single_case_switch()
H A Dcfgexpand.c3706 gswitch *swtch = as_a <gswitch *> (stmt); in expand_gimple_stmt_1() local
3707 if (gimple_switch_num_labels (swtch) == 1) in expand_gimple_stmt_1()
3708 expand_goto (CASE_LABEL (gimple_switch_default_label (swtch))); in expand_gimple_stmt_1()
3710 expand_case (swtch); in expand_gimple_stmt_1()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-switch-conversion.h556 switch_decision_tree (gswitch *swtch): m_switch (swtch), m_phi_mapping (), in switch_decision_tree() argument
637 static inline void reset_out_edges_aux (gswitch *swtch);
733 void expand (gswitch *swtch);
736 void collect (gswitch *swtch);
898 switch_decision_tree::reset_out_edges_aux (gswitch *swtch) in reset_out_edges_aux() argument
900 basic_block bb = gimple_bb (swtch); in reset_out_edges_aux()
H A Dloop-unroll.cc876 basic_block preheader, *body, swtch, ezc_swtch = NULL; in unroll_loop_runtime_iterations() local
976 swtch = split_edge (loop_preheader_edge (loop)); in unroll_loop_runtime_iterations()
981 iter_count = new_count = swtch->count.apply_scale (1, max_unroll + 1); in unroll_loop_runtime_iterations()
982 swtch->count = new_count; in unroll_loop_runtime_iterations()
1011 swtch = split_edge_and_insert (single_pred_edge (swtch), branch_code); in unroll_loop_runtime_iterations()
1012 set_immediate_dominator (CDI_DOMINATORS, preheader, swtch); in unroll_loop_runtime_iterations()
1013 single_succ_edge (swtch)->probability = p.invert (); in unroll_loop_runtime_iterations()
1015 swtch->count = new_count; in unroll_loop_runtime_iterations()
1016 e = make_edge (swtch, preheader, in unroll_loop_runtime_iterations()
1017 single_succ_edge (swtch)->flags & EDGE_IRREDUCIBLE_LOOP); in unroll_loop_runtime_iterations()
[all …]
H A Dtree-switch-conversion.cc75 switch_conversion::collect (gswitch *swtch) in collect() argument
77 unsigned int branch_num = gimple_switch_num_labels (swtch); in collect()
83 m_switch = swtch; in collect()
88 m_index_expr = gimple_switch_index (swtch); in collect()
89 m_switch_bb = gimple_bb (swtch); in collect()
90 e_default = gimple_switch_default_edge (cfun, swtch); in collect()
95 min_case = gimple_switch_label (swtch, 1); in collect()
96 max_case = gimple_switch_label (swtch, branch_num - 1); in collect()
108 tree elt = gimple_switch_label (swtch, i); in collect()
118 e_first = gimple_switch_edge (cfun, swtch, 1); in collect()
[all …]
H A Ddumpfile.cc90 #define DUMP_FILE_INFO(suffix, swtch, dkind, num) \ argument
91 {suffix, swtch, NULL, NULL, NULL, NULL, NULL, dkind, TDF_NONE, TDF_NONE, \
203 XDELETEVEC (const_cast <char *> (dfi->swtch)); in ~dump_manager()
215 dump_register (const char *suffix, const char *swtch, const char *glob, in dump_register() argument
243 m_extra_dump_files[count].swtch = swtch; in dump_register()
292 get_dump_file_info_by_switch (const char *swtch) const in get_dump_file_info_by_switch()
295 if (strcmp (m_extra_dump_files[i].swtch, swtch) == 0) in get_dump_file_info_by_switch()
1625 return dfi->swtch; in dump_flag_name()
1868 option_value = skip_leading_substring (arg, doglob ? dfi->glob : dfi->swtch); in dump_switch_p_1()
1921 candidates.safe_push (dump_files[i].swtch); in dump_switch_p()
[all …]
H A Ddumpfile.h300 const char *swtch; member
680 dump_register (const char *suffix, const char *swtch, const char *glob,
694 get_dump_file_info_by_switch (const char *swtch) const;
H A Dtree-cfgcleanup.cc84 convert_single_case_switch (gswitch *swtch, gimple_stmt_iterator &gsi) in convert_single_case_switch() argument
86 if (gimple_switch_num_labels (swtch) != 2) in convert_single_case_switch()
89 tree index = gimple_switch_index (swtch); in convert_single_case_switch()
90 tree label = gimple_switch_label (swtch, 1); in convert_single_case_switch()
94 basic_block default_bb = gimple_switch_default_bb (cfun, swtch); in convert_single_case_switch()
97 basic_block bb = gimple_bb (swtch); in convert_single_case_switch()
H A Dcfgexpand.cc3886 gswitch *swtch = as_a <gswitch *> (stmt); in expand_gimple_stmt_1() local
3887 if (gimple_switch_num_labels (swtch) == 1) in expand_gimple_stmt_1()
3888 expand_goto (CASE_LABEL (gimple_switch_default_label (swtch))); in expand_gimple_stmt_1()
3890 expand_case (swtch); in expand_gimple_stmt_1()
H A DChangeLog-200815011 (OBJS-common): Add tree-swtch-conversion.o.
15022 -ftree-swtch-conversion and switch-conversion-max-branch-ratio.
/netbsd-src/sys/uvm/
H A Duvm_extern.h357 int swtch; /* context switch count */ member
453 int64_t swtch; member
H A Duvm_meter.c130 u.swtch = cpu_count_get(CPU_COUNT_NSWTCH); in sysctl_vm_uvmexp2()
454 uvmexp.swtch = (int)cpu_count_get(CPU_COUNT_NSWTCH); in uvm_update_uvmexp()
/netbsd-src/sys/arch/atari/dev/
H A Dfd.c400 u_short swtch; in fdattach() local
411 swtch = rd_cfg_switch(); in fdattach()
412 def_type = (swtch & CFG_SWITCH_NOHD) ? FLP_TYPE_720 : FLP_TYPE_144; in fdattach()
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Dhotkernel_example.txt10 unix`swtch 1 0.1%
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Dhotkernel_example.txt10 unix`swtch 1 0.1%
/netbsd-src/libexec/rpc.rstatd/
H A Drstat_proc.c246 stats_all.s3.v_swtch = uvmexp.swtch; in updatestat()
/netbsd-src/external/bsd/mdocml/dist/
H A DTODO252 http://swtch.com/usr/local/plan9/tmac/tmac.an
253 http://swtch.com/plan9port/man/man7/man.html
/netbsd-src/usr.bin/systat/
H A Dvmstat.c440 PUTRATE(us, us1, uvmexp->swtch, GENSTATROW + 1, GENSTATCOL - 1, 7); in show_vmstat_top()
/netbsd-src/usr.bin/vmstat/
H A Dvmstat.c1186 cc->nswtch = uvmexp.swtch; in cpucounters()

12