Searched refs:FirstGEP (Results 1 – 1 of 1) sorted by relevance
915 auto *FirstGEP = dyn_cast_or_null<GetElementPtrInst>(FirstResult); 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() argument1301 if (!FirstGEP || !FirstGEP->hasOneUse()) in isLegalToSwapOperand()1304 if (!SecondGEP || FirstGEP->getParent() != SecondGEP->getParent()) in isLegalToSwapOperand()1307 if (FirstGEP == SecondGEP) in isLegalToSwapOperand()1310 unsigned FirstNum = FirstGEP->getNumOperands(); in isLegalToSwapOperand()1316 Value *FirstBase = FirstGEP->getOperand(0); in isLegalToSwapOperand()1318 Value *FirstOffset = FirstGEP->getOperand(1); in isLegalToSwapOperand()