Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Repl

1353   // where we have a value available in repl, also keep track of whether we see
1739 static void patchReplacementInstruction(Instruction *I, Value *Repl) {
1740 auto *ReplInst = dyn_cast<Instruction>(Repl);
1765 static void patchAndReplaceAllUsesWith(Instruction *I, Value *Repl) {
1766 patchReplacementInstruction(I, Repl);
1767 I->replaceAllUsesWith(Repl);
2167 Value *Repl = findLeader(I->getParent(), Num);
2168 if (!Repl) {
2172 } else if (Repl == I) {
2179 patchAndReplaceAllUsesWith(I, Repl);
2180 if (MD && Repl->getType()->getScalarType()->isPointerTy())
2181 MD->invalidateCachedPointerInfo(Repl);