Lines Matching refs:eraseFromParent

172         SI->eraseFromParent();  in CleanupPointerRootUsers()
180 MSI->eraseFromParent(); in CleanupPointerRootUsers()
189 MTI->eraseFromParent(); in CleanupPointerRootUsers()
212 Dead[i].second->eraseFromParent(); in CleanupPointerRootUsers()
220 I->eraseFromParent(); in CleanupPointerRootUsers()
223 I->eraseFromParent(); in CleanupPointerRootUsers()
253 LI->eraseFromParent(); in CleanupConstantGlobalUsers()
258 SI->eraseFromParent(); in CleanupConstantGlobalUsers()
297 GEP->eraseFromParent(); in CleanupConstantGlobalUsers()
302 MI->eraseFromParent(); in CleanupConstantGlobalUsers()
556 GEPI->eraseFromParent(); in SRAGlobal()
677 CI->eraseFromParent(); in OptimizeAwayTrappingUsesOfValue()
694 GEPI->eraseFromParent(); in OptimizeAwayTrappingUsesOfValue()
723 LI->eraseFromParent(); in OptimizeAwayTrappingUsesOfLoads()
762 GV->eraseFromParent(); in OptimizeAwayTrappingUsesOfLoads()
782 I->eraseFromParent(); in ConstantPropUsersOf()
820 BCI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
850 SI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
888 ICI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
890 LI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
896 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
902 GV->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
903 CI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
973 SI->eraseFromParent(); in ReplaceUsesOfMallocWithGlobal()
983 U->eraseFromParent(); in ReplaceUsesOfMallocWithGlobal()
994 GEPI->eraseFromParent(); in ReplaceUsesOfMallocWithGlobal()
1165 SCI->eraseFromParent(); in RewriteHeapSROALoadUser()
1187 GEPI->eraseFromParent(); in RewriteHeapSROALoadUser()
1222 Load->eraseFromParent(); in RewriteUsesOfLoadForHeapSRoA()
1310 OrigBB->getTerminator()->eraseFromParent(); in PerformHeapAllocSRoA()
1338 CI->eraseFromParent(); in PerformHeapAllocSRoA()
1370 SI->eraseFromParent(); in PerformHeapAllocSRoA()
1405 PN->eraseFromParent(); in PerformHeapAllocSRoA()
1407 LI->eraseFromParent(); in PerformHeapAllocSRoA()
1411 GV->eraseFromParent(); in PerformHeapAllocSRoA()
1500 CI->eraseFromParent(); in tryToOptimizeStoreOfMallocToGlobal()
1640 UI->eraseFromParent(); in TryToShrinkGlobalToBoolean()
1646 GV->eraseFromParent(); in TryToShrinkGlobalToBoolean()
1670 GV.eraseFromParent(); in deleteIfDead()
1844 GV->eraseFromParent(); in processInternalGlobal()
1866 GV->eraseFromParent(); in processInternalGlobal()
1884 GV->eraseFromParent(); in processInternalGlobal()
1913 GV->eraseFromParent(); in processInternalGlobal()
2195 V.eraseFromParent(); in setUsedInitializer()
2502 CI->eraseFromParent(); in OptimizeEmptyGlobalCXXDtors()