Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp561 bool TrueWhenUnset; in visitSelectInstWithICmp() local
567 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()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3410 bool TrueWhenUnset; in SimplifySelectInst() local
3416 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()