Lines Matching refs:srcbb

502       basic_block srcbb, dstbb;  in ipa_merge_profiles()  local
504 FOR_ALL_BB_FN (srcbb, srccfun) in ipa_merge_profiles()
508 dstbb = BASIC_BLOCK_FOR_FN (dstcfun, srcbb->index); in ipa_merge_profiles()
514 srcbb->index); in ipa_merge_profiles()
518 if (EDGE_COUNT (srcbb->succs) != EDGE_COUNT (dstbb->succs)) in ipa_merge_profiles()
523 srcbb->index); in ipa_merge_profiles()
527 for (i = 0; i < EDGE_COUNT (srcbb->succs); i++) in ipa_merge_profiles()
529 edge srce = EDGE_SUCC (srcbb, i); in ipa_merge_profiles()
546 basic_block srcbb, dstbb; in ipa_merge_profiles() local
549 FOR_ALL_BB_FN (srcbb, srccfun) in ipa_merge_profiles()
553 dstbb = BASIC_BLOCK_FOR_FN (dstcfun, srcbb->index); in ipa_merge_profiles()
560 && (srcbb->count.ipa ().initialized_p () in ipa_merge_profiles()
561 && !(srcbb->count.ipa () == profile_count::zero ())))) in ipa_merge_profiles()
563 dstbb->count = srcbb->count; in ipa_merge_profiles()
564 for (i = 0; i < EDGE_COUNT (srcbb->succs); i++) in ipa_merge_profiles()
566 edge srce = EDGE_SUCC (srcbb, i); in ipa_merge_profiles()
572 else if (srcbb->count.ipa ().initialized_p () in ipa_merge_profiles()
573 && !(srcbb->count.ipa () == profile_count::zero ())) in ipa_merge_profiles()
575 for (i = 0; i < EDGE_COUNT (srcbb->succs); i++) in ipa_merge_profiles()
577 edge srce = EDGE_SUCC (srcbb, i); in ipa_merge_profiles()
580 dste->probability * dstbb->count.probability_in (dstbb->count + srcbb->count) in ipa_merge_profiles()
581 + srce->probability * srcbb->count.probability_in (dstbb->count + srcbb->count); in ipa_merge_profiles()
583 dstbb->count += srcbb->count; in ipa_merge_profiles()