Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/test/Instrumentation/MemorySanitizer/
H A Dmul_by_constant.ll9 define i64 @MulConst(i64 %x) sanitize_memory {
19 ; CHECK-LABEL: @MulConst(
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp570 const APInt *MulConst; in canEvaluateShifted() local
572 return !IsLeftShift && match(I->getOperand(1), m_APInt(MulConst)) && in canEvaluateShifted()
573 MulConst->isNegatedPowerOf2() && in canEvaluateShifted()
574 MulConst->countTrailingZeros() == NumBits; in canEvaluateShifted()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp557 ConstantSDNode *MulConst = dyn_cast<ConstantSDNode>(N.getOperand(1)); in canExtractShiftFromMul() local
558 if (!MulConst) return false; in canExtractShiftFromMul()
561 if (!MulConst->hasOneUse()) return false; in canExtractShiftFromMul()
562 unsigned MulConstVal = MulConst->getZExtValue(); in canExtractShiftFromMul()