Home
last modified time | relevance | path

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

/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp126 GetElementPtrInst *NewGEPI = GetElementPtrInst::Create( in hoistAddrSpaceCastFromGEP() local
129 NewGEPI->setIsInBounds(GEP->isInBounds()); in hoistAddrSpaceCastFromGEP()
131 new AddrSpaceCastInst(NewGEPI, GEP->getType(), "", GEPI)); in hoistAddrSpaceCastFromGEP()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp663 Instruction *NewGEPI = GEPI->clone(); in replaceGEPIdxWithZero() local
664 NewGEPI->setOperand(Idx, in replaceGEPIdxWithZero()
666 NewGEPI->insertBefore(GEPI); in replaceGEPIdxWithZero()
667 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero()
668 return NewGEPI; in replaceGEPIdxWithZero()
695 if (Instruction *NewGEPI = replaceGEPIdxWithZero(*this, Op, LI)) { in visitLoadInst() local
696 Worklist.Add(NewGEPI); in visitLoadInst()
901 if (Instruction *NewGEPI = replaceGEPIdxWithZero(*this, Ptr, SI)) { in visitStoreInst() local
902 Worklist.Add(NewGEPI); in visitStoreInst()
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp456 if (GetElementPtrInst *NewGEPI = dyn_cast<GetElementPtrInst>(Res[I])) in visitGetElementPtrInst() local
457 NewGEPI->setIsInBounds(); in visitGetElementPtrInst()