Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp550 bool TrueWhenUnset; in visitSelectInstWithICmp() local
556 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()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3350 bool TrueWhenUnset; in SimplifySelectInst() local
3356 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()