Lines Matching refs:GetElementPtrInst
68 if (auto *GEP = dyn_cast<GetElementPtrInst>(I)) { in isOnlyCopiedFromConstantMemory()
200 Instruction *GEP = GetElementPtrInst::CreateInBounds( in simplifyAllocaArraySize()
259 } else if (isa<GetElementPtrInst>(Inst) || isa<BitCastInst>(Inst)) { in collectUsers()
296 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(I)) { in replace()
302 GetElementPtrInst::Create(GEP->getSourceElementType(), V, Indices); in replace()
812 GetElementPtrInst *GEPI, Instruction *MemI, in canReplaceGEPIdxWithZero()
819 auto FirstNZIdx = [](const GetElementPtrInst *GEPI) { in canReplaceGEPIdxWithZero()
848 Type *AllocTy = GetElementPtrInst::getIndexedType(SourceElementType, Ops); in canReplaceGEPIdxWithZero()
889 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) { in replaceGEPIdxWithZero()
909 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr)) in canSimplifyNullStoreOrGEP()
916 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) { in canSimplifyNullLoadOrGEP()
1267 isa<GetElementPtrInst>(A)) in equivalentAddressValues()
1364 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) { in visitStoreInst()