Lines Matching refs:GetElementPtrInst
71 if (auto *GEP = dyn_cast<GetElementPtrInst>(I)) { in isOnlyCopiedFromConstantMemory()
202 Instruction *NewI = GetElementPtrInst::CreateInBounds( in simplifyAllocaArraySize()
269 } else if (isa<GetElementPtrInst>(Inst) || isa<BitCastInst>(Inst)) { in collectUsers()
306 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(I)) { in replace()
311 auto *NewI = GetElementPtrInst::Create( in replace()
832 GetElementPtrInst *GEPI, Instruction *MemI, in canReplaceGEPIdxWithZero()
839 auto FirstNZIdx = [](const GetElementPtrInst *GEPI) { in canReplaceGEPIdxWithZero()
868 Type *AllocTy = GetElementPtrInst::getIndexedType(SourceElementType, Ops); in canReplaceGEPIdxWithZero()
909 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) { in replaceGEPIdxWithZero()
929 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) in canSimplifyNullStoreOrGEP()
936 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) { in canSimplifyNullLoadOrGEP()
1291 isa<GetElementPtrInst>(A)) in equivalentAddressValues()
1388 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) { in visitStoreInst()