Searched refs:m_ZExtOrSelf (Results 1 – 10 of 10) sorted by relevance
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 41 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 …]
|
D | InstCombineAddSub.cpp | 1142 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()
|
D | InstCombineCompares.cpp | 3512 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/ |
D | InstCombineShifts.cpp | 42 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 …]
|
D | InstCombineAddSub.cpp | 1180 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()
|
D | InstCombineSelect.cpp | 2338 m_ZExtOrSelf(m_Value(SA0))))) || in foldSelectFunnelShift() 2340 m_ZExtOrSelf(m_Value(SA1))))) || in foldSelectFunnelShift()
|
D | InstCombineCompares.cpp | 3555 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/ |
D | PatternMatch.cpp | 516 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/ |
D | PatternMatch.h | 1355 m_ZExtOrSelf(const OpTy &Op) { in m_ZExtOrSelf() function
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | PatternMatch.h | 1565 m_ZExtOrSelf(const OpTy &Op) { in m_ZExtOrSelf() function
|