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

References

tools/clang/lib/CodeGen/CGExprScalar.cpp
  713     if (Ops.Ty->isSignedIntegerOrEnumerationType()) {
  716         return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul");
  716         return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul");
  719           return Builder.CreateNSWMul(Ops.LHS, Ops.RHS, "mul");
  719           return Builder.CreateNSWMul(Ops.LHS, Ops.RHS, "mul");
  722         if (CanElideOverflowCheck(CGF.getContext(), Ops))
  723           return Builder.CreateNSWMul(Ops.LHS, Ops.RHS, "mul");
  723           return Builder.CreateNSWMul(Ops.LHS, Ops.RHS, "mul");
  724         return EmitOverflowCheckedBinOp(Ops);
  728     if (Ops.Ty->isUnsignedIntegerType() &&
  730         !CanElideOverflowCheck(CGF.getContext(), Ops))
  731       return EmitOverflowCheckedBinOp(Ops);
  733     if (Ops.LHS->getType()->isFPOrFPVectorTy()) {
  734       Value *V = Builder.CreateFMul(Ops.LHS, Ops.RHS, "mul");
  734       Value *V = Builder.CreateFMul(Ops.LHS, Ops.RHS, "mul");
  735       return propagateFMFlags(V, Ops);
  737     return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul");
  737     return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul");