Home
last modified time | relevance | path

Searched refs:jfunc (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dipa-prop.h349 ipa_get_jf_constant (struct ipa_jump_func *jfunc) in ipa_get_jf_constant() argument
351 gcc_checking_assert (jfunc->type == IPA_JF_CONST); in ipa_get_jf_constant()
352 return jfunc->value.constant.value; in ipa_get_jf_constant()
356 ipa_get_jf_constant_rdesc (struct ipa_jump_func *jfunc) in ipa_get_jf_constant_rdesc() argument
358 gcc_checking_assert (jfunc->type == IPA_JF_CONST); in ipa_get_jf_constant_rdesc()
359 return jfunc->value.constant.rdesc; in ipa_get_jf_constant_rdesc()
365 ipa_zap_jf_refdesc (ipa_jump_func *jfunc) in ipa_zap_jf_refdesc() argument
367 gcc_checking_assert (jfunc->type == IPA_JF_CONST); in ipa_zap_jf_refdesc()
368 jfunc->value.constant.rdesc = NULL; in ipa_zap_jf_refdesc()
374 ipa_get_jf_pass_through_operand (struct ipa_jump_func *jfunc) in ipa_get_jf_pass_through_operand() argument
[all …]
H A Dipa-cp.cc1475 ipa_get_jf_pass_through_result (struct ipa_jump_func *jfunc, tree input, in ipa_get_jf_pass_through_result() argument
1478 return ipa_get_jf_arith_result (ipa_get_jf_pass_through_operation (jfunc), in ipa_get_jf_pass_through_result()
1480 ipa_get_jf_pass_through_operand (jfunc), in ipa_get_jf_pass_through_result()
1488 ipa_get_jf_ancestor_result (struct ipa_jump_func *jfunc, tree input) in ipa_get_jf_ancestor_result() argument
1494 poly_int64 off = ipa_get_jf_ancestor_offset (jfunc); in ipa_get_jf_ancestor_result()
1502 else if (ipa_get_jf_ancestor_keep_null (jfunc) in ipa_get_jf_ancestor_result()
1516 ipa_value_from_jfunc (class ipa_node_params *info, struct ipa_jump_func *jfunc, in ipa_value_from_jfunc() argument
1519 if (jfunc->type == IPA_JF_CONST) in ipa_value_from_jfunc()
1520 return ipa_get_jf_constant (jfunc); in ipa_value_from_jfunc()
1521 else if (jfunc->type == IPA_JF_PASS_THROUGH in ipa_value_from_jfunc()
[all …]
H A Dipa-prop.cc523 ipa_set_jf_unknown (struct ipa_jump_func *jfunc) in ipa_set_jf_unknown() argument
525 jfunc->type = IPA_JF_UNKNOWN; in ipa_set_jf_unknown()
544 ipa_set_jf_constant (struct ipa_jump_func *jfunc, tree constant, in ipa_set_jf_constant() argument
547 jfunc->type = IPA_JF_CONST; in ipa_set_jf_constant()
548 jfunc->value.constant.value = unshare_expr_without_location (constant); in ipa_set_jf_constant()
561 jfunc->value.constant.rdesc = rdesc; in ipa_set_jf_constant()
564 jfunc->value.constant.rdesc = NULL; in ipa_set_jf_constant()
569 ipa_set_jf_simple_pass_through (struct ipa_jump_func *jfunc, int formal_id, in ipa_set_jf_simple_pass_through() argument
572 jfunc->type = IPA_JF_PASS_THROUGH; in ipa_set_jf_simple_pass_through()
573 jfunc->value.pass_through.operand = NULL_TREE; in ipa_set_jf_simple_pass_through()
[all …]
H A Dipa-fnsummary.cc3987 struct ipa_jump_func *jfunc = ipa_get_ith_jump_func (args, i); in remap_edge_params() local
3988 if (jfunc->type == IPA_JF_PASS_THROUGH in remap_edge_params()
3989 || jfunc->type == IPA_JF_ANCESTOR) in remap_edge_params()
3991 int id = jfunc->type == IPA_JF_PASS_THROUGH in remap_edge_params()
3992 ? ipa_get_jf_pass_through_formal_id (jfunc) in remap_edge_params()
3993 : ipa_get_jf_ancestor_formal_id (jfunc); in remap_edge_params()
4010 && jfunc->type == IPA_JF_CONST in remap_edge_params()
4012 (ipa_get_jf_constant (jfunc))) in remap_edge_params()
4157 struct ipa_jump_func *jfunc = ipa_get_ith_jump_func (args, i); in ipa_merge_fn_summary_after_inlining() local
4161 if (jfunc->type == IPA_JF_PASS_THROUGH) in ipa_merge_fn_summary_after_inlining()
[all …]
H A DChangeLog3182 (update_jump_functions_after_inlining): Zap refdesc of new jfunc if
H A DChangeLog-201610929 (ipa_set_jf_unknown): Remove assignment to jfunc->alignment.known.
H A DChangeLog-20191046 than *jfunc->m_vr to intersect. Formatting fix.
H A DChangeLog-20147632 always set jfunc to unknown.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dipa-prop.h341 ipa_get_jf_constant (struct ipa_jump_func *jfunc) in ipa_get_jf_constant() argument
343 gcc_checking_assert (jfunc->type == IPA_JF_CONST); in ipa_get_jf_constant()
344 return jfunc->value.constant.value; in ipa_get_jf_constant()
348 ipa_get_jf_constant_rdesc (struct ipa_jump_func *jfunc) in ipa_get_jf_constant_rdesc() argument
350 gcc_checking_assert (jfunc->type == IPA_JF_CONST); in ipa_get_jf_constant_rdesc()
351 return jfunc->value.constant.rdesc; in ipa_get_jf_constant_rdesc()
357 ipa_get_jf_pass_through_operand (struct ipa_jump_func *jfunc) in ipa_get_jf_pass_through_operand() argument
359 gcc_checking_assert (jfunc->type == IPA_JF_PASS_THROUGH); in ipa_get_jf_pass_through_operand()
360 return jfunc->value.pass_through.operand; in ipa_get_jf_pass_through_operand()
367 ipa_get_jf_pass_through_formal_id (struct ipa_jump_func *jfunc) in ipa_get_jf_pass_through_formal_id() argument
[all …]
H A Dipa-cp.c1360 ipa_get_jf_pass_through_result (struct ipa_jump_func *jfunc, tree input, in ipa_get_jf_pass_through_result() argument
1363 return ipa_get_jf_arith_result (ipa_get_jf_pass_through_operation (jfunc), in ipa_get_jf_pass_through_result()
1365 ipa_get_jf_pass_through_operand (jfunc), in ipa_get_jf_pass_through_result()
1373 ipa_get_jf_ancestor_result (struct ipa_jump_func *jfunc, tree input) in ipa_get_jf_ancestor_result() argument
1379 poly_int64 off = ipa_get_jf_ancestor_offset (jfunc); in ipa_get_jf_ancestor_result()
1387 else if (ipa_get_jf_ancestor_keep_null (jfunc) in ipa_get_jf_ancestor_result()
1401 ipa_value_from_jfunc (class ipa_node_params *info, struct ipa_jump_func *jfunc, in ipa_value_from_jfunc() argument
1404 if (jfunc->type == IPA_JF_CONST) in ipa_value_from_jfunc()
1405 return ipa_get_jf_constant (jfunc); in ipa_value_from_jfunc()
1406 else if (jfunc->type == IPA_JF_PASS_THROUGH in ipa_value_from_jfunc()
[all …]
H A Dipa-prop.c517 ipa_set_jf_unknown (struct ipa_jump_func *jfunc) in ipa_set_jf_unknown() argument
519 jfunc->type = IPA_JF_UNKNOWN; in ipa_set_jf_unknown()
538 ipa_set_jf_constant (struct ipa_jump_func *jfunc, tree constant, in ipa_set_jf_constant() argument
541 jfunc->type = IPA_JF_CONST; in ipa_set_jf_constant()
542 jfunc->value.constant.value = unshare_expr_without_location (constant); in ipa_set_jf_constant()
553 jfunc->value.constant.rdesc = rdesc; in ipa_set_jf_constant()
556 jfunc->value.constant.rdesc = NULL; in ipa_set_jf_constant()
561 ipa_set_jf_simple_pass_through (struct ipa_jump_func *jfunc, int formal_id, in ipa_set_jf_simple_pass_through() argument
564 jfunc->type = IPA_JF_PASS_THROUGH; in ipa_set_jf_simple_pass_through()
565 jfunc->value.pass_through.operand = NULL_TREE; in ipa_set_jf_simple_pass_through()
[all …]
H A Dipa-fnsummary.c3772 struct ipa_jump_func *jfunc = ipa_get_ith_jump_func (args, i); in remap_edge_change_prob() local
3773 if (jfunc->type == IPA_JF_PASS_THROUGH in remap_edge_change_prob()
3774 || jfunc->type == IPA_JF_ANCESTOR) in remap_edge_change_prob()
3776 int id = jfunc->type == IPA_JF_PASS_THROUGH in remap_edge_change_prob()
3777 ? ipa_get_jf_pass_through_formal_id (jfunc) in remap_edge_change_prob()
3778 : ipa_get_jf_ancestor_formal_id (jfunc); in remap_edge_change_prob()
3937 struct ipa_jump_func *jfunc = ipa_get_ith_jump_func (args, i); in ipa_merge_fn_summary_after_inlining() local
3941 if (jfunc->type == IPA_JF_PASS_THROUGH) in ipa_merge_fn_summary_after_inlining()
3943 if (ipa_get_jf_pass_through_operation (jfunc) == NOP_EXPR) in ipa_merge_fn_summary_after_inlining()
3944 map = ipa_get_jf_pass_through_formal_id (jfunc); in ipa_merge_fn_summary_after_inlining()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A Dparse.cc471 JMethod *jfunc = (JMethod*) jmaps->locate_exact_match (mid, ts); in process_jcm_load_cmd() local
472 if (jfunc == NULL || jfunc->get_type () != Histable::FUNCTION) in process_jcm_load_cmd()
476 Module *jmodule = jfunc->module; in process_jcm_load_cmd()
489 dfunc->usrfunc = jfunc; in process_jcm_load_cmd()
492 dfunc->set_signature (jfunc->get_signature ()); in process_jcm_load_cmd()
493 dfunc->set_name (jfunc->get_mangled_name ()); in process_jcm_load_cmd()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A Dparse.cc471 JMethod *jfunc = (JMethod*) jmaps->locate_exact_match (mid, ts); in process_jcm_load_cmd() local
472 if (jfunc == NULL || jfunc->get_type () != Histable::FUNCTION) in process_jcm_load_cmd()
476 Module *jmodule = jfunc->module; in process_jcm_load_cmd()
489 dfunc->usrfunc = jfunc; in process_jcm_load_cmd()
492 dfunc->set_signature (jfunc->get_signature ()); in process_jcm_load_cmd()
493 dfunc->set_name (jfunc->get_mangled_name ()); in process_jcm_load_cmd()