Lines Matching defs:Store
198 StoreInst *Store = nullptr;
211 if (Store && SawRelease)
227 if (Store) {
230 // instruction in between Store and the Release conservatively can not use
256 Store = dyn_cast<StoreInst>(Inst);
262 if (!Store || !Store->isSimple())
266 // found our Store!
267 if (Store->getPointerOperand()->stripPointerCasts() == LocPtr)
276 if (!Store || !SawRelease)
280 return Store;
284 findRetainForStoreStrongContraction(Value *New, StoreInst *Store,
287 // Walk up from the Store to find the retain.
288 BasicBlock::iterator I = Store->getIterator();
289 BasicBlock::iterator Begin = Store->getParent()->begin();
324 /// ; Store the new_value into old_ptr
350 StoreInst *Store =
353 if (!Store)
357 Value *New = GetRCIdentityRoot(Store->getValueOperand());
362 findRetainForStoreStrongContraction(New, Store, Release, PA);
374 << " Store: " << *Store << "\n"
385 Args[0] = new BitCastInst(Args[0], I8XX, "", Store->getIterator());
387 Args[1] = new BitCastInst(Args[1], I8X, "", Store->getIterator());
390 Decl, Args, "", Store->getIterator(), BlockColors);
392 StoreStrong->setDebugLoc(Store->getDebugLoc());
399 LLVM_DEBUG(llvm::dbgs() << " New Store Strong: " << *StoreStrong
403 if (&*Iter == Store) ++Iter;
404 Store->eraseFromParent();