| /netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/ |
| H A D | region.h | 111 virtual enum region_kind get_kind () const = 0; 305 enum region_kind get_kind () const FINAL OVERRIDE { return RK_FRAME; } in get_kind() function 349 return reg->get_kind () == RK_FRAME; in test() 370 enum region_kind get_kind () const FINAL OVERRIDE { return RK_GLOBALS; } 381 return reg->get_kind () == RK_GLOBALS; 398 enum region_kind get_kind () const FINAL OVERRIDE { return RK_CODE; } 408 return reg->get_kind () == RK_CODE; 428 enum region_kind get_kind () const FINAL OVERRIDE { return RK_FUNCTION; } 445 return reg->get_kind () == RK_FUNCTION; 464 enum region_kind get_kind () const FINAL OVERRIDE { return RK_LABEL; } [all …]
|
| H A D | svalue.h | 94 virtual enum svalue_kind get_kind () const = 0; 232 enum svalue_kind get_kind () const FINAL OVERRIDE { return SK_REGION; } in get_kind() function 258 return sval->get_kind () == SK_REGION; in test() 281 enum svalue_kind get_kind () const FINAL OVERRIDE { return SK_CONSTANT; } 313 return sval->get_kind () == SK_CONSTANT; 330 enum svalue_kind get_kind () const FINAL OVERRIDE { return SK_UNKNOWN; } 398 enum svalue_kind get_kind () const FINAL OVERRIDE { return SK_POISONED; } 426 return sval->get_kind () == SK_POISONED; 507 enum svalue_kind get_kind () const FINAL OVERRIDE { return SK_SETJMP; } 529 return sval->get_kind () == SK_SETJMP; [all …]
|
| H A D | pending-diagnostic.h | 177 virtual const char *get_kind () const = 0; 188 if (get_kind () != other.get_kind ()) in equal_p() 347 virtual const char *get_kind () const = 0; 355 if (get_kind () != other.get_kind ()) in equal_p()
|
| H A D | program-point.h | 96 enum point_kind get_kind () const { return m_kind; } in get_kind() function 213 gcc_assert (get_kind () != PK_ORIGIN); in get_fndecl() 224 enum point_kind get_kind () const in get_kind() function 226 return m_function_point.get_kind (); in get_kind() 243 if (get_kind () == PK_ORIGIN) in get_stack_depth()
|
| H A D | program-point.cc | 99 gcc_checking_assert (from_edge->get_kind () == SUPEREDGE_CFG_EDGE); in function_point() 110 switch (get_kind ()) in print() 247 if (from_edge && from_edge->get_kind () != SUPEREDGE_CFG_EDGE) in before_supernode() 324 new json::string (point_kind_to_string (get_kind ()))); in to_json() 330 switch (get_kind ()) in to_json() 649 switch (get_kind ()) in get_next() 678 switch (m_function_point.get_kind ()) in get_next()
|
| H A D | supergraph.h | 318 enum edge_kind get_kind () const { return m_kind; } in get_kind() function 426 return (sedge->get_kind () == SUPEREDGE_INTRAPROCEDURAL_CALL in test() 427 || sedge->get_kind () == SUPEREDGE_CALL in test() 428 || sedge->get_kind () == SUPEREDGE_RETURN); in test() 464 return sedge->get_kind () == SUPEREDGE_CALL; in test() 497 return sedge->get_kind () == SUPEREDGE_RETURN; in test() 536 return sedge->get_kind () == SUPEREDGE_CFG_EDGE; in test()
|
| H A D | sm-taint.cc | 186 const char *get_kind () const FINAL OVERRIDE { return "tainted_array_index"; } in get_kind() function in ana::__anon5cb86e200111::tainted_array_index 259 const char *get_kind () const FINAL OVERRIDE { return "tainted_offset"; } in get_kind() function in ana::__anon5cb86e200111::tainted_offset 369 const char *get_kind () const OVERRIDE { return "tainted_size"; } in get_kind() function in ana::__anon5cb86e200111::tainted_size 442 const char *get_kind () const OVERRIDE in get_kind() function in ana::__anon5cb86e200111::tainted_access_attrib_size 476 const char *get_kind () const FINAL OVERRIDE { return "tainted_divisor"; } in get_kind() function in ana::__anon5cb86e200111::tainted_divisor 526 const char *get_kind () const FINAL OVERRIDE in get_kind() function in ana::__anon5cb86e200111::tainted_allocation_size 684 switch (sval->get_kind ()) in alt_get_inherited_state() 1049 switch (iter_region->get_kind ()) in check_region_for_taint()
|
| H A D | svalue.cc | 172 if ((get_kind () == SK_UNMERGEABLE) in can_merge_p() 173 || (other->get_kind () == SK_UNMERGEABLE)) in can_merge_p() 179 if (get_kind () == SK_POISONED in can_merge_p() 180 || other->get_kind () == SK_POISONED) in can_merge_p() 221 && binop_sval->get_arg1 ()->get_kind () == SK_CONSTANT in can_merge_p() 222 && other->get_kind () != SK_WIDENING) in can_merge_p() 373 if (int cmp_kind = sval1->get_kind () - sval2->get_kind ()) in cmp_ptr() 379 switch (sval1->get_kind ()) in cmp_ptr() 628 gcc_assert (other->get_kind () == SK_INITIAL in involves_p() 629 || other->get_kind () == SK_CONJURED); in involves_p() [all …]
|
| H A D | region.cc | 98 switch (iter->get_kind ()) in get_base_region() 122 switch (get_kind ()) in base_region_p() 148 if (iter->get_kind () == RK_CAST) in descendent_of_p() 167 if (iter->get_kind () == RK_CAST) in maybe_get_frame_region() 183 switch (iter->get_kind ()) in get_memory_space() 203 if (iter->get_kind () == RK_CAST) in get_memory_space() 501 switch (iter_region->get_kind ()) in calc_offset() 628 if (sym_reg->get_pointer ()->get_kind () == SK_UNKNOWN) in symbolic_for_unknown_ptr_p() 683 switch (get_kind ()) in non_null_p()
|
| H A D | diagnostic-manager.cc | 729 sd_obj->set ("pending_diagnostic", new json::string (m_d->get_kind ())); in to_json() 765 m_d->get_kind (), m_idx); in dump_as_dot_node() 822 m_best_epath = pf->get_best_epath (m_enode, m_d->get_kind (), m_idx, in calc_best_epath() 995 d->get_kind ()); in add_diagnostic() 1010 snode->m_index, enode->m_index, d->get_kind ()); in add_diagnostic() 1112 if (int cmp = strcmp (pk1->m_sd.m_d->get_kind (), in comparator() 1113 pk2->m_sd.m_d->get_kind ())) in comparator() 1258 outer_sd->get_index (), outer_sd->m_d->get_kind (), in handle_interactions() 1259 inner_sd->get_index (), inner_sd->m_d->get_kind ()); in handle_interactions() 1322 i, sd->m_d->get_kind (), sd->m_enode->m_index, in emit_saved_diagnostics() [all …]
|
| H A D | region-model-reachability.cc | 83 if (parent->get_kind () == RK_GLOBALS) in init_cluster() 96 switch (ptr->get_kind ()) in init_cluster() 207 switch (sval->get_kind ()) in handle_sval()
|
| H A D | region-model.cc | 468 const char *get_kind () const FINAL OVERRIDE { return "poisoned_value_diagnostic"; } in get_kind() function in ana::poisoned_value_diagnostic 575 const char *get_kind () const FINAL OVERRIDE in get_kind() function in ana::shift_count_negative_diagnostic 621 const char *get_kind () const FINAL OVERRIDE in get_kind() function in ana::shift_count_overflow_diagnostic 1174 const char *get_kind () const FINAL OVERRIDE { return "dump_path_diagnostic"; } in get_kind() function in ana::dump_path_diagnostic 1676 const char *get_kind () const FINAL OVERRIDE { return "reason_attr_access"; } in get_kind() function in ana::reason_attr_access 1909 if (parent->get_kind () == RK_FRAME) in get_reachable_svalues() 2475 if (reg->get_base_region ()->get_parent_region ()->get_kind () in get_store_value() 2525 switch (ptr_sval->get_kind ()) in deref_rvalue() 2611 const char *get_kind () const FINAL OVERRIDE in get_kind() function in ana::write_to_const_diagnostic 2631 switch (m_reg->get_kind ()) in emit() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | json.h | 79 virtual enum kind get_kind () const = 0; 93 enum kind get_kind () const FINAL OVERRIDE { return JSON_OBJECT; } in get_kind() function 112 enum kind get_kind () const FINAL OVERRIDE { return JSON_ARRAY; } in get_kind() function 128 enum kind get_kind () const FINAL OVERRIDE { return JSON_FLOAT; } in get_kind() function 144 enum kind get_kind () const FINAL OVERRIDE { return JSON_INTEGER; } in get_kind() function 162 enum kind get_kind () const FINAL OVERRIDE { return JSON_STRING; } in get_kind() function 182 enum kind get_kind () const FINAL OVERRIDE { return m_kind; } in get_kind() function
|
| H A D | optinfo.h | 114 enum optinfo_kind get_kind () const { return m_kind; } in get_kind() function 157 enum optinfo_item_kind get_kind () const { return m_kind; } in get_kind() function
|
| H A D | dumpfile.cc | 2257 ASSERT_EQ_AT (loc, item->get_kind (), expected_kind); in verify_item() 2312 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); in test_capture_of_dump_calls() 2333 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); in test_capture_of_dump_calls() 2355 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); in test_capture_of_dump_calls() 2377 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); in test_capture_of_dump_calls() 2399 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); in test_capture_of_dump_calls() 2429 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); in test_capture_of_dump_calls() 2459 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); in test_capture_of_dump_calls() 2482 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); in test_capture_of_dump_calls() 2586 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); in test_capture_of_dump_calls() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | json.h | 79 virtual enum kind get_kind () const = 0; 93 enum kind get_kind () const FINAL OVERRIDE { return JSON_OBJECT; } in get_kind() function 112 enum kind get_kind () const FINAL OVERRIDE { return JSON_ARRAY; } in get_kind() function 128 enum kind get_kind () const FINAL OVERRIDE { return JSON_FLOAT; } in get_kind() function 144 enum kind get_kind () const FINAL OVERRIDE { return JSON_INTEGER; } in get_kind() function 162 enum kind get_kind () const FINAL OVERRIDE { return JSON_STRING; } in get_kind() function 182 enum kind get_kind () const FINAL OVERRIDE { return m_kind; } in get_kind() function
|
| H A D | optinfo.h | 114 enum optinfo_kind get_kind () const { return m_kind; } in get_kind() function 157 enum optinfo_item_kind get_kind () const { return m_kind; } in get_kind() function
|
| H A D | dumpfile.c | 2199 ASSERT_EQ_AT (loc, item->get_kind (), expected_kind); 2254 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); 2275 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); 2297 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); 2319 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); 2341 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); 2371 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); 2401 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); 2424 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); 2528 ASSERT_EQ (info->get_kind (), OPTINFO_KIND_NOTE); [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/ |
| H A D | program-point.h | 82 gcc_checking_assert (from_edge->get_kind () == SUPEREDGE_CFG_EDGE); in function_point() 113 enum point_kind get_kind () const { return m_kind; } in get_kind() function 136 if (from_edge && from_edge->get_kind () != SUPEREDGE_CFG_EDGE) in before_supernode() 224 gcc_assert (get_kind () != PK_ORIGIN); in get_fndecl() 235 enum point_kind get_kind () const in get_kind() function 237 return m_function_point.get_kind (); in get_kind() 254 if (get_kind () == PK_ORIGIN) in get_stack_depth()
|
| H A D | region-model.h | 486 virtual enum svalue_kind get_kind () const = 0; 545 enum svalue_kind get_kind () const FINAL OVERRIDE { return SK_REGION; } in get_kind() function 588 return sval->get_kind () == SK_REGION; in test() 610 enum svalue_kind get_kind () const FINAL OVERRIDE { return SK_CONSTANT; } in get_kind() function 649 return sval->get_kind () == SK_CONSTANT; in test() 670 enum svalue_kind get_kind () const FINAL OVERRIDE { return SK_UNKNOWN; } in get_kind() function 710 enum svalue_kind get_kind () const FINAL OVERRIDE { return SK_POISONED; } in get_kind() function 734 return sval->get_kind () == SK_POISONED; in test() 777 enum svalue_kind get_kind () const FINAL OVERRIDE { return SK_SETJMP; } in get_kind() function 863 virtual enum region_kind get_kind () const = 0; [all …]
|
| H A D | supergraph.h | 292 enum edge_kind get_kind () const { return m_kind; } in get_kind() function 390 return (sedge->get_kind () == SUPEREDGE_INTRAPROCEDURAL_CALL in test() 391 || sedge->get_kind () == SUPEREDGE_CALL in test() 392 || sedge->get_kind () == SUPEREDGE_RETURN); in test() 438 return sedge->get_kind () == SUPEREDGE_CALL; in test() 479 return sedge->get_kind () == SUPEREDGE_RETURN; in test() 517 return sedge->get_kind () == SUPEREDGE_CFG_EDGE; in test()
|
| H A D | pending-diagnostic.h | 155 virtual const char *get_kind () const = 0; 163 if (get_kind () != other.get_kind ()) in equal_p()
|
| H A D | sm-malloc.cc | 159 const char *get_kind () const FINAL OVERRIDE { return "double_free"; } in get_kind() function in ana::__anon71be9ce50111::double_free 249 const char *get_kind () const FINAL OVERRIDE { return "possible_null_deref"; } in get_kind() function in ana::__anon71be9ce50111::possible_null_deref 300 const char *get_kind () const FINAL OVERRIDE { return "possible_null_arg"; } in get_kind() function in ana::__anon71be9ce50111::possible_null_arg 353 const char *get_kind () const FINAL OVERRIDE { return "null_deref"; } in get_kind() function in ana::__anon71be9ce50111::null_deref 392 const char *get_kind () const FINAL OVERRIDE { return "null_arg"; } in get_kind() function in ana::__anon71be9ce50111::null_arg 436 const char *get_kind () const FINAL OVERRIDE { return "use_after_free"; } in get_kind() function in ana::__anon71be9ce50111::use_after_free 477 const char *get_kind () const FINAL OVERRIDE { return "malloc_leak"; } in get_kind() function in ana::__anon71be9ce50111::malloc_leak 519 const char *get_kind () const FINAL OVERRIDE { return "free_of_non_heap"; } in get_kind() function in ana::__anon71be9ce50111::free_of_non_heap
|
| H A D | diagnostic-manager.cc | 180 snode->m_index, d->get_kind ()); in add_diagnostic() 367 sd->m_d->get_kind (), sd->m_enode->m_index, in add() 376 sd->m_d->get_kind (), sd->m_enode->m_index, in add() 385 sd->m_d->get_kind (), sd->m_enode->m_index, in add() 488 i, sd->m_d->get_kind (), sd->m_enode->m_index, in emit_saved_diagnostics() 526 log ("sd: %qs at SN: %i", sd.m_d->get_kind (), sd.m_snode->m_index); in emit_saved_diagnostic() 865 switch (dst_point.get_kind ()) in add_events_for_eedge() 870 if (src_point.get_kind () == PK_AFTER_SUPERNODE) in add_events_for_eedge()
|
| H A D | state-purge.h | 62 return v.get_kind () == PK_DELETED; 68 return v.get_kind () == PK_EMPTY;
|