Searched refs:SecondGEP (Results 1 – 1 of 1) sorted by relevance
828 GetElementPtrInst *SecondGEP = dyn_cast<GetElementPtrInst>(ResultPtr); 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() argument1182 if (!SecondGEP || FirstGEP->getParent() != SecondGEP->getParent()) in isLegalToSwapOperand()1185 if (FirstGEP == SecondGEP) in isLegalToSwapOperand()1189 unsigned SecondNum = SecondGEP->getNumOperands(); in isLegalToSwapOperand()1195 Value *SecondBase = SecondGEP->getOperand(0); in isLegalToSwapOperand()