| /netbsd/src/external/gpl3/gdb/dist/gdb/python/lib/gdb/ |
| D | xmethod.py | 232 def _lookup_xmethod_matcher(locus, name): argument 233 for i in range(0, len(locus.xmethods)): 234 if locus.xmethods[i].name == name: 239 def register_xmethod_matcher(locus, matcher, replace=False): argument 257 if not locus: 258 locus = gdb 259 if locus == gdb: 262 locus_name = locus.filename 263 index = _lookup_xmethod_matcher(locus, matcher.name) 266 del locus.xmethods[index] [all …]
|
| D | unwinder.py | 98 def register_unwinder(locus, unwinder, replace=False): argument 119 if locus is None: 122 locus = gdb 123 elif isinstance(locus, gdb.Objfile) or isinstance(locus, gdb.Progspace): 126 "Registering %s unwinder for %s ...\n" % (unwinder.name, locus.filename) 132 for needle in locus.frame_unwinders: 135 del locus.frame_unwinders[i] 139 locus.frame_unwinders.insert(0, unwinder)
|
| D | missing_debug.py | 126 def register_handler(locus, handler, replace=False): argument 151 if locus is None: 154 locus = gdb 155 elif isinstance(locus, gdb.Progspace): 158 "Registering %s handler for %s ...\n" % (handler.name, locus.filename) 178 for needle in locus.missing_debug_handlers: 181 del locus.missing_debug_handlers[i] 185 locus.missing_debug_handlers.insert(0, handler)
|
| D | types.py | 175 def register_type_printer(locus, printer): argument 181 if locus is None: 182 locus = gdb 183 locus.type_printers.insert(0, printer)
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | tree-outof-ssa.cc | 271 insert_partition_copy_on_edge (edge e, int dest, int src, location_t locus) in insert_partition_copy_on_edge() argument 289 if (locus) in insert_partition_copy_on_edge() 290 set_curr_insn_location (locus); in insert_partition_copy_on_edge() 305 insert_value_copy_on_edge (edge e, int dest, tree src, location_t locus) in insert_value_copy_on_edge() argument 326 if (locus) in insert_value_copy_on_edge() 327 set_curr_insn_location (locus); in insert_value_copy_on_edge() 366 location_t locus) in insert_rtx_to_part_on_edge() argument 382 if (locus) in insert_rtx_to_part_on_edge() 383 set_curr_insn_location (locus); in insert_rtx_to_part_on_edge() 400 insert_part_to_rtx_on_edge (edge e, rtx dest, int src, location_t locus) in insert_part_to_rtx_on_edge() argument [all …]
|
| D | tree-ssa-phiprop.cc | 162 location_t locus; in phiprop_insert_phi() local 165 locus = gimple_phi_arg_location_from_edge (phi, e); in phiprop_insert_phi() 172 locus = gimple_location (def_stmt); in phiprop_insert_phi() 205 gimple_set_location (tmp, locus); in phiprop_insert_phi() 220 add_phi_arg (new_phi, new_var, e, locus); in phiprop_insert_phi()
|
| D | tree-ssa.h | 27 location_t locus; /* PHI arg location. */ member 106 return v->locus; in redirect_edge_var_map_location()
|
| D | auto-profile.cc | 383 get_inline_stack (location_t locus, inline_stack *stack) in get_inline_stack() argument 385 if (LOCATION_LOCUS (locus) == UNKNOWN_LOCATION) in get_inline_stack() 388 tree block = LOCATION_BLOCK (locus); in get_inline_stack() 402 std::make_pair (decl, get_combined_location (locus, decl))); in get_inline_stack() 403 locus = tmp_locus; in get_inline_stack() 409 get_combined_location (locus, current_function_decl))); in get_inline_stack() 419 location_t locus = gimple_location (stmt); in get_relative_location_for_stmt() local 420 if (LOCATION_LOCUS (locus) == UNKNOWN_LOCATION) in get_relative_location_for_stmt() 426 return get_combined_location (locus, in get_relative_location_for_stmt() 428 return get_combined_location (locus, current_function_decl); in get_relative_location_for_stmt()
|
| D | optinfo-emit-json.cc | 282 location_t *locus; in inlining_chain_to_json() local 285 locus = &BLOCK_SOURCE_LOCATION (block); in inlining_chain_to_json() 319 if (LOCATION_LOCUS (*locus) != UNKNOWN_LOCATION) in inlining_chain_to_json() 320 obj->set ("site", location_to_json (*locus)); in inlining_chain_to_json()
|
| D | tree-ssa-loop-ivcanon.cc | 633 location_t locus = latch_edge->goto_locus; in unloop_loops() local 648 latch_edge->goto_locus = locus; in unloop_loops() 691 dump_user_location_t locus, bool allow_peel) in try_unroll_loop_completely() argument 945 dump_printf_loc (MSG_OPTIMIZED_LOCATIONS | TDF_DETAILS, locus, in try_unroll_loop_completely() 949 dump_printf_loc (MSG_OPTIMIZED_LOCATIONS | TDF_DETAILS, locus, in try_unroll_loop_completely() 1170 dump_user_location_t locus; in canonicalize_loop_induction_variables() local 1185 locus = last_stmt (exit->src); in canonicalize_loop_induction_variables() 1212 locus = last_stmt (exit->src); in canonicalize_loop_induction_variables() 1256 maxiter, locus, allow_peel)) in canonicalize_loop_induction_variables()
|
| D | tree-cfgcleanup.cc | 347 location_t locus; in tree_forwarder_block_p() local 364 locus = single_succ_edge (bb)->goto_locus; in tree_forwarder_block_p() 378 || LOCATION_LOCUS (locus) != UNKNOWN_LOCATION) in tree_forwarder_block_p() 379 && e->goto_locus != locus) in tree_forwarder_block_p() 396 || LOCATION_LOCUS (locus) != UNKNOWN_LOCATION) in tree_forwarder_block_p() 397 && gimple_location (stmt) != locus) in tree_forwarder_block_p() 1280 location_t locus = gimple_phi_arg_location_from_edge (phi, succ); in remove_forwarder_block_with_phi() local 1298 locus = redirect_edge_var_map_location (vm); in remove_forwarder_block_with_phi() 1304 add_phi_arg (phi, def, s, locus); in remove_forwarder_block_with_phi()
|
| D | tree-core.h | 1565 location_t locus; member 1612 location_t locus; member 1617 location_t locus; member 1649 location_t locus; member 1751 location_t locus; member
|
| D | ipa-devirt.cc | 522 location_t locus; member 528 location_t locus; member 4115 lto_output_location (ob, &bp, this_enum.locus); in ipa_odr_summary_write() 4117 lto_output_location (ob, &bp, this_enum.vals[j].locus); in ipa_odr_summary_write() 4189 stream_input_location (&this_enum.locus, &bp, data_in); in ipa_odr_read_section() 4191 stream_input_location (&this_enum.vals[j].locus, &bp, data_in); in ipa_odr_read_section() 4232 location_t locus; in ipa_odr_read_section() local 4234 stream_input_location (&locus, &bp, data_in); in ipa_odr_read_section() 4244 || !warning_at (this_enum.locus, in ipa_odr_read_section() 4253 inform (locus, in ipa_odr_read_section() [all …]
|
| D | langhooks.cc | 409 location_t *locus; in lhd_print_error_function() local 412 locus = &BLOCK_SOURCE_LOCATION (block); in lhd_print_error_function() 442 expanded_location s = expand_location (*locus); in lhd_print_error_function()
|
| D | tree-phinodes.cc | 355 add_phi_arg (gphi *phi, tree def, edge e, location_t locus) in add_phi_arg() argument 378 gimple_phi_arg_set_location (phi, e->dest_idx, locus); in add_phi_arg()
|
| D | loop-unroll.cc | 191 report_unroll (class loop *loop, dump_location_t locus) in report_unroll() argument 201 dump_metadata_t metadata (report_flags, locus.get_impl_location ()); in report_unroll() 202 dump_printf_loc (metadata, locus.get_user_location (), in report_unroll() 221 dump_user_location_t locus = get_loop_location (loop); in decide_unrolling() local 224 dump_printf_loc (MSG_NOTE, locus, in decide_unrolling() 271 report_unroll (loop, locus); in decide_unrolling()
|
| D | tree-parloops.cc | 1748 location_t locus; in create_phi_for_local_result() local 1767 locus = gimple_location (reduc->reduc_stmt); in create_phi_for_local_result() 1769 add_phi_arg (new_phi, reduc->init, e, locus); in create_phi_for_local_result() 1770 add_phi_arg (new_phi, lhs, FALLTHRU_EDGE (continue_bb), locus); in create_phi_for_local_result() 2838 location_t locus; in create_parallel_loop() local 2848 locus = gimple_phi_arg_location_from_edge (phi, exit); in create_parallel_loop() 2849 add_phi_arg (phi, def, guard, locus); in create_parallel_loop() 2850 add_phi_arg (phi, def, end, locus); in create_parallel_loop() 2856 locus = gimple_phi_arg_location_from_edge (stmt, in create_parallel_loop() 2858 add_phi_arg (phi, def, guard, locus); in create_parallel_loop() [all …]
|
| D | tree-ssa-threadupdate.cc | 532 location_t locus = gimple_phi_arg_location (src_phi, src_idx); in copy_phi_arg_into_existing_phi() local 535 gimple_phi_arg_set_location (dest_phi, tgt_idx, locus); in copy_phi_arg_into_existing_phi() 546 basic_block bb, int idx, location_t *locus) in get_value_locus_in_path() argument 574 *locus = gimple_phi_arg_location (def_phi, e->dest_idx); in get_value_locus_in_path() 600 location_t locus = gimple_phi_arg_location (phi, src_indx); in copy_phi_args() local 604 def = get_value_locus_in_path (def, path, bb, idx, &locus); in copy_phi_args() 606 add_phi_arg (phi, def, tgt_e, locus); in copy_phi_args()
|
| D | cfgcleanup.cc | 450 location_t locus = goto_locus; in try_forward_edges() local 453 && LOCATION_LOCUS (locus) != UNKNOWN_LOCATION in try_forward_edges() 454 && new_locus != locus) in try_forward_edges() 459 locus = new_locus; in try_forward_edges() 470 && LOCATION_LOCUS (locus) != UNKNOWN_LOCATION in try_forward_edges() 471 && new_locus != locus) in try_forward_edges() 476 locus = new_locus; in try_forward_edges() 478 goto_locus = locus; in try_forward_edges()
|
| /netbsd/src/external/gpl3/gcc/dist/libcpp/ |
| D | line-map.cc | 67 return ((hashval_t) lb->locus in location_adhoc_data_hash() 82 return (lb1->locus == lb2->locus in location_adhoc_data_eq() 117 location_t locus, in can_be_stored_compactly_p() argument 128 if (src_range.m_start != locus) in can_be_stored_compactly_p() 137 if (locus >= LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES) in can_be_stored_compactly_p() 143 if (locus >= lowest_macro_loc) in can_be_stored_compactly_p() 158 location_t locus, in get_combined_adhoc_loc() argument 165 if (IS_ADHOC_LOC (locus)) in get_combined_adhoc_loc() 166 locus = get_location_from_adhoc_loc (set, locus); in get_combined_adhoc_loc() 167 if (locus == 0 && data == NULL) in get_combined_adhoc_loc() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/python/lib/gdb/command/ |
| D | xmethods.py | 105 for locus in loci: 106 if isinstance(locus, gdb.Progspace): 111 if not locus_re.match(locus.filename): 114 locus_str = "%s %s" % (locus_type, locus.filename) 115 xm_dict[locus_str] = [m for m in locus.xmethods if matcher_re.match(m.name)]
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/python/libstdcxx/v6/ |
| D | xmethods.py | 861 def register_libstdcxx_xmethods(locus): argument 862 gdb.xmethod.register_xmethod_matcher(locus, ArrayMethodsMatcher()) 863 gdb.xmethod.register_xmethod_matcher(locus, ForwardListMethodsMatcher()) 864 gdb.xmethod.register_xmethod_matcher(locus, DequeMethodsMatcher()) 865 gdb.xmethod.register_xmethod_matcher(locus, ListMethodsMatcher()) 866 gdb.xmethod.register_xmethod_matcher(locus, VectorMethodsMatcher()) 868 locus, AssociativeContainerMethodsMatcher('set')) 870 locus, AssociativeContainerMethodsMatcher('map')) 872 locus, AssociativeContainerMethodsMatcher('multiset')) 874 locus, AssociativeContainerMethodsMatcher('multimap')) [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/ |
| D | py-missing-debug.py | 112 def register(name, locus=None): argument 113 gdb.missing_debug.register_handler(locus, log_handler(name))
|
| D | py-missing-debug.exp | 239 lassign $hspec name locus 240 gdb_test "python register($name, $locus)"
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/cp/ |
| D | error.cc | 3544 location_t *locus; in cp_print_error_function() local 3547 locus = &BLOCK_SOURCE_LOCATION (block); in cp_print_error_function() 3577 expanded_location s = expand_location (*locus); in cp_print_error_function() 3662 location = p->locus; in print_instantiation_full_context() 3725 if (prev_loc != t->locus) in print_instantiation_partial_context() 3727 prev_loc = t->locus; in print_instantiation_partial_context() 3749 if (loc != t->locus) in print_instantiation_partial_context() 3752 loc = t->locus; in print_instantiation_partial_context() 3773 loc = t->locus; in print_instantiation_partial_context() 3781 while (t->next != NULL && t->locus == t->next->locus) in print_instantiation_partial_context() [all …]
|