Searched refs:MulConst (Results 1 – 3 of 3) sorted by relevance
9 define i64 @MulConst(i64 %x) sanitize_memory {19 ; CHECK-LABEL: @MulConst(
570 const APInt *MulConst; in canEvaluateShifted() local572 return !IsLeftShift && match(I->getOperand(1), m_APInt(MulConst)) && in canEvaluateShifted()573 MulConst->isNegatedPowerOf2() && in canEvaluateShifted()574 MulConst->countTrailingZeros() == NumBits; in canEvaluateShifted()
557 ConstantSDNode *MulConst = dyn_cast<ConstantSDNode>(N.getOperand(1)); in canExtractShiftFromMul() local558 if (!MulConst) return false; in canExtractShiftFromMul()561 if (!MulConst->hasOneUse()) return false; in canExtractShiftFromMul()562 unsigned MulConstVal = MulConst->getZExtValue(); in canExtractShiftFromMul()