Lines Matching refs:ReplVal
398 Value *ReplVal = OnlyStore->getOperand(0); in rewriteSingleStoreAlloca() local
401 if (ReplVal == LI) in rewriteSingleStoreAlloca()
402 ReplVal = PoisonValue::get(LI->getType()); in rewriteSingleStoreAlloca()
408 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in rewriteSingleStoreAlloca()
411 LI->replaceAllUsesWith(ReplVal); in rewriteSingleStoreAlloca()
491 Value *ReplVal; in promoteSingleBlockAlloca() local
495 ReplVal = UndefValue::get(LI->getType()); in promoteSingleBlockAlloca()
503 ReplVal = std::prev(I)->second->getOperand(0); in promoteSingleBlockAlloca()
509 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in promoteSingleBlockAlloca()
514 if (ReplVal == LI) in promoteSingleBlockAlloca()
515 ReplVal = PoisonValue::get(LI->getType()); in promoteSingleBlockAlloca()
517 LI->replaceAllUsesWith(ReplVal); in promoteSingleBlockAlloca()