Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp679 bool TrueWhenUnset; in visitSelectInstWithICmp() local
685 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()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3184 bool TrueWhenUnset; in SimplifySelectInst() local
3190 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()