Lines Matching refs:Load
224 LoadInst *Load) { in makeGEPAndLoad() argument
226 fillCommonArgs(M->getContext(), Args, GEP, Load); in makeGEPAndLoad()
228 {Load->getType()}, Args); in makeGEPAndLoad()
230 Call->applyMergedLocation(mergeDILocations(GEP.Members), Load->getDebugLoc()); in makeGEPAndLoad()
232 if (Load->isUnordered()) { in makeGEPAndLoad()
239 Call->setAAMetadata(Load->getAAMetadata()); in makeGEPAndLoad()
306 auto *Load = new LoadInst(ReturnType, GEP, "", in reconstructLoad() local
309 reconstructCommon(Call, GEP, Load, 0); in reconstructLoad()
310 return std::pair{GEP, Load}; in reconstructLoad()
422 if (auto *Load = dyn_cast<LoadInst>(LoadOrStoreTemplate)) { in tryToReplaceWithGEPBuiltin() local
423 Instruction *Replacement = makeGEPAndLoad(M, GEPChain, Load); in tryToReplaceWithGEPBuiltin()
526 auto [GEP, Load] = in rewriteAccessChain()
529 TryToReplace(Load); in rewriteAccessChain()
531 delete Load; in rewriteAccessChain()