Home
last modified time | relevance | path

Searched refs:SecondGEP (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp828 GetElementPtrInst *SecondGEP = dyn_cast<GetElementPtrInst>(ResultPtr); in lowerToSingleIndexGEPs() local
829 if (isSwapCandidate && isLegalToSwapOperand(FirstGEP, SecondGEP, L)) in lowerToSingleIndexGEPs()
830 swapGEPOperand(FirstGEP, SecondGEP); in lowerToSingleIndexGEPs()
1178 GetElementPtrInst *FirstGEP, GetElementPtrInst *SecondGEP, Loop *CurLoop) { in isLegalToSwapOperand() argument
1182 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()