Lines Matching defs:Load
195 static StoreInst *findSafeStoreForStoreStrongContraction(LoadInst *Load,
202 // Get the location associated with Load.
203 MemoryLocation Loc = MemoryLocation::get(Load);
206 for (auto I = std::next(BasicBlock::iterator(Load)),
207 E = Load->getParent()->end();
240 if (!CanUse(Inst, Load, PA, Class)) {
312 /// ; Load old value.
335 auto *Load = dyn_cast<LoadInst>(GetArgRCIdentityRoot(Release));
336 if (!Load || !Load->isSimple())
341 if (Load->getParent() != BB)
344 // First scan down the BB from Load, looking for a store of the RCIdentityRoot
345 // of Load's
347 findSafeStoreForStoreStrongContraction(Load, Release, PA, AA);
373 << " Load: " << *Load << "\n");
379 Value *Args[] = { Load->getPointerOperand(), New };
400 if (Load->use_empty())
401 Load->eraseFromParent();