Home
last modified time | relevance | path

Searched refs:m_ZExtOrSelf (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp41 m_Shift(m_Instruction(Sh0Op0), m_ZExtOrSelf(m_Value(ShAmt0))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
56 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
186 m_Shift(m_Value(Masked), m_ZExtOrSelf(m_Value(ShiftShAmt)))); in dropRedundantMaskingOfLeftShiftInput()
220 match(MaskShAmt, m_ZExtOrSelf(m_Value(MaskShAmt))); in dropRedundantMaskingOfLeftShiftInput()
252 match(MaskShAmt, m_ZExtOrSelf(m_Value(MaskShAmt))); in dropRedundantMaskingOfLeftShiftInput()
1197 m_ZExtOrSelf(m_Sub(m_Constant(C1), in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1198 m_ZExtOrSelf(m_Value(NBits))))), in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1199 m_ZExtOrSelf(m_Sub(m_Constant(C2), in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1200 m_ZExtOrSelf(m_Deferred(NBits)))))) || in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1217 m_ZExtOrSelf( in foldVariableSignZeroExtensionOfVariableHighBitExtract()
[all …]
DInstCombineAddSub.cpp1142 m_ZExtOrSelf(m_Sub(m_Constant(C), m_ZExtOrSelf(m_Value(NBits))))) || in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
1152 match(V, m_ZExtOrSelf(m_Value(V))); in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
1187 m_ZExtOrSelf(m_Specific(NBits))))) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
DInstCombineCompares.cpp3512 match(XShift, m_BinOp(m_Value(X), m_ZExtOrSelf(m_Value(XShAmt)))); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3513 match(YShift, m_BinOp(m_Value(Y), m_ZExtOrSelf(m_Value(YShAmt)))); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp42 m_Shift(m_Instruction(Sh0Op0), m_ZExtOrSelf(m_Value(ShAmt0))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
57 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
187 m_Shift(m_Value(Masked), m_ZExtOrSelf(m_Value(ShiftShAmt)))); in dropRedundantMaskingOfLeftShiftInput()
221 match(MaskShAmt, m_ZExtOrSelf(m_Value(MaskShAmt))); in dropRedundantMaskingOfLeftShiftInput()
253 match(MaskShAmt, m_ZExtOrSelf(m_Value(MaskShAmt))); in dropRedundantMaskingOfLeftShiftInput()
1188 m_ZExtOrSelf(m_Sub(m_Constant(C1), in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1189 m_ZExtOrSelf(m_Value(NBits))))), in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1190 m_ZExtOrSelf(m_Sub(m_Constant(C2), in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1191 m_ZExtOrSelf(m_Deferred(NBits)))))) || in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1208 m_ZExtOrSelf( in foldVariableSignZeroExtensionOfVariableHighBitExtract()
[all …]
DInstCombineAddSub.cpp1180 m_ZExtOrSelf(m_Sub(m_Constant(C), m_ZExtOrSelf(m_Value(NBits))))) || in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
1190 match(V, m_ZExtOrSelf(m_Value(V))); in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
1225 m_ZExtOrSelf(m_Specific(NBits))))) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
DInstCombineSelect.cpp2338 m_ZExtOrSelf(m_Value(SA0))))) || in foldSelectFunnelShift()
2340 m_ZExtOrSelf(m_Value(SA1))))) || in foldSelectFunnelShift()
DInstCombineCompares.cpp3555 match(XShift, m_BinOp(m_Value(X), m_ZExtOrSelf(m_Value(XShAmt)))); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3556 match(YShift, m_BinOp(m_Value(Y), m_ZExtOrSelf(m_Value(YShAmt)))); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
/external/llvm-project/llvm/unittests/IR/
DPatternMatch.cpp516 EXPECT_TRUE(m_ZExtOrSelf(m_One()).match(One32)); in TEST_F()
517 EXPECT_TRUE(m_ZExtOrSelf(m_One()).match(One64Z)); in TEST_F()
518 EXPECT_FALSE(m_ZExtOrSelf(m_One()).match(One64S)); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h1355 m_ZExtOrSelf(const OpTy &Op) { in m_ZExtOrSelf() function
/external/llvm-project/llvm/include/llvm/IR/
DPatternMatch.h1565 m_ZExtOrSelf(const OpTy &Op) { in m_ZExtOrSelf() function