Lines Matching refs:LoadInst
128 std::map<std::pair<Argument *, IndicesVector>, LoadInst *> OriginalLoads; in doPromotion()
165 if (LoadInst *L = dyn_cast<LoadInst>(UI)) in doPromotion()
187 LoadInst *OrigLoad; in doPromotion()
188 if (LoadInst *L = dyn_cast<LoadInst>(UI)) in doPromotion()
192 OrigLoad = cast<LoadInst>(UI->user_back()); in doPromotion()
288 LoadInst *OrigLoad = in doPromotion()
312 LoadInst *newLoad = in doPromotion()
429 if (LoadInst *LI = dyn_cast<LoadInst>(I->user_back())) { in doPromotion()
465 LoadInst *L = cast<LoadInst>(GEP->user_back()); in doPromotion()
623 if (LoadInst *LI = dyn_cast<LoadInst>(&I)) { in isSafeToPromoteArgument()
658 SmallVector<LoadInst *, 16> Loads; in isSafeToPromoteArgument()
663 if (LoadInst *LI = dyn_cast<LoadInst>(UR)) { in isSafeToPromoteArgument()
692 if (LoadInst *LI = dyn_cast<LoadInst>(GEPU)) { in isSafeToPromoteArgument()
740 for (LoadInst *Load : Loads) { in isSafeToPromoteArgument()
824 } else if (!isa<LoadInst>(V)) { in canPaddingBeAccessed()