Lines Matching refs:MergePotentials

629   MPIterator HighestMPIter = std::prev(MergePotentials.end());  in ComputeSameTails()
630 for (MPIterator CurMPIter = std::prev(MergePotentials.end()), in ComputeSameTails()
631 B = MergePotentials.begin(); in ComputeSameTails()
662 for (CurMPIter = std::prev(MergePotentials.end()), in RemoveBlocksWithHash()
663 B = MergePotentials.begin(); in RemoveBlocksWithHash()
674 MergePotentials.erase(CurMPIter, MergePotentials.end()); in RemoveBlocksWithHash()
804 for (unsigned i = 0, e = MergePotentials.size(); i != e; ++i) in TryTailMergeBlocks()
805 dbgs() << "BB#" << MergePotentials[i].getBlock()->getNumber() in TryTailMergeBlocks()
821 array_pod_sort(MergePotentials.begin(), MergePotentials.end()); in TryTailMergeBlocks()
824 while (MergePotentials.size() > 1) { in TryTailMergeBlocks()
825 unsigned CurHash = MergePotentials.back().getHash(); in TryTailMergeBlocks()
844 MachineBasicBlock *EntryBB = MergePotentials.begin()->getBlock()-> in TryTailMergeBlocks()
905 MergePotentials.erase(SameTails[i].getMPIter()); in TryTailMergeBlocks()
920 MergePotentials.clear(); in TailMergeBlocks()
922 I != E && MergePotentials.size() < TailMergeThreshold; ++I) { in TailMergeBlocks()
926 MergePotentials.push_back(MergePotentialsElt(HashEndOfMBB(I), I)); in TailMergeBlocks()
931 if (MergePotentials.size() == TailMergeThreshold) in TailMergeBlocks()
932 for (unsigned i = 0, e = MergePotentials.size(); i != e; ++i) in TailMergeBlocks()
933 TriedMerging.insert(MergePotentials[i].getBlock()); in TailMergeBlocks()
936 if (MergePotentials.size() >= 2) in TailMergeBlocks()
964 MergePotentials.clear(); in TailMergeBlocks()
967 P != E2 && MergePotentials.size() < TailMergeThreshold; ++P) { in TailMergeBlocks()
1031 MergePotentials.push_back(MergePotentialsElt(HashEndOfMBB(PBB), *P)); in TailMergeBlocks()
1037 if (MergePotentials.size() == TailMergeThreshold) in TailMergeBlocks()
1038 for (unsigned i = 0, e = MergePotentials.size(); i != e; ++i) in TailMergeBlocks()
1039 TriedMerging.insert(MergePotentials[i].getBlock()); in TailMergeBlocks()
1041 if (MergePotentials.size() >= 2) in TailMergeBlocks()
1047 if (MergePotentials.size() == 1 && in TailMergeBlocks()
1048 MergePotentials.begin()->getBlock() != PredBB) in TailMergeBlocks()
1049 FixTail(MergePotentials.begin()->getBlock(), IBB, TII); in TailMergeBlocks()