Lines Matching defs:Load
197 static StoreInst *findSafeStoreForStoreStrongContraction(LoadInst *Load,
204 // Get the location associated with Load.
205 MemoryLocation Loc = MemoryLocation::get(Load);
209 for (auto I = std::next(BasicBlock::iterator(Load)),
210 E = Load->getParent()->end();
236 if (!CanUse(Inst, Load, PA, Class)) {
318 /// ; Load old value.
342 auto *Load = dyn_cast<LoadInst>(GetArgRCIdentityRoot(Release));
343 if (!Load || !Load->isSimple())
348 if (Load->getParent() != BB)
351 // First scan down the BB from Load, looking for a store of the RCIdentityRoot
352 // of Load's
354 findSafeStoreForStoreStrongContraction(Load, Release, PA, AA);
380 << " Load: " << *Load << "\n");
382 Value *Args[] = {Load->getPointerOperand(), New};
402 if (Load->use_empty())
403 Load->eraseFromParent();