reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
629 IRBuilder<> IRB(I); 630 if (LoadInst *LI = dyn_cast<LoadInst>(I)) { 644 I->replaceAllUsesWith(Cast); 645 } else if (StoreInst *SI = dyn_cast<StoreInst>(I)) { 658 ReplaceInstWithInst(I, C); 659 } else if (AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(I)) { 675 ReplaceInstWithInst(I, C); 676 } else if (AtomicCmpXchgInst *CASI = dyn_cast<AtomicCmpXchgInst>(I)) { 707 I->replaceAllUsesWith(Res); 708 I->eraseFromParent(); 709 } else if (FenceInst *FI = dyn_cast<FenceInst>(I)) { 715 ReplaceInstWithInst(I, C);