Searched refs:ReplVal (Results 1 – 2 of 2) sorted by relevance
385 Value *ReplVal = OnlyStore->getOperand(0); in rewriteSingleStoreAlloca() local388 if (ReplVal == LI) in rewriteSingleStoreAlloca()389 ReplVal = UndefValue::get(LI->getType()); in rewriteSingleStoreAlloca()390 LI->replaceAllUsesWith(ReplVal); in rewriteSingleStoreAlloca()
879 Value *ReplVal = OnlyStore->getOperand(0); in RewriteSingleStoreAlloca() local882 if (ReplVal == LI) in RewriteSingleStoreAlloca()883 ReplVal = UndefValue::get(LI->getType()); in RewriteSingleStoreAlloca()884 LI->replaceAllUsesWith(ReplVal); in RewriteSingleStoreAlloca()