Searched refs:TrueWhenUnset (Results 1 – 4 of 4) sorted by relevance
561 bool TrueWhenUnset; in visitSelectInstWithICmp() local567 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in visitSelectInstWithICmp()572 TrueWhenUnset = false; in visitSelectInstWithICmp()577 TrueWhenUnset = true; in visitSelectInstWithICmp()582 if (TrueWhenUnset && TrueVal == X && in visitSelectInstWithICmp()586 else if (!TrueWhenUnset && FalseVal == X && in visitSelectInstWithICmp()590 else if (TrueWhenUnset && FalseVal == X && in visitSelectInstWithICmp()594 else if (!TrueWhenUnset && TrueVal == X && in visitSelectInstWithICmp()
951 bool TrueWhenUnset; in foldSelectInstWithICmp() local957 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in foldSelectInstWithICmp()962 TrueWhenUnset = false; in foldSelectInstWithICmp()967 TrueWhenUnset = true; in foldSelectInstWithICmp()972 if (TrueWhenUnset && TrueVal == X && in foldSelectInstWithICmp()976 else if (!TrueWhenUnset && FalseVal == X && in foldSelectInstWithICmp()980 else if (TrueWhenUnset && FalseVal == X && in foldSelectInstWithICmp()984 else if (!TrueWhenUnset && TrueVal == X && in foldSelectInstWithICmp()
3410 bool TrueWhenUnset; in SimplifySelectInst() local3416 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in SimplifySelectInst()3421 TrueWhenUnset = false; in SimplifySelectInst()3426 TrueWhenUnset = true; in SimplifySelectInst()3434 return TrueWhenUnset ? FalseVal : TrueVal; in SimplifySelectInst()3439 return TrueWhenUnset ? FalseVal : TrueVal; in SimplifySelectInst()3446 return TrueWhenUnset ? TrueVal : FalseVal; in SimplifySelectInst()3451 return TrueWhenUnset ? TrueVal : FalseVal; in SimplifySelectInst()
3712 const APInt *Y, bool TrueWhenUnset) { in simplifySelectBitTest() argument3719 return TrueWhenUnset ? FalseVal : TrueVal; in simplifySelectBitTest()3725 return TrueWhenUnset ? FalseVal : TrueVal; in simplifySelectBitTest()3732 return TrueWhenUnset ? TrueVal : FalseVal; in simplifySelectBitTest()3738 return TrueWhenUnset ? TrueVal : FalseVal; in simplifySelectBitTest()