Searched refs:TrueWhenUnset (Results 1 – 2 of 2) sorted by relevance
679 bool TrueWhenUnset; in visitSelectInstWithICmp() local685 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in visitSelectInstWithICmp()690 TrueWhenUnset = false; in visitSelectInstWithICmp()695 TrueWhenUnset = true; in visitSelectInstWithICmp()700 if (TrueWhenUnset && TrueVal == X && in visitSelectInstWithICmp()704 else if (!TrueWhenUnset && FalseVal == X && in visitSelectInstWithICmp()708 else if (TrueWhenUnset && FalseVal == X && in visitSelectInstWithICmp()712 else if (!TrueWhenUnset && TrueVal == X && in visitSelectInstWithICmp()
3184 bool TrueWhenUnset; in SimplifySelectInst() local3190 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in SimplifySelectInst()3196 TrueWhenUnset = false; in SimplifySelectInst()3202 TrueWhenUnset = true; in SimplifySelectInst()3210 return TrueWhenUnset ? FalseVal : TrueVal; in SimplifySelectInst()3215 return TrueWhenUnset ? FalseVal : TrueVal; in SimplifySelectInst()3222 return TrueWhenUnset ? TrueVal : FalseVal; in SimplifySelectInst()3227 return TrueWhenUnset ? TrueVal : FalseVal; in SimplifySelectInst()