Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dstate-purge.cc242 for (auto snode : sg.m_nodes) in state_purge_map() local
245 log ("SN: %i", snode->m_index); in state_purge_map()
249 FOR_EACH_VEC_ELT (snode->m_stmts, i, stmt) in state_purge_map()
251 function_point point (function_point::before_stmt (snode, i)); in state_purge_map()
252 gimple_op_visitor v (this, point, snode->get_function ()); in state_purge_map()
339 const supernode *snode in state_purge_per_ssa_name() local
347 = const_cast<supernode *> (snode)->start_phis (); in state_purge_per_ssa_name()
365 (snode, in_sedge); in state_purge_per_ssa_name()
383 if (use_stmt == snode->get_last_stmt ()) in state_purge_per_ssa_name()
388 = function_point::after_supernode (snode); in state_purge_per_ssa_name()
[all …]
H A Dprogram-point.cc710 const supernode *snode = NULL; in test_function_point_equality() local
712 function_point a = function_point (snode, NULL, 0, in test_function_point_equality()
714 function_point b = function_point::before_supernode (snode, NULL); in test_function_point_equality()
723 const supernode *snode = NULL; in test_function_point_ordering() local
729 points.safe_push (function_point::before_supernode (snode, NULL)); in test_function_point_ordering()
730 points.safe_push (function_point::before_stmt (snode, 0)); in test_function_point_ordering()
731 points.safe_push (function_point::before_stmt (snode, 1)); in test_function_point_ordering()
732 points.safe_push (function_point::after_supernode (snode)); in test_function_point_ordering()
759 const supernode *snode = NULL; in test_program_point_equality() local
763 program_point a = program_point::before_supernode (snode, NULL, in test_program_point_equality()
[all …]
H A Ddiagnostic-manager.h35 const supernode *snode, const gimple *stmt,
115 const supernode *snode, const gimple *stmt,
123 const supernode *snode, const gimple *stmt,
H A Dexploded-graph.h242 const supernode *snode,
731 int get_scc_id (const supernode &snode) const in get_scc_id() argument
733 return m_scc.get_scc_id (snode.m_index); in get_scc_id()
766 const supernode *snode = enode->get_supernode (); in get_scc_id() local
767 if (snode == NULL) in get_scc_id()
769 return m_worklist.m_scc.get_scc_id (snode->m_index); in get_scc_id()
868 void dump_states_for_supernode (FILE *, const supernode *snode) const;
H A Dengine.cc419 void warn (const supernode *snode, const gimple *stmt, in warn() argument
434 (&m_sm, m_enode_for_diag, snode, stmt, m_stmt_finder, in warn()
761 returning_from_function_p (const supernode *snode) in returning_from_function_p() argument
763 if (!snode) in returning_from_function_p()
767 const supernode *iter = snode; in returning_from_function_p()
1101 const supernode *snode = get_supernode (); in get_processed_stmt() local
1104 const gimple *stmt = snode->m_stmts[idx_within_snode]; in get_processed_stmt()
1223 const supernode *snode = get_supernode (); in dump_processed_stmts() local
1231 const gimple *stmt = snode->m_stmts[idx_within_snode]; in dump_processed_stmts()
1348 const supernode *snode, in on_stmt() argument
[all …]
H A Ddiagnostic-manager.cc642 const supernode *snode, const gimple *stmt, in saved_diagnostic() argument
649 : m_sm (sm), m_enode (enode), m_snode (snode), m_stmt (stmt), in saved_diagnostic()
970 const supernode *snode, const gimple *stmt, in add_diagnostic() argument
989 location_t loc = get_emission_location (stmt, snode->m_fun, *d); in add_diagnostic()
1003 = new saved_diagnostic (sm, enode, snode, stmt, finder, var, sval, in add_diagnostic()
1010 snode->m_index, enode->m_index, d->get_kind ()); in add_diagnostic()
1020 const supernode *snode, const gimple *stmt, in add_diagnostic() argument
1025 return add_diagnostic (NULL, enode, snode, stmt, finder, NULL_TREE, in add_diagnostic()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Dstate-purge.cc138 const supernode *snode in state_purge_per_ssa_name() local
146 = const_cast<supernode *> (snode)->start_phis (); in state_purge_per_ssa_name()
164 (snode, in_sedge); in state_purge_per_ssa_name()
182 if (use_stmt == snode->get_last_stmt ()) in state_purge_per_ssa_name()
187 = function_point::after_supernode (snode); in state_purge_per_ssa_name()
303 const supernode *snode = point.get_supernode (); in process_point() local
316 = const_cast<supernode *> (snode)->start_phis (); in process_point()
339 if (snode->m_returning_call) in process_point()
342 = supergraph_call_edge (snode->m_fun, in process_point()
343 snode->m_returning_call); in process_point()
[all …]
H A Dprogram-point.cc480 const supernode *snode = NULL; in test_function_point_equality() local
482 function_point a = function_point (snode, NULL, 0, in test_function_point_equality()
484 function_point b = function_point::before_supernode (snode, NULL); in test_function_point_equality()
493 const supernode *snode = NULL; in test_function_point_ordering() local
499 points.safe_push (function_point::before_supernode (snode, NULL)); in test_function_point_ordering()
500 points.safe_push (function_point::before_stmt (snode, 0)); in test_function_point_ordering()
501 points.safe_push (function_point::before_stmt (snode, 1)); in test_function_point_ordering()
502 points.safe_push (function_point::after_supernode (snode)); in test_function_point_ordering()
529 const supernode *snode = NULL; in test_program_point_equality() local
533 program_point a = program_point::before_supernode (snode, NULL, in test_program_point_equality()
[all …]
H A Ddiagnostic-manager.h40 const supernode *snode, const gimple *stmt,
106 const supernode *snode, const gimple *stmt,
112 const supernode *snode, const gimple *stmt,
H A Dengine.cc267 void warn_for_state (const supernode *snode, const gimple *stmt, in warn_for_state() argument
289 (&m_sm, m_enode_for_diag, snode, stmt, m_stmt_finder, in warn_for_state()
1003 const supernode *snode, in on_stmt() argument
1099 if (sm.on_stmt (&sm_ctxt, snode, stmt)) in on_stmt()
2511 const supernode *snode = point.get_supernode (); in process_node() local
2515 stmt_idx < snode->m_stmts.length (); in process_node()
2518 const gimple *stmt = snode->m_stmts[stmt_idx]; in process_node()
2530 = node->on_stmt (*this, snode, stmt, &next_state, &change); in process_node()
2791 const supernode *snode) const in dump_states_for_supernode()
2793 fprintf (out, "PK_AFTER_SUPERNODE nodes for SN: %i\n", snode->m_index); in dump_states_for_supernode()
[all …]
H A Ddiagnostic-manager.cc72 const supernode *snode, const gimple *stmt, in saved_diagnostic() argument
76 : m_sm (sm), m_enode (enode), m_snode (snode), m_stmt (stmt), in saved_diagnostic()
163 const supernode *snode, const gimple *stmt, in add_diagnostic() argument
175 = new saved_diagnostic (sm, enode, snode, stmt, finder, var, state, d); in add_diagnostic()
180 snode->m_index, d->get_kind ()); in add_diagnostic()
187 const supernode *snode, const gimple *stmt, in add_diagnostic() argument
192 add_diagnostic (NULL, enode, snode, stmt, finder, NULL_TREE, 0, d); in add_diagnostic()
H A Dexploded-graph.h225 const supernode *snode,
694 const supernode *snode = enode->get_supernode (); in get_scc_id() local
695 if (snode == NULL) in get_scc_id()
697 return m_worklist.m_scc.get_scc_id (snode->m_index); in get_scc_id()
785 void dump_states_for_supernode (FILE *, const supernode *snode) const;
/netbsd-src/external/gpl3/gcc.old/dist/gcc/lto/
H A Dlto-common.c2708 symtab_node *snode; in read_cgraph_and_symbols() local
2844 FOR_EACH_SYMBOL (snode) in read_cgraph_and_symbols()
2845 if (snode->externally_visible && snode->real_symbol_p () in read_cgraph_and_symbols()
2846 && snode->lto_file_data && snode->lto_file_data->resolution_map in read_cgraph_and_symbols()
2847 && !(TREE_CODE (snode->decl) == FUNCTION_DECL in read_cgraph_and_symbols()
2848 && fndecl_built_in_p (snode->decl)) in read_cgraph_and_symbols()
2849 && !(VAR_P (snode->decl) && DECL_HARD_REGISTER (snode->decl))) in read_cgraph_and_symbols()
2853 res = snode->lto_file_data->resolution_map->get (snode->decl); in read_cgraph_and_symbols()
2856 if (snode->output_to_lto_symbol_table_p ()) in read_cgraph_and_symbols()
2859 (DECL_ASSEMBLER_NAME (snode->decl))); in read_cgraph_and_symbols()
[all …]
H A Dlto-partition.c586 symtab_node *snode = lto_symtab_encoder_deref (partition->encoder, in lto_balanced_map() local
589 if (cgraph_node *node = dyn_cast <cgraph_node *> (snode)) in lto_balanced_map()
643 for (j = 0; snode->iterate_reference (j, ref); j++) in lto_balanced_map()
644 if (!account_reference_p (snode, ref->referred)) in lto_balanced_map()
676 for (j = 0; snode->iterate_referring (j, ref); j++) in lto_balanced_map()
677 if (!account_reference_p (ref->referring, snode)) in lto_balanced_map()
/netbsd-src/external/gpl3/gcc/dist/gcc/lto/
H A Dlto-common.cc2717 symtab_node *snode; in read_cgraph_and_symbols() local
2853 FOR_EACH_SYMBOL (snode) in read_cgraph_and_symbols()
2854 if (snode->externally_visible && snode->real_symbol_p () in read_cgraph_and_symbols()
2855 && snode->lto_file_data && snode->lto_file_data->resolution_map in read_cgraph_and_symbols()
2856 && !(TREE_CODE (snode->decl) == FUNCTION_DECL in read_cgraph_and_symbols()
2857 && fndecl_built_in_p (snode->decl)) in read_cgraph_and_symbols()
2858 && !(VAR_P (snode->decl) && DECL_HARD_REGISTER (snode->decl))) in read_cgraph_and_symbols()
2862 res = snode->lto_file_data->resolution_map->get (snode->decl); in read_cgraph_and_symbols()
2865 if (snode->output_to_lto_symbol_table_p ()) in read_cgraph_and_symbols()
2868 (DECL_ASSEMBLER_NAME (snode->decl))); in read_cgraph_and_symbols()
[all …]
H A Dlto-partition.cc586 symtab_node *snode = lto_symtab_encoder_deref (partition->encoder, in lto_balanced_map() local
589 if (cgraph_node *node = dyn_cast <cgraph_node *> (snode)) in lto_balanced_map()
644 for (j = 0; snode->iterate_reference (j, ref); j++) in lto_balanced_map()
645 if (!account_reference_p (snode, ref->referred)) in lto_balanced_map()
677 for (j = 0; snode->iterate_referring (j, ref); j++) in lto_balanced_map()
678 if (!account_reference_p (ref->referring, snode)) in lto_balanced_map()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dipa-reference.cc1073 symtab_node *snode = lto_symtab_encoder_deref (encoder, i); in ipa_reference_write_optimization_summary() local
1074 varpool_node *vnode = dyn_cast <varpool_node *> (snode); in ipa_reference_write_optimization_summary()
1092 symtab_node *snode = lto_symtab_encoder_deref (encoder, i); in ipa_reference_write_optimization_summary() local
1093 cgraph_node *cnode = dyn_cast <cgraph_node *> (snode); in ipa_reference_write_optimization_summary()
1107 symtab_node *snode = lto_symtab_encoder_deref (encoder, i); in ipa_reference_write_optimization_summary() local
1108 cgraph_node *cnode = dyn_cast <cgraph_node *> (snode); in ipa_reference_write_optimization_summary()
1115 node_ref = lto_symtab_encoder_encode (encoder, snode); in ipa_reference_write_optimization_summary()
H A Dlto-streamer-out.cc2739 symtab_node *snode = lto_symtab_encoder_deref (encoder, i); in lto_output() local
2740 if (snode->alias) in lto_output()
2742 if (cgraph_node *node = dyn_cast <cgraph_node *> (snode)) in lto_output()
2747 else if (varpool_node *node = dyn_cast <varpool_node *> (snode)) in lto_output()
2766 symtab_node *snode = symbols_to_copy[i]; in lto_output() local
2767 if (snode->lto_file_data) in lto_output()
2770 int &ord = id_map.get_or_insert (snode->lto_file_data, &existed_p); in lto_output()
2778 symtab_node *snode = symbols_to_copy[i]; in lto_output() local
2783 gcc_assert (bitmap_set_bit (output, DECL_UID (snode->decl))); in lto_output()
2788 if ((cnode = dyn_cast <cgraph_node *> (snode)) in lto_output()
[all …]
H A Dcgraphunit.cc1070 check_global_declaration (symtab_node *snode) in check_global_declaration() argument
1073 tree decl = snode->decl; in check_global_declaration()
1086 else if (snode->referred_to_p (/*include_self=*/false)) in check_global_declaration()
1106 && ! snode->referred_to_p (/*include_self=*/false) in check_global_declaration()
1332 symtab_node *snode; in analyze_functions() local
1333 FOR_EACH_SYMBOL (snode) in analyze_functions()
1334 check_global_declaration (snode); in analyze_functions()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dipa-reference.c1065 symtab_node *snode = lto_symtab_encoder_deref (encoder, i); in ipa_reference_write_optimization_summary() local
1066 varpool_node *vnode = dyn_cast <varpool_node *> (snode); in ipa_reference_write_optimization_summary()
1084 symtab_node *snode = lto_symtab_encoder_deref (encoder, i); in ipa_reference_write_optimization_summary() local
1085 cgraph_node *cnode = dyn_cast <cgraph_node *> (snode); in ipa_reference_write_optimization_summary()
1099 symtab_node *snode = lto_symtab_encoder_deref (encoder, i); in ipa_reference_write_optimization_summary() local
1100 cgraph_node *cnode = dyn_cast <cgraph_node *> (snode); in ipa_reference_write_optimization_summary()
1107 node_ref = lto_symtab_encoder_encode (encoder, snode); in ipa_reference_write_optimization_summary()
H A Dlto-streamer-out.c2658 symtab_node *snode = lto_symtab_encoder_deref (encoder, i); in lto_output() local
2659 if (snode->alias) in lto_output()
2661 if (cgraph_node *node = dyn_cast <cgraph_node *> (snode)) in lto_output()
2666 else if (varpool_node *node = dyn_cast <varpool_node *> (snode)) in lto_output()
2685 symtab_node *snode = symbols_to_copy[i]; in lto_output() local
2686 if (snode->lto_file_data) in lto_output()
2689 int &ord = id_map.get_or_insert (snode->lto_file_data, &existed_p); in lto_output()
2697 symtab_node *snode = symbols_to_copy[i]; in lto_output() local
2702 gcc_assert (bitmap_set_bit (output, DECL_UID (snode->decl))); in lto_output()
2707 if ((cnode = dyn_cast <cgraph_node *> (snode)) in lto_output()
[all …]
H A Dcgraphunit.c1062 check_global_declaration (symtab_node *snode) in check_global_declaration() argument
1065 tree decl = snode->decl; in check_global_declaration()
1078 else if (snode->referred_to_p (/*include_self=*/false)) in check_global_declaration()
1098 && ! snode->referred_to_p (/*include_self=*/false) in check_global_declaration()
1320 symtab_node *snode; in analyze_functions() local
1321 FOR_EACH_SYMBOL (snode) in analyze_functions()
1322 check_global_declaration (snode); in analyze_functions()
/netbsd-src/usr.sbin/puffs/mount_sysctlfs/
H A Dsysctlfs.c455 uint8_t snode[SFS_MAXFILE/2-1]; in getnodedata() local
458 sz = sizeof(snode); in getnodedata()
460 if (sysctl(po->po_path, po->po_len, snode, &sz, NULL, 0) == -1){ in getnodedata()
465 memcpy(buf, &snode, sz); in getnodedata()
468 sprintf(&buf[2*i], "%02x", snode[i]); in getnodedata()
/netbsd-src/sys/dev/acpi/
H A Dsony_acpi.c154 const struct sysctlnode *node, *snode; in sony_walk_cb() local
180 if ((rv = sysctl_createv(&sc->sc_log, 0, NULL, &snode, 0, in sony_walk_cb()
186 if ((rv = sysctl_createv(&sc->sc_log, 0, &snode, &node, in sony_walk_cb()
H A Dacpi.c1700 const struct sysctlnode *rnode, *snode; in sysctl_hw_acpi_sleepstate()
1718 err = sysctl_createv(clog, 0, &rnode, &snode, in sysctl_hw_acpi_sleepstates()
1727 (void)sysctl_createv(NULL, 0, &snode, NULL, in sysctl_hw_acpi_sleepstates()
1733 (void)sysctl_createv(NULL, 0, &snode, NULL, in sysctl_hw_acpi_sleepstates()
1586 const struct sysctlnode *rnode, *snode; global() variable

12