Home
last modified time | relevance | path

Searched refs:Rounding (Results 1 – 25 of 52) sorted by relevance

123

/openbsd/lib/libc/gdtoa/
H A Dgdtoa_fltrnds.h2 int Rounding; variable
4 Rounding = Flt_Rounds;
6 Rounding = 1;
8 case FE_TOWARDZERO: Rounding = 0; break;
9 case FE_UPWARD: Rounding = 2; break;
10 case FE_DOWNWARD: Rounding = 3;
14 if (Rounding != 1) {
17 fpi1.rounding = Rounding;
H A Ddtoa.c134 int Rounding; local
136 Rounding = Flt_Rounds;
138 Rounding = 1;
191 if (Rounding >= 2) {
193 Rounding = Rounding == 2 ? 0 : 2;
195 if (Rounding != 2)
196 Rounding = 0;
561 && Rounding == 1
677 && Rounding >= 1
729 if (!Rounding)
[all …]
H A Dstrtod.c127 int Rounding; local
129 Rounding = Flt_Rounds;
131 Rounding = 1;
439 if (Rounding >= 2) {
441 Rounding = Rounding == 2 ? 0 : 2;
443 if (Rounding != 2)
444 Rounding = 0;
460 switch(Rounding) {
603 if (Rounding != 1)
696 if (Rounding) {
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h181 RoundingMode Rounding = RoundingMode::NearestTiesToEven);
188 RoundingMode Rounding = RoundingMode::NearestTiesToEven);
195 RoundingMode Rounding = RoundingMode::NearestTiesToEven);
204 RoundingMode Rounding = RoundingMode::NearestTiesToEven);
211 RoundingMode Rounding = RoundingMode::NearestTiesToEven);
218 RoundingMode Rounding = RoundingMode::NearestTiesToEven);
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DInstructionSimplify.cpp5375 if (isDefaultFPEnvironment(ExBehavior, Rounding)) in simplifyFAddInst()
5441 if (isDefaultFPEnvironment(ExBehavior, Rounding)) in simplifyFSubInst()
5550 if (isDefaultFPEnvironment(ExBehavior, Rounding)) in simplifyFMulInst()
5563 Rounding); in simplifyFAddInst()
5571 Rounding); in simplifyFSubInst()
5579 Rounding); in simplifyFMulInst()
5587 Rounding); in simplifyFMAFMul()
5595 if (isDefaultFPEnvironment(ExBehavior, Rounding)) in simplifyFDivInst()
5646 Rounding); in simplifyFDivInst()
5654 if (isDefaultFPEnvironment(ExBehavior, Rounding)) in simplifyFRemInst()
[all …]
/openbsd/gnu/llvm/llvm/lib/Support/
H A DAPInt.cpp2722 APInt::Rounding RM) { in RoundingUDiv()
2725 case APInt::Rounding::DOWN: in RoundingUDiv()
2726 case APInt::Rounding::TOWARD_ZERO: in RoundingUDiv()
2728 case APInt::Rounding::UP: { in RoundingUDiv()
2740 APInt::Rounding RM) { in RoundingSDiv()
2742 case APInt::Rounding::DOWN: in RoundingSDiv()
2743 case APInt::Rounding::UP: { in RoundingSDiv()
2753 if (RM == APInt::Rounding::DOWN) { in RoundingSDiv()
2763 case APInt::Rounding::TOWARD_ZERO: in RoundingSDiv()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DIntrinsicInst.cpp319 std::optional<RoundingMode> Rounding = getRoundingMode(); in isDefaultFPEnvironment() local
320 if (Rounding) { in isDefaultFPEnvironment()
321 if (*Rounding != RoundingMode::NearestTiesToEven) in isDefaultFPEnvironment()
H A DConstantRange.cpp255 APInt::Rounding::UP), in makeExactMulNUWRegion()
257 APInt::Rounding::DOWN) + 1); in makeExactMulNUWRegion()
275 Lower = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::UP); in makeExactMulNSWRegion()
276 Upper = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
278 Lower = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::UP); in makeExactMulNSWRegion()
279 Upper = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
H A DIRBuilder.cpp1005 std::optional<RoundingMode> Rounding, in CreateConstrainedFPBinOp() argument
1007 Value *RoundingV = getConstrainedFPRounding(Rounding); in CreateConstrainedFPBinOp()
1039 std::optional<RoundingMode> Rounding, in CreateConstrainedFPCast() argument
1059 Value *RoundingV = getConstrainedFPRounding(Rounding); in CreateConstrainedFPCast()
1102 std::optional<RoundingMode> Rounding, in CreateConstrainedFPCall() argument
1118 UseArgs.push_back(getConstrainedFPRounding(Rounding)); in CreateConstrainedFPCall()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp373 bool Rounding) const -> Value *;
375 bool Rounding) const -> Value *;
1400 bool Rounding = Op.RoundAt.has_value(); in processFxpMulChopped() local
1407 QMul = createMulQ15(Builder, Op.X, Op.Y, Rounding); in processFxpMulChopped()
1409 QMul = createMulQ31(Builder, Op.X, Op.Y, Rounding); in processFxpMulChopped()
1435 if (Rounding) { in processFxpMulChopped()
1491 bool Rounding) const -> Value * { in createMulQ15()
1497 if (!Rounding || X.Sgn == Unsigned || Y.Sgn == Unsigned) in createMulQ15()
1506 bool Rounding) const -> Value * { in createMulQ31()
1516 auto V6_vmpyo_acc = Rounding in createMulQ31()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DIntrinsicsAArch64.td248 // Vector Rounding Halving Add
263 // Vector Rounding Add High-Half
271 // Vector Saturating Rounding Doubling Multiply High
315 // Vector Rounding Subtract High-Half
392 // Vector Rounding Shift Left
396 // Vector Saturating Rounding Shift Left
406 // Vector Signed->Unsigned Rounding Narrowing Saturating Shift Right by Const
413 // Vector Rounding Narrowing Shift Right by Constant
416 // Vector Rounding Narrowing Saturating Shift Right by Constant
489 // v8.5-A Vector FP Rounding
H A DIRBuilder.h1206 Value *getConstrainedFPRounding(std::optional<RoundingMode> Rounding) { in getConstrainedFPRounding() argument
1209 if (Rounding) in getConstrainedFPRounding()
1210 UseRounding = *Rounding; in getConstrainedFPRounding()
1628 std::optional<RoundingMode> Rounding = std::nullopt,
2110 std::optional<RoundingMode> Rounding = std::nullopt,
2331 std::optional<RoundingMode> Rounding = std::nullopt,
H A DIntrinsicsARM.td598 // Vector Rounding Shift.
611 // Vector Saturating Rounding Shift.
680 // Vector and Scalar Rounding.
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DAPInt.h87 enum class Rounding { enum
2241 APInt RoundingUDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
2244 APInt RoundingSDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A Darm_fp16.td36 // Rounding
H A Darm_neon.td1316 // Scalar Saturating Rounding Shift Left
1318 // Scalar Shift Rounding Left
1326 // Signed/Unsigned Rounding Shift Right (Immediate)
1331 // Signed/Unsigned Rounding Shift Right and Accumulate (Immediate)
1396 // Scalar Integer Saturating Rounding Doubling Multiply Half High
1401 // Signed Saturating Rounding Doubling Multiply Accumulate Returning High Half
1405 // Signed Saturating Rounding Doubling Multiply Subtract Returning High Half
1624 // Scalar Integer Saturating Rounding Doubling Multiply Half High
1631 // Signed Saturating Rounding Doubling Multiply Accumulate Returning High Half
1637 // Signed Saturating Rounding Doubling Multiply Subtract Returning High Half
/openbsd/gnu/usr.bin/perl/pod/
H A Dperlnumber.pod113 (I<"Rounding to zero".>)
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVScheduleV.td236 // 12.3. Vector Single-Width Fractional Multiply with Rounding and Saturation
453 // 12.3. Vector Single-Width Fractional Multiply with Rounding and Saturation
/openbsd/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchFloat32InstrInfo.td301 // FP Rounding
H A DLoongArchFloat64InstrInfo.td307 // FP Rounding
/openbsd/gnu/llvm/libcxx/include/
H A Dnew353 // Rounding up could have wrapped around to zero, so we have to add another
/openbsd/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/lib/
H A Dperlxstut.pod403 is( $i, -2.0, 'Rounding -1.5 to -2.0' );
407 is( $i, -1.0, 'Rounding -1.1 to -1.0' );
411 is( $i, 0.0, 'Rounding 0.0 to 0.0' );
415 is( $i, 1.0, 'Rounding 0.5 to 1.0' );
419 is( $i, 1.0, 'Rounding 1.2 to 1.0' );
/openbsd/gnu/usr.bin/binutils/gas/doc/
H A Dc-vax.texi140 compatible with previous assemblers. Rounding is
/openbsd/gnu/usr.bin/binutils-2.17/gas/doc/
H A Dc-vax.texi140 compatible with previous assemblers. Rounding is
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.h369 enum Rounding { enum

123