Lines Matching refs:TargetRegion
158 CoalescingCandidateInfo &TargetRegion) const;
176 CoalescingCandidateInfo &TargetRegion);
182 CoalescingCandidateInfo &TargetRegion) const;
490 CoalescingCandidateInfo &TargetRegion) const { in validateCandidates()
492 if (TargetRegion.BranchTargetBlock != SourceRegion.BranchBlock) in validateCandidates()
494 else if (!MDT->dominates(TargetRegion.BranchBlock, SourceRegion.BranchBlock)) in validateCandidates()
496 else if (!MPDT->dominates(SourceRegion.BranchBlock, TargetRegion.BranchBlock)) in validateCandidates()
498 else if (!TargetRegion.FallThroughBlock->empty() || in validateCandidates()
532 CoalescingCandidateInfo &TargetRegion) const { in canMerge()
533 if (!validateCandidates(SourceRegion, TargetRegion)) in canMerge()
572 if (!canMoveToEnd(*I, *TargetRegion.BranchBlock)) { in canMerge()
639 CoalescingCandidateInfo &TargetRegion) { in mergeCandidates() argument
646 if (!validateCandidates(SourceRegion, TargetRegion)) in mergeCandidates()
662 : TargetRegion.BranchBlock; in mergeCandidates()
667 : TargetRegion.BranchBlock->getFirstTerminator(); in mergeCandidates()
677 TargetRegion.BranchBlock->transferSuccessorsAndUpdatePHIs( in mergeCandidates()
682 TargetRegion.BranchBlock->ReplaceUsesOfBlockWith( in mergeCandidates()
696 assert(TargetRegion.FallThroughBlock->empty() && in mergeCandidates()
701 TargetRegion.FallThroughBlock->transferSuccessorsAndUpdatePHIs( in mergeCandidates()
703 TargetRegion.FallThroughBlock->removeSuccessor(SourceRegion.BranchBlock); in mergeCandidates()
704 TargetRegion.FallThroughBlock->normalizeSuccProbs(); in mergeCandidates()