Home
last modified time | relevance | path

Searched refs:TCmp (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInstructionSimplify.cpp182 static Value *handleOtherCmpSelSimplifications(Value *TCmp, Value *FCmp, in handleOtherCmpSelSimplifications() argument
192 if (match(FCmp, m_Zero()) && impliesPoison(TCmp, Cond)) in handleOtherCmpSelSimplifications()
193 if (Value *V = simplifyAndInst(Cond, TCmp, Q, MaxRecurse)) in handleOtherCmpSelSimplifications()
197 if (match(TCmp, m_One()) && impliesPoison(FCmp, Cond)) in handleOtherCmpSelSimplifications()
202 if (match(FCmp, m_One()) && match(TCmp, m_Zero())) in handleOtherCmpSelSimplifications()
492 Value *TCmp = simplifyCmpSelTrueCase(Pred, TV, RHS, Cond, Q, MaxRecurse); in threadCmpOverSelect() local
493 if (!TCmp) in threadCmpOverSelect()
503 if (TCmp == FCmp) in threadCmpOverSelect()
504 return TCmp; in threadCmpOverSelect()
509 return handleOtherCmpSelSimplifications(TCmp, FCmp, Cond, Q, MaxRecurse); in threadCmpOverSelect()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp5973 auto TCmp = MIRBuilder.buildICmp(CmpInst::ICMP_EQ, S1, T, C); in lowerU64ToF32BitOps() local
5977 auto Select0 = MIRBuilder.buildSelect(S32, TCmp, VTrunc1, Zero32); in lowerU64ToF32BitOps()