Lines Matching refs:GetElementPtrInst
94 if (auto *GEP = dyn_cast<GetElementPtrInst>(I)) { in isOnlyCopiedFromConstantMemory()
335 } else if (isa<GetElementPtrInst, BitCastInst>(Inst)) { in collectUsersRecursive()
382 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(I)) { in replace()
388 GetElementPtrInst::Create(GEP->getSourceElementType(), V, Indices); in replace()
892 GetElementPtrInst *GEPI, Instruction *MemI, in canReplaceGEPIdxWithZero()
899 auto FirstNZIdx = [](const GetElementPtrInst *GEPI) { in canReplaceGEPIdxWithZero()
928 Type *AllocTy = GetElementPtrInst::getIndexedType(SourceElementType, Ops); in canReplaceGEPIdxWithZero()
968 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) { in replaceGEPIdxWithZero()
987 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) in canSimplifyNullStoreOrGEP()
994 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) { in canSimplifyNullLoadOrGEP()
1347 isa<GetElementPtrInst>(A)) in equivalentAddressValues()
1389 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) { in visitStoreInst()