reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3301 if (Erased.find(I) != Erased.end() || I->use_empty() || 3301 if (Erased.find(I) != Erased.end() || I->use_empty() || 3302 !isa<Instruction>(I)) 3304 Type *OriginalTy = I->getType(); 3312 IRBuilder<> B(cast<Instruction>(I)); 3323 if (auto *BO = dyn_cast<BinaryOperator>(I)) { 3330 cast<BinaryOperator>(NewI)->copyIRFlags(I, /*IncludeWrapFlags=*/false); 3331 } else if (auto *CI = dyn_cast<ICmpInst>(I)) { 3335 } else if (auto *SI = dyn_cast<SelectInst>(I)) { 3339 } else if (auto *CI = dyn_cast<CastInst>(I)) { 3357 } else if (auto *SI = dyn_cast<ShuffleVectorInst>(I)) { 3366 } else if (isa<LoadInst>(I) || isa<PHINode>(I)) { 3366 } else if (isa<LoadInst>(I) || isa<PHINode>(I)) { 3369 } else if (auto *IE = dyn_cast<InsertElementInst>(I)) { 3375 } else if (auto *EE = dyn_cast<ExtractElementInst>(I)) { 3386 NewI->takeName(cast<Instruction>(I)); 3388 I->replaceAllUsesWith(Res); 3389 cast<Instruction>(I)->eraseFromParent(); 3390 Erased.insert(I);