Searched refs:SecondGEP (Results 1 – 1 of 1) sorted by relevance
916 auto *SecondGEP = dyn_cast<GetElementPtrInst>(ResultPtr); in lowerToSingleIndexGEPs() local917 if (isSwapCandidate && isLegalToSwapOperand(FirstGEP, SecondGEP, L)) in lowerToSingleIndexGEPs()918 swapGEPOperand(FirstGEP, SecondGEP); in lowerToSingleIndexGEPs()1250 GetElementPtrInst *FirstGEP, GetElementPtrInst *SecondGEP, Loop *CurLoop) { in isLegalToSwapOperand() argument1254 if (!SecondGEP || FirstGEP->getParent() != SecondGEP->getParent()) in isLegalToSwapOperand()1257 if (FirstGEP == SecondGEP) in isLegalToSwapOperand()1261 unsigned SecondNum = SecondGEP->getNumOperands(); in isLegalToSwapOperand()1267 Value *SecondBase = SecondGEP->getOperand(0); in isLegalToSwapOperand()