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