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

References

tools/clang/lib/CodeGen/CGExprScalar.cpp
 2998         Ops.Ty->isIntegerType() &&
 2999         (Ops.mayHaveIntegerDivisionByZero() || Ops.mayHaveIntegerOverflow())) {
 2999         (Ops.mayHaveIntegerDivisionByZero() || Ops.mayHaveIntegerOverflow())) {
 3000       llvm::Value *Zero = llvm::Constant::getNullValue(ConvertType(Ops.Ty));
 3001       EmitUndefinedBehaviorIntegerDivAndRemCheck(Ops, Zero, true);
 3003                Ops.Ty->isRealFloatingType() &&
 3004                Ops.mayHaveFloatDivisionByZero()) {
 3005       llvm::Value *Zero = llvm::Constant::getNullValue(ConvertType(Ops.Ty));
 3006       llvm::Value *NonZero = Builder.CreateFCmpUNE(Ops.RHS, Zero);
 3008                      Ops);
 3012   if (Ops.LHS->getType()->isFPOrFPVectorTy()) {
 3013     llvm::Value *Val = Builder.CreateFDiv(Ops.LHS, Ops.RHS, "div");
 3013     llvm::Value *Val = Builder.CreateFDiv(Ops.LHS, Ops.RHS, "div");
 3029   else if (Ops.Ty->hasUnsignedIntegerRepresentation())
 3030     return Builder.CreateUDiv(Ops.LHS, Ops.RHS, "div");
 3030     return Builder.CreateUDiv(Ops.LHS, Ops.RHS, "div");
 3032     return Builder.CreateSDiv(Ops.LHS, Ops.RHS, "div");
 3032     return Builder.CreateSDiv(Ops.LHS, Ops.RHS, "div");