Lines Matching defs:TCmp
143 static Value *handleOtherCmpSelSimplifications(Value *TCmp, Value *FCmp,
148 // is equal to "Cond && TCmp". This also catches the case when the false
153 if (match(FCmp, m_Zero()) && impliesPoison(TCmp, Cond))
154 if (Value *V = simplifyAndInst(Cond, TCmp, Q, MaxRecurse))
158 if (match(TCmp, m_One()) && impliesPoison(FCmp, Cond))
163 if (match(FCmp, m_One()) && match(TCmp, m_Zero()))
447 Value *TCmp = simplifyCmpSelTrueCase(Pred, TV, RHS, Cond, Q, MaxRecurse);
448 if (!TCmp)
458 if (TCmp == FCmp)
459 return TCmp;
464 return handleOtherCmpSelSimplifications(TCmp, FCmp, Cond, Q, MaxRecurse);