Lines Matching defs:Mul
502 if (((Opcode == Instruction::Mul && match(Op, m_Neg(m_Value()))) ||
507 Instruction *Mul = LowerNegateToMultiply(Neg);
508 LLVM_DEBUG(dbgs() << *Mul << '\n');
509 Worklist.push_back(std::make_pair(Mul, Weight));
510 for (User *U : Mul->users()) {
542 else if (Opcode == Instruction::Mul) {
736 (ExpressionChangedStart->getOpcode() == Instruction::Mul &&
941 for (auto Op : {Instruction::Add, Instruction::Sub, Instruction::Mul,
1037 BinaryOperator *Mul = BinaryOperator::CreateMul(Shl->getOperand(0), MulCst,
1040 Mul->takeName(Shl);
1043 Shl->replaceAllUsesWith(Mul);
1044 Mul->setDebugLoc(Shl->getDebugLoc());
1054 Mul->setHasNoSignedWrap(true);
1055 Mul->setHasNoUnsignedWrap(NUW);
1056 return Mul;
1101 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul, Instruction::FMul);
1176 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul, Instruction::FMul);
1520 Instruction *Mul = CreateMul(TheOp, C, "factor", I->getIterator(), I);
1525 RedoInsts.insert(Mul);
1529 return Mul;
1534 Ops.insert(Ops.begin(), ValueEntry(getRank(Mul), Mul));
1591 isReassociableOp(Ops[i].Op, Instruction::Mul, Instruction::FMul);
1662 isReassociableOp(Ops[i].Op, Instruction::Mul, Instruction::FMul);
1949 case Instruction::Mul:
2150 if (isReassociableOp(I->getOperand(0), Instruction::Mul) ||
2152 (isReassociableOp(I->user_back(), Instruction::Mul) ||
2209 if (isReassociableOp(I->getOperand(1), Instruction::Mul) &&
2211 !isReassociableOp(I->user_back(), Instruction::Mul))) {
2326 if (I->getOpcode() == Instruction::Mul &&