Lines Matching refs:TargetRegion
159 CoalescingCandidateInfo &TargetRegion) const;
177 CoalescingCandidateInfo &TargetRegion);
183 CoalescingCandidateInfo &TargetRegion) const;
493 CoalescingCandidateInfo &TargetRegion) const { in validateCandidates()
495 if (TargetRegion.BranchTargetBlock != SourceRegion.BranchBlock) in validateCandidates()
497 else if (!MDT->dominates(TargetRegion.BranchBlock, SourceRegion.BranchBlock)) in validateCandidates()
499 else if (!MPDT->dominates(SourceRegion.BranchBlock, TargetRegion.BranchBlock)) in validateCandidates()
501 else if (!TargetRegion.FallThroughBlock->empty() || in validateCandidates()
535 CoalescingCandidateInfo &TargetRegion) const { in canMerge()
536 if (!validateCandidates(SourceRegion, TargetRegion)) in canMerge()
575 if (!canMoveToEnd(*I, *TargetRegion.BranchBlock)) { in canMerge()
642 CoalescingCandidateInfo &TargetRegion) { in mergeCandidates() argument
649 if (!validateCandidates(SourceRegion, TargetRegion)) in mergeCandidates()
665 : TargetRegion.BranchBlock; in mergeCandidates()
670 : TargetRegion.BranchBlock->getFirstTerminator(); in mergeCandidates()
680 TargetRegion.BranchBlock->transferSuccessorsAndUpdatePHIs( in mergeCandidates()
685 TargetRegion.BranchBlock->ReplaceUsesOfBlockWith( in mergeCandidates()
699 assert(TargetRegion.FallThroughBlock->empty() && in mergeCandidates()
704 TargetRegion.FallThroughBlock->transferSuccessorsAndUpdatePHIs( in mergeCandidates()
706 TargetRegion.FallThroughBlock->removeSuccessor(SourceRegion.BranchBlock); in mergeCandidates()