Lines Matching refs:Store
198 StoreInst *Store = nullptr; in findSafeStoreForStoreStrongContraction() local
211 if (Store && SawRelease) in findSafeStoreForStoreStrongContraction()
227 if (Store) { in findSafeStoreForStoreStrongContraction()
256 Store = dyn_cast<StoreInst>(Inst); in findSafeStoreForStoreStrongContraction()
262 if (!Store || !Store->isSimple()) in findSafeStoreForStoreStrongContraction()
267 if (Store->getPointerOperand()->stripPointerCasts() == LocPtr) in findSafeStoreForStoreStrongContraction()
276 if (!Store || !SawRelease) in findSafeStoreForStoreStrongContraction()
280 return Store; in findSafeStoreForStoreStrongContraction()
284 findRetainForStoreStrongContraction(Value *New, StoreInst *Store, in findRetainForStoreStrongContraction() argument
288 BasicBlock::iterator I = Store->getIterator(); in findRetainForStoreStrongContraction()
289 BasicBlock::iterator Begin = Store->getParent()->begin(); in findRetainForStoreStrongContraction()
350 StoreInst *Store = in tryToContractReleaseIntoStoreStrong() local
353 if (!Store) in tryToContractReleaseIntoStoreStrong()
357 Value *New = GetRCIdentityRoot(Store->getValueOperand()); in tryToContractReleaseIntoStoreStrong()
362 findRetainForStoreStrongContraction(New, Store, Release, PA); in tryToContractReleaseIntoStoreStrong()
374 << " Store: " << *Store << "\n" in tryToContractReleaseIntoStoreStrong()
385 Args[0] = new BitCastInst(Args[0], I8XX, "", Store->getIterator()); in tryToContractReleaseIntoStoreStrong()
387 Args[1] = new BitCastInst(Args[1], I8X, "", Store->getIterator()); in tryToContractReleaseIntoStoreStrong()
390 Decl, Args, "", Store->getIterator(), BlockColors); in tryToContractReleaseIntoStoreStrong()
392 StoreStrong->setDebugLoc(Store->getDebugLoc()); in tryToContractReleaseIntoStoreStrong()
403 if (&*Iter == Store) ++Iter; in tryToContractReleaseIntoStoreStrong()
404 Store->eraseFromParent(); in tryToContractReleaseIntoStoreStrong()