reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3592 BasicBlock *BB = ICI->getParent(); 3596 if (isa<PHINode>(BB->begin()) || !ICI->hasOneUse()) 3599 Value *V = ICI->getOperand(0); 3600 ConstantInt *Cst = cast<ConstantInt>(ICI->getOperand(1)); 3619 ICI->setOperand(0, VVal); 3621 if (Value *V = SimplifyInstruction(ICI, {DL, ICI})) { 3621 if (Value *V = SimplifyInstruction(ICI, {DL, ICI})) { 3622 ICI->replaceAllUsesWith(V); 3623 ICI->eraseFromParent(); 3634 if (ICI->getPredicate() == ICmpInst::ICMP_EQ) 3639 ICI->replaceAllUsesWith(V); 3640 ICI->eraseFromParent(); 3648 PHINode *PHIUse = dyn_cast<PHINode>(ICI->user_back()); 3658 if (ICI->getPredicate() == ICmpInst::ICMP_EQ) 3663 ICI->replaceAllUsesWith(DefaultCst); 3664 ICI->eraseFromParent();