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()1300 GetElementPtrInst *FirstGEP, GetElementPtrInst *SecondGEP, Loop *CurLoop) { in isLegalToSwapOperand() argument1304 if (!SecondGEP || FirstGEP->getParent() != SecondGEP->getParent()) in isLegalToSwapOperand()1307 if (FirstGEP == SecondGEP) in isLegalToSwapOperand()1311 unsigned SecondNum = SecondGEP->getNumOperands(); in isLegalToSwapOperand()1317 Value *SecondBase = SecondGEP->getOperand(0); in isLegalToSwapOperand()