Home
last modified time | relevance | path

Searched refs:NegPow2C (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp282 const APInt *NegPow2C; in visitMul() local
285 match(Op1, m_APIntAllowPoison(NegPow2C))) { in visitMul()
287 unsigned ShiftAmt = NegPow2C->countr_zero(); in visitMul()
1622 Constant *NegPow2C = ConstantExpr::getNeg(cast<Constant>(Op1)); in visitSDiv() local
1623 Constant *C = ConstantExpr::getExactLogBase2(NegPow2C); in visitSDiv()
H A DInstCombineAddSub.cpp1687 const APInt *NegPow2C; in visitAdd() local
1688 if (match(&I, m_c_Add(m_OneUse(m_Mul(m_Value(A), m_NegatedPower2(NegPow2C))), in visitAdd()
1690 Constant *ShiftAmtC = ConstantInt::get(Ty, NegPow2C->countr_zero()); in visitAdd()