Lines Matching refs:ChainIdx
2619 unsigned ChainIdx = 0, NChains = IVChainVec.size(); in ChainInstruction() local
2621 for (; ChainIdx < NChains; ++ChainIdx) { in ChainInstruction()
2622 IVChain &Chain = IVChainVec[ChainIdx]; in ChainInstruction()
2652 if (ChainIdx == NChains) { in ChainInstruction()
2669 DEBUG(dbgs() << "IV Chain#" << ChainIdx << " Head: (" << *UserInst in ChainInstruction()
2672 DEBUG(dbgs() << "IV Chain#" << ChainIdx << " Inc: (" << *UserInst in ChainInstruction()
2675 IVChainVec[ChainIdx].add(IVInc(UserInst, IVOper, LastIncExpr)); in ChainInstruction()
2677 IVChain &Chain = IVChainVec[ChainIdx]; in ChainInstruction()
2679 SmallPtrSet<Instruction*,4> &NearUsers = ChainUsersVec[ChainIdx].NearUsers; in ChainInstruction()
2682 ChainUsersVec[ChainIdx].FarUsers.insert(NearUsers.begin(), in ChainInstruction()
2717 ChainUsersVec[ChainIdx].FarUsers.erase(UserInst); in ChainInstruction()
2771 for (unsigned ChainIdx = 0, NChains = IVChainVec.size(); in CollectChains() local
2772 ChainIdx < NChains; ++ChainIdx) { in CollectChains()
2773 ChainUsersVec[ChainIdx].NearUsers.erase(&*I); in CollectChains()
2799 unsigned ChainIdx = 0; in CollectChains() local
2806 if (ChainIdx != UsersIdx) in CollectChains()
2807 IVChainVec[ChainIdx] = IVChainVec[UsersIdx]; in CollectChains()
2808 FinalizeChain(IVChainVec[ChainIdx]); in CollectChains()
2809 ++ChainIdx; in CollectChains()
2811 IVChainVec.resize(ChainIdx); in CollectChains()