ΒΆunsigned int replaceDominatedUsesWith(
llvm::Value* From,
llvm::Value* To,
llvm::DominatorTree& DT,
const llvm::BasicBlock* BB)
unsigned int replaceDominatedUsesWith(
llvm::Value* From,
llvm::Value* To,
llvm::DominatorTree& DT,
const llvm::BasicBlock* BB)
Description
Replace each use of 'From' with 'To' if that use is dominated by the end of the given BasicBlock. Returns the number of replacements made.
Declared at: llvm/include/llvm/Transforms/Utils/Local.h:458
Parameters
- llvm::Value* From
- llvm::Value* To
- llvm::DominatorTree& DT
- const llvm::BasicBlock* BB