Searched refs:CurHash (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | BranchFolding.h | 128 unsigned ComputeSameTails(unsigned CurHash, unsigned minCommonTailLength, 131 void RemoveBlocksWithHash(unsigned CurHash, MachineBasicBlock* SuccBB,
|
D | BranchFolding.cpp | 637 unsigned BranchFolder::ComputeSameTails(unsigned CurHash, in ComputeSameTails() argument 647 CurMPIter != B && CurMPIter->getHash() == CurHash; --CurMPIter) { in ComputeSameTails() 648 for (MPIterator I = std::prev(CurMPIter); I->getHash() == CurHash; --I) { in ComputeSameTails() 674 void BranchFolder::RemoveBlocksWithHash(unsigned CurHash, in RemoveBlocksWithHash() argument 680 CurMPIter->getHash() == CurHash; --CurMPIter) { in RemoveBlocksWithHash() 688 if (CurMPIter->getHash() != CurHash) in RemoveBlocksWithHash() 841 unsigned CurHash = MergePotentials.back().getHash(); in TryTailMergeBlocks() local 845 unsigned maxCommonTailLength = ComputeSameTails(CurHash, in TryTailMergeBlocks() 852 RemoveBlocksWithHash(CurHash, SuccBB, PredBB); in TryTailMergeBlocks() 897 RemoveBlocksWithHash(CurHash, SuccBB, PredBB); in TryTailMergeBlocks()
|