Lines Matching refs:Store

207   StoreInst *Store = nullptr;  in findSafeStoreForStoreStrongContraction()  local
220 if (Store && SawRelease) in findSafeStoreForStoreStrongContraction()
243 if (Store) { in findSafeStoreForStoreStrongContraction()
262 Store = dyn_cast<StoreInst>(Inst); in findSafeStoreForStoreStrongContraction()
268 if (!Store || !Store->isSimple()) in findSafeStoreForStoreStrongContraction()
273 if (Store->getPointerOperand()->stripPointerCasts() == LocPtr) in findSafeStoreForStoreStrongContraction()
282 if (!Store || !SawRelease) in findSafeStoreForStoreStrongContraction()
286 return Store; in findSafeStoreForStoreStrongContraction()
290 findRetainForStoreStrongContraction(Value *New, StoreInst *Store, in findRetainForStoreStrongContraction() argument
294 BasicBlock::iterator I = Store->getIterator(); in findRetainForStoreStrongContraction()
295 BasicBlock::iterator Begin = Store->getParent()->begin(); in findRetainForStoreStrongContraction()
374 StoreInst *Store = in tryToContractReleaseIntoStoreStrong() local
377 if (!Store) in tryToContractReleaseIntoStoreStrong()
381 Value *New = GetRCIdentityRoot(Store->getValueOperand()); in tryToContractReleaseIntoStoreStrong()
386 findRetainForStoreStrongContraction(New, Store, Release, PA); in tryToContractReleaseIntoStoreStrong()
398 << " Store: " << *Store << "\n" in tryToContractReleaseIntoStoreStrong()
409 Args[0] = new BitCastInst(Args[0], I8XX, "", Store); in tryToContractReleaseIntoStoreStrong()
411 Args[1] = new BitCastInst(Args[1], I8X, "", Store); in tryToContractReleaseIntoStoreStrong()
413 CallInst *StoreStrong = createCallInst(Decl, Args, "", Store, BlockColors); in tryToContractReleaseIntoStoreStrong()
415 StoreStrong->setDebugLoc(Store->getDebugLoc()); in tryToContractReleaseIntoStoreStrong()
426 if (&*Iter == Store) ++Iter; in tryToContractReleaseIntoStoreStrong()
427 Store->eraseFromParent(); in tryToContractReleaseIntoStoreStrong()