Lines Matching refs:UserChain
305 SmallVector<User *, 8> UserChain; member in __anond68328e80111::ConstantOffsetExtractor
566 UserChain.push_back(U); in find()
590 distributeExtsAndCloneChain(UserChain.size() - 1); in rebuildWithoutConstOffset()
593 for (auto I = UserChain.begin(), E = UserChain.end(); I != E; ++I) { in rebuildWithoutConstOffset()
595 UserChain[NewSize] = *I; in rebuildWithoutConstOffset()
599 UserChain.resize(NewSize); in rebuildWithoutConstOffset()
600 return removeConstOffset(UserChain.size() - 1); in rebuildWithoutConstOffset()
605 User *U = UserChain[ChainIndex]; in distributeExtsAndCloneChain()
609 return UserChain[ChainIndex] = cast<ConstantInt>(applyExts(U)); in distributeExtsAndCloneChain()
616 UserChain[ChainIndex] = nullptr; in distributeExtsAndCloneChain()
623 unsigned OpNo = (BO->getOperand(0) == UserChain[ChainIndex - 1] ? 0 : 1); in distributeExtsAndCloneChain()
635 return UserChain[ChainIndex] = NewBO; in distributeExtsAndCloneChain()
640 assert(isa<ConstantInt>(UserChain[ChainIndex])); in removeConstOffset()
641 return ConstantInt::getNullValue(UserChain[ChainIndex]->getType()); in removeConstOffset()
644 BinaryOperator *BO = cast<BinaryOperator>(UserChain[ChainIndex]); in removeConstOffset()
650 unsigned OpNo = (BO->getOperand(0) == UserChain[ChainIndex - 1] ? 0 : 1); in removeConstOffset()
651 assert(BO->getOperand(OpNo) == UserChain[ChainIndex - 1]); in removeConstOffset()
704 UserChainTail = Extractor.UserChain.back(); in Extract()