Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp892 Instruction *NewGEPI = GEPI->clone(); in replaceGEPIdxWithZero() local
893 NewGEPI->setOperand(Idx, in replaceGEPIdxWithZero()
895 NewGEPI->insertBefore(GEPI); in replaceGEPIdxWithZero()
896 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero()
897 return NewGEPI; in replaceGEPIdxWithZero()
943 if (Instruction *NewGEPI = replaceGEPIdxWithZero(*this, Op, LI)) { in visitLoadInst() local
944 Worklist.push(NewGEPI); in visitLoadInst()
1350 if (Instruction *NewGEPI = replaceGEPIdxWithZero(*this, Ptr, SI)) { in visitStoreInst() local
1351 Worklist.push(NewGEPI); in visitStoreInst()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp717 if (GetElementPtrInst *NewGEPI = dyn_cast<GetElementPtrInst>(Res[I])) in visitGetElementPtrInst() local
718 NewGEPI->setIsInBounds(); in visitGetElementPtrInst()