Lines Matching refs:MergePotentials

675   MPIterator HighestMPIter = std::prev(MergePotentials.end());  in ComputeSameTails()
676 for (MPIterator CurMPIter = std::prev(MergePotentials.end()), in ComputeSameTails()
677 B = MergePotentials.begin(); in ComputeSameTails()
709 for (CurMPIter = std::prev(MergePotentials.end()), in RemoveBlocksWithHash()
710 B = MergePotentials.begin(); in RemoveBlocksWithHash()
721 MergePotentials.erase(CurMPIter, MergePotentials.end()); in RemoveBlocksWithHash()
835 for (unsigned i = 0, e = MergePotentials.size(); i != e; ++i) in TryTailMergeBlocks()
836 dbgs() << "BB#" << MergePotentials[i].getBlock()->getNumber() in TryTailMergeBlocks()
852 array_pod_sort(MergePotentials.begin(), MergePotentials.end()); in TryTailMergeBlocks()
855 while (MergePotentials.size() > 1) { in TryTailMergeBlocks()
856 unsigned CurHash = MergePotentials.back().getHash(); in TryTailMergeBlocks()
876 &MergePotentials.front().getBlock()->getParent()->front(); in TryTailMergeBlocks()
936 MergePotentials.erase(SameTails[i].getMPIter()); in TryTailMergeBlocks()
954 MergePotentials.clear(); in TailMergeBlocks()
956 if (MergePotentials.size() == TailMergeThreshold) in TailMergeBlocks()
959 MergePotentials.push_back(MergePotentialsElt(HashEndOfMBB(MBB), &MBB)); in TailMergeBlocks()
964 if (MergePotentials.size() == TailMergeThreshold) in TailMergeBlocks()
965 for (unsigned i = 0, e = MergePotentials.size(); i != e; ++i) in TailMergeBlocks()
966 TriedMerging.insert(MergePotentials[i].getBlock()); in TailMergeBlocks()
969 if (MergePotentials.size() >= 2) in TailMergeBlocks()
998 MergePotentials.clear(); in TailMergeBlocks()
1000 if (MergePotentials.size() == TailMergeThreshold) in TailMergeBlocks()
1079 MergePotentials.push_back(MergePotentialsElt(HashEndOfMBB(*PBB), PBB)); in TailMergeBlocks()
1085 if (MergePotentials.size() == TailMergeThreshold) in TailMergeBlocks()
1086 for (unsigned i = 0, e = MergePotentials.size(); i != e; ++i) in TailMergeBlocks()
1087 TriedMerging.insert(MergePotentials[i].getBlock()); in TailMergeBlocks()
1089 if (MergePotentials.size() >= 2) in TailMergeBlocks()
1095 if (MergePotentials.size() == 1 && in TailMergeBlocks()
1096 MergePotentials.begin()->getBlock() != PredBB) in TailMergeBlocks()
1097 FixTail(MergePotentials.begin()->getBlock(), IBB, TII); in TailMergeBlocks()