reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
126 if (S->getType()->isVectorTy()) return false; 127 if (isa<Constant>(S->getOperand(0))) return false; 129 Constant *C = LVI->getConstant(S->getCondition(), S->getParent(), S); 129 Constant *C = LVI->getConstant(S->getCondition(), S->getParent(), S); 129 Constant *C = LVI->getConstant(S->getCondition(), S->getParent(), S); 135 Value *ReplaceWith = S->getTrueValue(); 136 Value *Other = S->getFalseValue(); 138 if (ReplaceWith == S) ReplaceWith = UndefValue::get(S->getType()); 138 if (ReplaceWith == S) ReplaceWith = UndefValue::get(S->getType()); 140 S->replaceAllUsesWith(ReplaceWith); 141 S->eraseFromParent();