Lines Matching defs:LI
472 if (LoadInst *LI = dyn_cast<LoadInst>(User)) { in CanConvertToScalar() local
627 if (LoadInst *LI = dyn_cast<LoadInst>(User)) { in ConvertUsesToScalar() local
1083 if (LoadInst *LI = dyn_cast<LoadInst>(I)) in isInstInList() local
1094 else if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) in updateDebugInfo() local
1110 } else if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) { in updateDebugInfo() local
1143 LoadInst *LI = dyn_cast<LoadInst>(*UI); in isSafeSelectToSpeculate() local
1184 LoadInst *LI = dyn_cast<LoadInst>(*UI); in isSafePHIToSpeculate() local
1246 if (LoadInst *LI = dyn_cast<LoadInst>(U)) { in tryToMakeAllocaBePromotable() local
1329 LoadInst *LI = cast<LoadInst>(SI->use_back()); in tryToMakeAllocaBePromotable() local
1376 LoadInst *LI = cast<LoadInst>(PN->use_back()); in tryToMakeAllocaBePromotable() local
1621 } else if (LoadInst *LI = dyn_cast<LoadInst>(User)) { in isSafeForScalarRepl() local
1680 } else if (LoadInst *LI = dyn_cast<LoadInst>(User)) { in isSafePHISelectUseForScalarRepl() local
1902 if (LoadInst *LI = dyn_cast<LoadInst>(User)) { in RewriteForScalarRepl() local
2446 SROA::RewriteLoadUserOfWholeAlloca(LoadInst *LI, AllocaInst *AI, in RewriteLoadUserOfWholeAlloca()