Home
last modified time | relevance | path

Searched refs:CurHash (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DBranchFolding.h104 unsigned ComputeSameTails(unsigned CurHash, unsigned minCommonTailLength,
107 void RemoveBlocksWithHash(unsigned CurHash, MachineBasicBlock* SuccBB,
DBranchFolding.cpp584 unsigned BranchFolder::ComputeSameTails(unsigned CurHash, in ComputeSameTails() argument
594 CurMPIter != B && CurMPIter->getHash() == CurHash; in ComputeSameTails()
596 for (MPIterator I = prior(CurMPIter); I->getHash() == CurHash ; --I) { in ComputeSameTails()
621 void BranchFolder::RemoveBlocksWithHash(unsigned CurHash, in RemoveBlocksWithHash() argument
626 CurMPIter->getHash() == CurHash; in RemoveBlocksWithHash()
635 if (CurMPIter->getHash() != CurHash) in RemoveBlocksWithHash()
726 unsigned CurHash = MergePotentials.back().getHash(); in TryTailMergeBlocks() local
730 unsigned maxCommonTailLength = ComputeSameTails(CurHash, in TryTailMergeBlocks()
737 RemoveBlocksWithHash(CurHash, SuccBB, PredBB); in TryTailMergeBlocks()
782 RemoveBlocksWithHash(CurHash, SuccBB, PredBB); in TryTailMergeBlocks()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBranchFolding.h186 unsigned ComputeSameTails(unsigned CurHash, unsigned minCommonTailLength,
192 void RemoveBlocksWithHash(unsigned CurHash, MachineBasicBlock* SuccBB,
DBranchFolding.cpp729 unsigned BranchFolder::ComputeSameTails(unsigned CurHash, in ComputeSameTails() argument
739 CurMPIter != B && CurMPIter->getHash() == CurHash; --CurMPIter) { in ComputeSameTails()
740 for (MPIterator I = std::prev(CurMPIter); I->getHash() == CurHash; --I) { in ComputeSameTails()
765 void BranchFolder::RemoveBlocksWithHash(unsigned CurHash, in RemoveBlocksWithHash() argument
771 CurMPIter->getHash() == CurHash; --CurMPIter) { in RemoveBlocksWithHash()
779 if (CurMPIter->getHash() != CurHash) in RemoveBlocksWithHash()
980 unsigned CurHash = MergePotentials.back().getHash(); in TryTailMergeBlocks() local
984 unsigned maxCommonTailLength = ComputeSameTails(CurHash, in TryTailMergeBlocks()
991 RemoveBlocksWithHash(CurHash, SuccBB, PredBB); in TryTailMergeBlocks()
1036 RemoveBlocksWithHash(CurHash, SuccBB, PredBB); in TryTailMergeBlocks()
/external/llvm/lib/CodeGen/
DBranchFolding.h140 unsigned ComputeSameTails(unsigned CurHash, unsigned minCommonTailLength,
143 void RemoveBlocksWithHash(unsigned CurHash, MachineBasicBlock* SuccBB,
DBranchFolding.cpp668 unsigned BranchFolder::ComputeSameTails(unsigned CurHash, in ComputeSameTails() argument
678 CurMPIter != B && CurMPIter->getHash() == CurHash; --CurMPIter) { in ComputeSameTails()
679 for (MPIterator I = std::prev(CurMPIter); I->getHash() == CurHash; --I) { in ComputeSameTails()
705 void BranchFolder::RemoveBlocksWithHash(unsigned CurHash, in RemoveBlocksWithHash() argument
711 CurMPIter->getHash() == CurHash; --CurMPIter) { in RemoveBlocksWithHash()
719 if (CurMPIter->getHash() != CurHash) in RemoveBlocksWithHash()
856 unsigned CurHash = MergePotentials.back().getHash(); in TryTailMergeBlocks() local
860 unsigned maxCommonTailLength = ComputeSameTails(CurHash, in TryTailMergeBlocks()
867 RemoveBlocksWithHash(CurHash, SuccBB, PredBB); in TryTailMergeBlocks()
912 RemoveBlocksWithHash(CurHash, SuccBB, PredBB); in TryTailMergeBlocks()