Lines Matching refs:Load
194 static StoreInst *findSafeStoreForStoreStrongContraction(LoadInst *Load, in findSafeStoreForStoreStrongContraction() argument
202 MemoryLocation Loc = MemoryLocation::get(Load); in findSafeStoreForStoreStrongContraction()
206 for (auto I = std::next(BasicBlock::iterator(Load)), in findSafeStoreForStoreStrongContraction()
207 E = Load->getParent()->end(); in findSafeStoreForStoreStrongContraction()
233 if (!CanUse(Inst, Load, PA, Class)) { in findSafeStoreForStoreStrongContraction()
339 auto *Load = dyn_cast<LoadInst>(GetArgRCIdentityRoot(Release)); in tryToContractReleaseIntoStoreStrong() local
340 if (!Load || !Load->isSimple()) in tryToContractReleaseIntoStoreStrong()
345 if (Load->getParent() != BB) in tryToContractReleaseIntoStoreStrong()
351 findSafeStoreForStoreStrongContraction(Load, Release, PA, AA); in tryToContractReleaseIntoStoreStrong()
377 << " Load: " << *Load << "\n"); in tryToContractReleaseIntoStoreStrong()
383 Value *Args[] = { Load->getPointerOperand(), New }; in tryToContractReleaseIntoStoreStrong()
407 if (Load->use_empty()) in tryToContractReleaseIntoStoreStrong()
408 Load->eraseFromParent(); in tryToContractReleaseIntoStoreStrong()