Lines Matching refs:Load
203 static StoreInst *findSafeStoreForStoreStrongContraction(LoadInst *Load, in findSafeStoreForStoreStrongContraction() argument
211 MemoryLocation Loc = MemoryLocation::get(Load); in findSafeStoreForStoreStrongContraction()
215 for (auto I = std::next(BasicBlock::iterator(Load)), in findSafeStoreForStoreStrongContraction()
216 E = Load->getParent()->end(); in findSafeStoreForStoreStrongContraction()
249 if (!CanUse(Inst, Load, PA, Class)) { in findSafeStoreForStoreStrongContraction()
363 auto *Load = dyn_cast<LoadInst>(GetArgRCIdentityRoot(Release)); in tryToContractReleaseIntoStoreStrong() local
364 if (!Load || !Load->isSimple()) in tryToContractReleaseIntoStoreStrong()
369 if (Load->getParent() != BB) in tryToContractReleaseIntoStoreStrong()
375 findSafeStoreForStoreStrongContraction(Load, Release, PA, AA); in tryToContractReleaseIntoStoreStrong()
401 << " Load: " << *Load << "\n"); in tryToContractReleaseIntoStoreStrong()
407 Value *Args[] = { Load->getPointerOperand(), New }; in tryToContractReleaseIntoStoreStrong()
430 if (Load->use_empty()) in tryToContractReleaseIntoStoreStrong()
431 Load->eraseFromParent(); in tryToContractReleaseIntoStoreStrong()