Home
last modified time | relevance | path

Searched refs:m_NegatedPower2 (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp208 if (Op0->hasOneUse() && match(Op1, m_NegatedPower2())) { in visitMul()
1127 match(Op1, m_NegatedPower2()))) { in visitSDiv()
1128 bool DivisorWasNegative = match(Op1, m_NegatedPower2()); in visitSDiv()
1198 if (match(Op1, m_NegatedPower2())) { in visitSDiv()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DPatternMatch.cpp540 EXPECT_FALSE(m_NegatedPower2().match(C128)); in TEST_F()
541 EXPECT_TRUE(m_NegatedPower2().match(CNeg128)); in TEST_F()
549 EXPECT_TRUE(m_NegatedPower2().match(CIntMin)); in TEST_F()
550 EXPECT_TRUE(m_NegatedPower2().match(CNegIntMin)); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DPatternMatch.h552 inline cst_pred_ty<is_negated_power2> m_NegatedPower2() { in m_NegatedPower2() function
555 inline api_pred_ty<is_negated_power2> m_NegatedPower2(const APInt *&V) { in m_NegatedPower2() function