Lines Matching refs:Repl
1848 static void patchReplacementInstruction(Instruction *I, Value *Repl) {
1852 BinaryOperator *ReplOp = dyn_cast<BinaryOperator>(Repl);
1856 if (Instruction *ReplInst = dyn_cast<Instruction>(Repl)) {
1875 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) {
1876 patchReplacementInstruction(I, Repl);
1877 I->replaceAllUsesWith(Repl);
2405 Value *Repl = findLeader(I->getParent(), Num);
2406 if (!Repl) {
2410 } else if (Repl == I) {
2417 patchAndReplaceAllUsesWith(I, Repl);
2418 if (MD && Repl->getType()->getScalarType()->isPointerTy())
2419 MD->invalidateCachedPointerInfo(Repl);