Searched refs:SecondGEP (Results 1 – 1 of 1) sorted by relevance
946 auto *SecondGEP = dyn_cast<GetElementPtrInst>(ResultPtr); in lowerToSingleIndexGEPs() local947 if (isSwapCandidate && isLegalToSwapOperand(FirstGEP, SecondGEP, L)) in lowerToSingleIndexGEPs()948 swapGEPOperand(FirstGEP, SecondGEP); in lowerToSingleIndexGEPs()1361 GetElementPtrInst *FirstGEP, GetElementPtrInst *SecondGEP, Loop *CurLoop) { in isLegalToSwapOperand() argument1365 if (!SecondGEP || FirstGEP->getParent() != SecondGEP->getParent()) in isLegalToSwapOperand()1368 if (FirstGEP == SecondGEP) in isLegalToSwapOperand()1372 unsigned SecondNum = SecondGEP->getNumOperands(); in isLegalToSwapOperand()1378 Value *SecondBase = SecondGEP->getOperand(0); in isLegalToSwapOperand()