Lines Matching refs:Store

199   StoreInst *Store = nullptr;  in findSafeStoreForStoreStrongContraction()  local
211 if (Store && SawRelease) in findSafeStoreForStoreStrongContraction()
234 if (Store) { in findSafeStoreForStoreStrongContraction()
253 Store = dyn_cast<StoreInst>(Inst); in findSafeStoreForStoreStrongContraction()
259 if (!Store || !Store->isSimple()) in findSafeStoreForStoreStrongContraction()
264 if (Store->getPointerOperand() == Loc.Ptr) in findSafeStoreForStoreStrongContraction()
273 if (!Store || !SawRelease) in findSafeStoreForStoreStrongContraction()
277 return Store; in findSafeStoreForStoreStrongContraction()
281 findRetainForStoreStrongContraction(Value *New, StoreInst *Store, in findRetainForStoreStrongContraction() argument
285 BasicBlock::iterator I = Store; in findRetainForStoreStrongContraction()
286 BasicBlock::iterator Begin = Store->getParent()->begin(); in findRetainForStoreStrongContraction()
346 StoreInst *Store = in tryToContractReleaseIntoStoreStrong() local
349 if (!Store) in tryToContractReleaseIntoStoreStrong()
353 Value *New = GetRCIdentityRoot(Store->getValueOperand()); in tryToContractReleaseIntoStoreStrong()
358 findRetainForStoreStrongContraction(New, Store, Release, PA); in tryToContractReleaseIntoStoreStrong()
370 << " Store: " << *Store << "\n" in tryToContractReleaseIntoStoreStrong()
381 Args[0] = new BitCastInst(Args[0], I8XX, "", Store); in tryToContractReleaseIntoStoreStrong()
383 Args[1] = new BitCastInst(Args[1], I8X, "", Store); in tryToContractReleaseIntoStoreStrong()
385 CallInst *StoreStrong = CallInst::Create(Decl, Args, "", Store); in tryToContractReleaseIntoStoreStrong()
387 StoreStrong->setDebugLoc(Store->getDebugLoc()); in tryToContractReleaseIntoStoreStrong()
396 if (&*Iter == Store) ++Iter; in tryToContractReleaseIntoStoreStrong()
397 Store->eraseFromParent(); in tryToContractReleaseIntoStoreStrong()