Searched refs:TrueWhenUnset (Results 1 – 2 of 2) sorted by relevance
550 bool TrueWhenUnset; in visitSelectInstWithICmp() local556 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in visitSelectInstWithICmp()561 TrueWhenUnset = false; in visitSelectInstWithICmp()566 TrueWhenUnset = true; in visitSelectInstWithICmp()571 if (TrueWhenUnset && TrueVal == X && in visitSelectInstWithICmp()575 else if (!TrueWhenUnset && FalseVal == X && in visitSelectInstWithICmp()579 else if (TrueWhenUnset && FalseVal == X && in visitSelectInstWithICmp()583 else if (!TrueWhenUnset && TrueVal == X && in visitSelectInstWithICmp()
3350 bool TrueWhenUnset; in SimplifySelectInst() local3356 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in SimplifySelectInst()3361 TrueWhenUnset = false; in SimplifySelectInst()3366 TrueWhenUnset = true; in SimplifySelectInst()3374 return TrueWhenUnset ? FalseVal : TrueVal; in SimplifySelectInst()3379 return TrueWhenUnset ? FalseVal : TrueVal; in SimplifySelectInst()3386 return TrueWhenUnset ? TrueVal : FalseVal; in SimplifySelectInst()3391 return TrueWhenUnset ? TrueVal : FalseVal; in SimplifySelectInst()