Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp329 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() local
330 if (!OrOnFalseVal) in foldSelectICmpAndOr()
333 if (!OrOnFalseVal && !OrOnTrueVal) in foldSelectICmpAndOr()
337 Value *Y = OrOnFalseVal ? TrueVal : FalseVal; in foldSelectICmpAndOr()
351 if ((Pred == ICmpInst::ICMP_NE && OrOnFalseVal) || in foldSelectICmpAndOr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp544 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() local
545 if (!OrOnFalseVal) in foldSelectICmpAndOr()
548 if (!OrOnFalseVal && !OrOnTrueVal) in foldSelectICmpAndOr()
551 Value *Y = OrOnFalseVal ? TrueVal : FalseVal; in foldSelectICmpAndOr()
555 bool NeedXor = (!IsEqualZero && OrOnFalseVal) || (IsEqualZero && OrOnTrueVal); in foldSelectICmpAndOr()
561 Value *Or = OrOnFalseVal ? FalseVal : TrueVal; in foldSelectICmpAndOr()