Lines Matching refs:commonTailIndex

716                                              unsigned &commonTailIndex) {  in CreateCommonTailOnlyBlock()  argument
717 commonTailIndex = 0; in CreateCommonTailOnlyBlock()
722 commonTailIndex = i; in CreateCommonTailOnlyBlock()
731 commonTailIndex = i; in CreateCommonTailOnlyBlock()
736 SameTails[commonTailIndex].getTailStartPos(); in CreateCommonTailOnlyBlock()
737 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock()
753 SameTails[commonTailIndex].setBlock(newMBB); in CreateCommonTailOnlyBlock()
754 SameTails[commonTailIndex].setTailStartPos(newMBB->begin()); in CreateCommonTailOnlyBlock()
813 void BranchFolder::mergeCommonTails(unsigned commonTailIndex) { in mergeCommonTails() argument
814 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in mergeCommonTails()
818 if (i != commonTailIndex) { in mergeCommonTails()
832 if (i == commonTailIndex) in mergeCommonTails()
939 unsigned commonTailIndex = SameTails.size(); in TryTailMergeBlocks() local
945 commonTailIndex = 1; in TryTailMergeBlocks()
951 commonTailIndex = 0; in TryTailMergeBlocks()
961 commonTailIndex = i; in TryTailMergeBlocks()
965 commonTailIndex = i; in TryTailMergeBlocks()
969 if (commonTailIndex == SameTails.size() || in TryTailMergeBlocks()
970 (SameTails[commonTailIndex].getBlock() == PredBB && in TryTailMergeBlocks()
971 !SameTails[commonTailIndex].tailIsWholeBlock())) { in TryTailMergeBlocks()
975 maxCommonTailLength, commonTailIndex)) { in TryTailMergeBlocks()
981 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in TryTailMergeBlocks()
988 mergeCommonTails(commonTailIndex); in TryTailMergeBlocks()
995 if (commonTailIndex == i) in TryTailMergeBlocks()