Lines Matching refs:commonTailIndex
682 unsigned &commonTailIndex) { in CreateCommonTailOnlyBlock() argument
683 commonTailIndex = 0; in CreateCommonTailOnlyBlock()
688 commonTailIndex = i; in CreateCommonTailOnlyBlock()
697 commonTailIndex = i; in CreateCommonTailOnlyBlock()
702 SameTails[commonTailIndex].getTailStartPos(); in CreateCommonTailOnlyBlock()
703 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock()
721 SameTails[commonTailIndex].setBlock(newMBB); in CreateCommonTailOnlyBlock()
722 SameTails[commonTailIndex].setTailStartPos(newMBB->begin()); in CreateCommonTailOnlyBlock()
846 unsigned commonTailIndex = SameTails.size(); in TryTailMergeBlocks() local
852 commonTailIndex = 1; in TryTailMergeBlocks()
857 commonTailIndex = 0; in TryTailMergeBlocks()
866 commonTailIndex = i; in TryTailMergeBlocks()
870 commonTailIndex = i; in TryTailMergeBlocks()
874 if (commonTailIndex == SameTails.size() || in TryTailMergeBlocks()
875 (SameTails[commonTailIndex].getBlock() == PredBB && in TryTailMergeBlocks()
876 !SameTails[commonTailIndex].tailIsWholeBlock())) { in TryTailMergeBlocks()
880 maxCommonTailLength, commonTailIndex)) { in TryTailMergeBlocks()
886 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in TryTailMergeBlocks()
896 if (commonTailIndex == i) in TryTailMergeBlocks()