Lines Matching refs:ChainIdx
2640 unsigned ChainIdx = 0, NChains = IVChainVec.size(); in ChainInstruction() local
2642 for (; ChainIdx < NChains; ++ChainIdx) { in ChainInstruction()
2643 IVChain &Chain = IVChainVec[ChainIdx]; in ChainInstruction()
2673 if (ChainIdx == NChains) { in ChainInstruction()
2690 DEBUG(dbgs() << "IV Chain#" << ChainIdx << " Head: (" << *UserInst in ChainInstruction()
2693 DEBUG(dbgs() << "IV Chain#" << ChainIdx << " Inc: (" << *UserInst in ChainInstruction()
2696 IVChainVec[ChainIdx].add(IVInc(UserInst, IVOper, LastIncExpr)); in ChainInstruction()
2698 IVChain &Chain = IVChainVec[ChainIdx]; in ChainInstruction()
2700 SmallPtrSet<Instruction*,4> &NearUsers = ChainUsersVec[ChainIdx].NearUsers; in ChainInstruction()
2703 ChainUsersVec[ChainIdx].FarUsers.insert(NearUsers.begin(), in ChainInstruction()
2738 ChainUsersVec[ChainIdx].FarUsers.erase(UserInst); in ChainInstruction()
2792 for (unsigned ChainIdx = 0, NChains = IVChainVec.size(); in CollectChains() local
2793 ChainIdx < NChains; ++ChainIdx) { in CollectChains()
2794 ChainUsersVec[ChainIdx].NearUsers.erase(I); in CollectChains()
2820 unsigned ChainIdx = 0; in CollectChains() local
2827 if (ChainIdx != UsersIdx) in CollectChains()
2828 IVChainVec[ChainIdx] = IVChainVec[UsersIdx]; in CollectChains()
2829 FinalizeChain(IVChainVec[ChainIdx]); in CollectChains()
2830 ++ChainIdx; in CollectChains()
2832 IVChainVec.resize(ChainIdx); in CollectChains()