Lines Matching refs:matchPattern
244 if (matchPattern(rhs(), m_Zero())) in fold()
308 return matchPattern(operand, m_ConstantIndex()); in matchAndRewrite()
390 if (matchPattern(rhs(), m_Zero())) in fold()
394 if (matchPattern(rhs(), m_ConstantInt(&intValue)) && in fold()
416 if (matchPattern(op.arg(), m_One())) { in matchAndRewrite()
731 if (!matchPattern(indirectCall.getCallee(), m_Constant(&calledFn))) in matchAndRewrite()
933 if (matchPattern(condbr.getCondition(), m_NonZero())) { in matchAndRewrite()
938 } else if (matchPattern(condbr.getCondition(), m_Zero())) { in matchAndRewrite()
1827 if (!matchPattern(*operandsIt, m_ConstantInt(&index))) { in matchAndRewrite()
2002 if (!matchPattern(*extract.indices().begin(), m_ConstantInt(&index))) in matchAndRewrite()
2511 if (matchPattern(rhs(), m_Zero())) in fold()
2514 if (matchPattern(rhs(), m_One())) in fold()
2528 if (matchPattern(rhs(), m_Zero())) in fold()
2655 if (matchPattern(condition, m_One())) in fold()
2659 if (matchPattern(condition, m_Zero())) in fold()
2978 if (matchPattern(rhs(), m_Zero())) in fold()
3385 values, [](Value val) { return matchPattern(val, m_ConstantIndex()); }); in canonicalizeSubViewPart()
3393 if (matchPattern(values[valIdx], m_ConstantIndex())) { in canonicalizeSubViewPart()
3427 return matchPattern(operand, m_ConstantIndex()); in matchAndRewrite()
3633 return matchPattern(operand, m_ConstantIndex()); in matchAndRewrite()
4242 return matchPattern(operand, m_ConstantIndex()); in matchAndRewrite()
4335 if (matchPattern(rhs(), m_Zero())) in fold()