Lines Matching refs:Load
225 LoadInst *Load) { in makeGEPAndLoad() argument
227 fillCommonArgs(M->getContext(), Args, GEP, Load); in makeGEPAndLoad()
229 {Load->getType()}, Args); in makeGEPAndLoad()
231 Call->applyMergedLocation(mergeDILocations(GEP.Members), Load->getDebugLoc()); in makeGEPAndLoad()
233 if (Load->isUnordered()) { in makeGEPAndLoad()
240 Call->setAAMetadata(Load->getAAMetadata()); in makeGEPAndLoad()
307 auto *Load = new LoadInst(ReturnType, GEP, "", in reconstructLoad() local
310 reconstructCommon(Call, GEP, Load, 0); in reconstructLoad()
311 return std::pair{GEP, Load}; in reconstructLoad()
423 if (auto *Load = dyn_cast<LoadInst>(LoadOrStoreTemplate)) { in tryToReplaceWithGEPBuiltin() local
424 Instruction *Replacement = makeGEPAndLoad(M, GEPChain, Load); in tryToReplaceWithGEPBuiltin()
527 auto [GEP, Load] = in rewriteAccessChain()
530 TryToReplace(Load); in rewriteAccessChain()
532 delete Load; in rewriteAccessChain()