reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3039 Ops.Ty->isIntegerType() && 3040 (Ops.mayHaveIntegerDivisionByZero() || Ops.mayHaveIntegerOverflow())) { 3040 (Ops.mayHaveIntegerDivisionByZero() || Ops.mayHaveIntegerOverflow())) { 3042 llvm::Value *Zero = llvm::Constant::getNullValue(ConvertType(Ops.Ty)); 3043 EmitUndefinedBehaviorIntegerDivAndRemCheck(Ops, Zero, false); 3046 if (Ops.Ty->hasUnsignedIntegerRepresentation()) 3047 return Builder.CreateURem(Ops.LHS, Ops.RHS, "rem"); 3047 return Builder.CreateURem(Ops.LHS, Ops.RHS, "rem"); 3049 return Builder.CreateSRem(Ops.LHS, Ops.RHS, "rem"); 3049 return Builder.CreateSRem(Ops.LHS, Ops.RHS, "rem");