• Home
  • Raw
  • Download

Lines Matching refs:StoreInst

168     if (StoreInst *SI = dyn_cast<StoreInst>(U)) {  in CleanupPointerRootUsers()
256 } else if (StoreInst *SI = dyn_cast<StoreInst>(U)) { in CleanupConstantGlobalUsers()
333 if (StoreInst *SI = dyn_cast<StoreInst>(I)) in isSafeSROAElementUse()
586 } else if (const StoreInst *SI = dyn_cast<StoreInst>(U)) { in AllUsesOfValueWillTrapIfNull()
630 } else if (isa<StoreInst>(U)) { in AllUsesOfLoadedValueWillTrapIfNull()
647 } else if (StoreInst *SI = dyn_cast<StoreInst>(I)) { in OptimizeAwayTrappingUsesOfValue()
728 } else if (isa<StoreInst>(GlobalUser)) { in OptimizeAwayTrappingUsesOfLoads()
846 if (StoreInst *SI = dyn_cast<StoreInst>(GV->user_back())) { in OptimizeGlobalAddressOfMalloc()
848 new StoreInst(ConstantInt::getTrue(GV->getContext()), InitBool, false, 0, in OptimizeGlobalAddressOfMalloc()
896 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
928 if (const StoreInst *SI = dyn_cast<StoreInst>(Inst)) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal()
970 if (StoreInst *SI = dyn_cast<StoreInst>(U)) { in ReplaceUsesOfMallocWithGlobal()
989 if (StoreInst *SI = dyn_cast<StoreInst>(GEPI->user_back())) in ReplaceUsesOfMallocWithGlobal()
1271 new StoreInst(NMI, NGV, CI); in PerformHeapAllocSRoA()
1328 new StoreInst(Constant::getNullValue(GVVal->getType()), FieldGlobals[i], in PerformHeapAllocSRoA()
1359 StoreInst *SI = cast<StoreInst>(User); in PerformHeapAllocSRoA()
1367 new StoreInst(Null, FieldGlobals[i], SI); in PerformHeapAllocSRoA()
1568 if (!isa<LoadInst>(U) && !isa<StoreInst>(U)) in TryToShrinkGlobalToBoolean()
1596 if (StoreInst *SI = dyn_cast<StoreInst>(UI)) { in TryToShrinkGlobalToBoolean()
1625 new StoreInst(StoreVal, NewGV, false, 0, in TryToShrinkGlobalToBoolean()
1690 SmallVector<StoreInst *, 4> Stores; in isPointerValueDeadOnEntryToFunction()
1696 else if (auto *SI = dyn_cast<StoreInst>(UU)) in isPointerValueDeadOnEntryToFunction()
1711 else if (auto *SI = dyn_cast<StoreInst>(I)) in isPointerValueDeadOnEntryToFunction()
1738 if (!std::any_of(Stores.begin(), Stores.end(), [&](StoreInst *S) { in isPointerValueDeadOnEntryToFunction()
1839 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in processInternalGlobal()