Lines Matching refs:InnerSel
3077 DecomposedSelect InnerSel; in foldNestedSelects() local
3079 m_Select(m_Value(InnerSel.Cond), m_Value(InnerSel.TrueVal), in foldNestedSelects()
3080 m_Value(InnerSel.FalseVal)))) in foldNestedSelects()
3084 if (match(InnerSel.Cond, m_Not(m_Value(InnerSel.Cond)))) in foldNestedSelects()
3085 std::swap(InnerSel.TrueVal, InnerSel.FalseVal); in foldNestedSelects()
3103 if (matchOuterCond(m_Specific(InnerSel.Cond))) { in foldNestedSelects()
3106 m_Not(m_Specific(InnerSel.Cond)), m_Value(NotInnerCond)))) { in foldNestedSelects()
3108 std::swap(InnerSel.TrueVal, InnerSel.FalseVal); in foldNestedSelects()
3109 InnerSel.Cond = NotInnerCond; in foldNestedSelects()
3114 AltCond, IsAndVariant ? OuterSel.TrueVal : InnerSel.FalseVal, in foldNestedSelects()
3115 IsAndVariant ? InnerSel.TrueVal : OuterSel.FalseVal); in foldNestedSelects()
3117 return SelectInst::Create(InnerSel.Cond, in foldNestedSelects()
3118 IsAndVariant ? SelInner : InnerSel.TrueVal, in foldNestedSelects()
3119 !IsAndVariant ? SelInner : InnerSel.FalseVal); in foldNestedSelects()
3170 Value *InnerSel = Builder.CreateSelect(InnerCond, One, InnerVal); in foldSelectOfBools() local
3172 std::swap(Common, InnerSel); in foldSelectOfBools()
3174 return SelectInst::Create(Common, InnerSel, Zero); in foldSelectOfBools()
3176 return BinaryOperator::CreateAnd(Common, InnerSel); in foldSelectOfBools()
3218 Value *InnerSel = Builder.CreateSelect(InnerCond, InnerVal, Zero); in foldSelectOfBools() local
3220 std::swap(Common, InnerSel); in foldSelectOfBools()
3222 return SelectInst::Create(Common, One, InnerSel); in foldSelectOfBools()
3224 return BinaryOperator::CreateOr(Common, InnerSel); in foldSelectOfBools()