reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
5318 GEP->getResultElementType(), 5319 GEP->getAddressSpace())) { 5323 BaseGEP = GEP; 5330 LLVMContext &Ctx = GEP->getContext(); 5331 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); 5333 Type::getInt8PtrTy(Ctx, GEP->getType()->getPointerAddressSpace()); 5370 IRBuilder<> Builder(GEP); 5373 if (GEP->getType() != I8PtrTy) 5374 NewGEP = Builder.CreatePointerCast(NewGEP, GEP->getType()); 5380 if (GEP->getType() != I8PtrTy) 5381 NewGEP = Builder.CreatePointerCast(NewGEP, GEP->getType()); 5383 GEP->replaceAllUsesWith(NewGEP); 5384 LargeOffsetGEPID.erase(GEP); 5386 GEP->eraseFromParent();