Home
last modified time | relevance | path

Searched refs:ChainIndex (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp304 Value *distributeExtsAndCloneChain(unsigned ChainIndex);
307 Value *removeConstOffset(unsigned ChainIndex);
681 User *U = UserChain[ChainIndex]; in distributeExtsAndCloneChain()
682 if (ChainIndex == 0) { in distributeExtsAndCloneChain()
693 UserChain[ChainIndex] = nullptr; in distributeExtsAndCloneChain()
694 return distributeExtsAndCloneChain(ChainIndex - 1); in distributeExtsAndCloneChain()
712 return UserChain[ChainIndex] = NewBO; in distributeExtsAndCloneChain()
716 if (ChainIndex == 0) { in removeConstOffset()
717 assert(isa<ConstantInt>(UserChain[ChainIndex])); in removeConstOffset()
728 assert(BO->getOperand(OpNo) == UserChain[ChainIndex - 1]); in removeConstOffset()
[all …]