reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/InstructionSimplify.cpp
  833   if (Constant *C = foldOrCommuteConstant(Instruction::Mul, Op0, Op1, Q))
  839     return Constant::getNullValue(Op0->getType());
  843     return Op0;
  848       (match(Op0,
  850        match(Op1, m_Exact(m_IDiv(m_Value(X), m_Specific(Op0)))))) // Y * (X / Y)
  854   if (MaxRecurse && Op0->getType()->isIntOrIntVectorTy(1))
  855     if (Value *V = SimplifyAndInst(Op0, Op1, Q, MaxRecurse-1))
  859   if (Value *V = SimplifyAssociativeBinOp(Instruction::Mul, Op0, Op1, Q,
  864   if (Value *V = ExpandBinOp(Instruction::Mul, Op0, Op1, Instruction::Add,
  870   if (isa<SelectInst>(Op0) || isa<SelectInst>(Op1))
  871     if (Value *V = ThreadBinOpOverSelect(Instruction::Mul, Op0, Op1, Q,
  877   if (isa<PHINode>(Op0) || isa<PHINode>(Op1))
  878     if (Value *V = ThreadBinOpOverPHI(Instruction::Mul, Op0, Op1, Q,