reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineSelect.cpp
 1737   if (!match(Sel.getTrueValue(), m_Constant(C)) &&
 1738       !match(Sel.getFalseValue(), m_Constant(C)))
 1742   if (!match(Sel.getTrueValue(), m_Instruction(ExtInst)) &&
 1743       !match(Sel.getFalseValue(), m_Instruction(ExtInst)))
 1754   Value *Cond = Sel.getCondition();
 1762   Type *SelType = Sel.getType();
 1767     if (ExtInst == Sel.getFalseValue())
 1772     Value *NewSel = Builder.CreateSelect(Cond, X, TruncCVal, "narrow", &Sel);
 1779     if (ExtInst == Sel.getTrueValue()) {
 1784       return SelectInst::Create(Cond, AllOnesOrOne, C, "", nullptr, &Sel);
 1789       return SelectInst::Create(Cond, C, Zero, "", nullptr, &Sel);