Home
last modified time | relevance | path

Searched refs:ReplVal (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp404 Value *ReplVal = OnlyStore->getOperand(0); in rewriteSingleStoreAlloca() local
407 if (ReplVal == LI) in rewriteSingleStoreAlloca()
408 ReplVal = UndefValue::get(LI->getType()); in rewriteSingleStoreAlloca()
414 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in rewriteSingleStoreAlloca()
417 LI->replaceAllUsesWith(ReplVal); in rewriteSingleStoreAlloca()
508 Value *ReplVal = std::prev(I)->second->getOperand(0); in promoteSingleBlockAlloca() local
510 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in promoteSingleBlockAlloca()
515 if (ReplVal == LI) in promoteSingleBlockAlloca()
516 ReplVal = UndefValue::get(LI->getType()); in promoteSingleBlockAlloca()
518 LI->replaceAllUsesWith(ReplVal); in promoteSingleBlockAlloca()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp325 Value *ReplVal = Store.second->getValueOperand(); in runOnFunction() local
339 ValVec.emplace_back(OutArg, ReplVal); in runOnFunction()