Lines Matching refs:StoreInst
71 } else if (const StoreInst *SI = dyn_cast<StoreInst>(U)) { in isAllocaPromotable()
109 StoreInst *OnlyStore;
135 if (StoreInst *SI = dyn_cast<StoreInst>(User)) { in AnalyzeAlloca()
190 (isa<StoreInst>(I) && isa<AllocaInst>(I->getOperand(1))); in isInterestingInstruction()
318 if (isa<LoadInst>(I) || isa<StoreInst>(I)) in removeIntrinsicUsers()
357 StoreInst *OnlyStore = Info.OnlyStore; in rewriteSingleStoreAlloca()
466 using StoresByIndexTy = SmallVector<std::pair<unsigned, StoreInst *>, 64>; in promoteSingleBlockAlloca()
470 if (StoreInst *SI = dyn_cast<StoreInst>(U)) in promoteSingleBlockAlloca()
489 std::make_pair(LoadIdx, static_cast<StoreInst *>(nullptr)), in promoteSingleBlockAlloca()
524 StoreInst *SI = cast<StoreInst>(AI->user_back()); in promoteSingleBlockAlloca()
807 if (StoreInst *SI = dyn_cast<StoreInst>(I)) { in ComputeLiveInBlocks()
970 } else if (StoreInst *SI = dyn_cast<StoreInst>(I)) { in RenamePass()