Lines Matching defs:Store
199 StoreInst *Store = nullptr;
211 if (Store && SawRelease)
234 if (Store) {
237 // instruction in between Store and the Release conservatively can not use
253 Store = dyn_cast<StoreInst>(Inst);
259 if (!Store || !Store->isSimple())
263 // found our Store!
264 if (Store->getPointerOperand() == Loc.Ptr)
273 if (!Store || !SawRelease)
277 return Store;
281 findRetainForStoreStrongContraction(Value *New, StoreInst *Store,
284 // Walk up from the Store to find the retain.
285 BasicBlock::iterator I = Store;
286 BasicBlock::iterator Begin = Store->getParent()->begin();
321 /// ; Store the new_value into old_ptr
346 StoreInst *Store =
349 if (!Store)
353 Value *New = GetRCIdentityRoot(Store->getValueOperand());
358 findRetainForStoreStrongContraction(New, Store, Release, PA);
370 << " Store: " << *Store << "\n"
381 Args[0] = new BitCastInst(Args[0], I8XX, "", Store);
383 Args[1] = new BitCastInst(Args[1], I8X, "", Store);
385 CallInst *StoreStrong = CallInst::Create(Decl, Args, "", Store);
387 StoreStrong->setDebugLoc(Store->getDebugLoc());
394 DEBUG(llvm::dbgs() << " New Store Strong: " << *StoreStrong << "\n");
396 if (&*Iter == Store) ++Iter;
397 Store->eraseFromParent();