Searched refs:FirstGEP (Results 1 – 1 of 1) sorted by relevance
827 GetElementPtrInst *FirstGEP = dyn_cast<GetElementPtrInst>(FirstResult); in lowerToSingleIndexGEPs() local829 if (isSwapCandidate && isLegalToSwapOperand(FirstGEP, SecondGEP, L)) in lowerToSingleIndexGEPs()830 swapGEPOperand(FirstGEP, SecondGEP); in lowerToSingleIndexGEPs()1178 GetElementPtrInst *FirstGEP, GetElementPtrInst *SecondGEP, Loop *CurLoop) { in isLegalToSwapOperand() argument1179 if (!FirstGEP || !FirstGEP->hasOneUse()) in isLegalToSwapOperand()1182 if (!SecondGEP || FirstGEP->getParent() != SecondGEP->getParent()) in isLegalToSwapOperand()1185 if (FirstGEP == SecondGEP) in isLegalToSwapOperand()1188 unsigned FirstNum = FirstGEP->getNumOperands(); in isLegalToSwapOperand()1194 Value *FirstBase = FirstGEP->getOperand(0); in isLegalToSwapOperand()1196 Value *FirstOffset = FirstGEP->getOperand(1); in isLegalToSwapOperand()