Home
last modified time | relevance | path

Searched refs:nearest (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project-15.0.7/libc/AOR_v20.02/math/tools/
H A Dexp.sollya10 b = b + b*0x1p-16; // increase interval for non-nearest rounding (TOINT_NARROW)
31 // double interval error for non-nearest rounding
H A Dexp2.sollya44 // double interval error for non-nearest rounding:
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/Runtime/
H A DNumericTest.cpp57 mlir::Value nearest = fir::runtime::genNearest(builder, loc, x, s); in testGenNearest() local
58 checkCallOp(nearest.getDefiningOp(), fctName, 2, /*addLocArg=*/false); in testGenNearest()
59 auto callOp = mlir::dyn_cast<fir::CallOp>(nearest.getDefiningOp()); in testGenNearest()
/llvm-project-15.0.7/lld/ELF/
H A DDriverUtils.cpp127 std::string nearest; in parse() local
128 if (findNearest(arg->getAsString(args), nearest) > 1) in parse()
132 "', did you mean '" + nearest + "'"); in parse()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dreal.cpp337 Fraction nearest; in NEAREST() local
343 nearest = Fraction::Least(); // MSB only in NEAREST()
345 nearest = next.value; in NEAREST()
349 nearest = 1; // smallest magnitude negative subnormal in NEAREST()
354 nearest = Fraction{0}.NOT(); in NEAREST()
357 nearest = sub1.value; in NEAREST()
361 result.flags = result.value.Normalize(isNegative, expo, nearest); in NEAREST()
/llvm-project-15.0.7/lld/MachO/
H A DDriverUtils.cpp98 std::string nearest; in parse() local
99 if (findNearest(arg->getAsString(args), nearest) > 1) in parse()
103 "', did you mean '" + nearest + "'"); in parse()
/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Dfp_trunc_impl.inc10 // IEEE-754 floating-point type in the default (round to nearest, ties to even)
86 // Round to nearest.
120 // Round to nearest
H A Dfp_mul_impl.inc10 // rounding (to nearest, ties to even).
122 // We use the default IEEE-754 round-to-nearest, ties-to-even rounding mode.
H A Dfp_add_impl.inc10 // (to nearest, ties to even).
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DLeonFeatures.td51 "request: use only the round-to-nearest rounding mode"
/llvm-project-15.0.7/llvm/test/MC/WebAssembly/
H A Dsimd-encodings.s352 # CHECK: f32x4.nearest # encoding: [0xfd,0x6a]
353 f32x4.nearest
478 # CHECK: f64x2.nearest # encoding: [0xfd,0x94,0x01]
479 f64x2.nearest
/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/
H A Df64.ll109 ; CHECK: f64.nearest $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}{{$}}
117 ; CHECK: f64.nearest $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}{{$}}
H A Df32.ll109 ; CHECK: f32.nearest $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}{{$}}
117 ; CHECK: f32.nearest $push[[LR:[0-9]+]]=, $pop{{[0-9]+}}{{$}}
/llvm-project-15.0.7/flang/lib/Frontend/
H A DCompilerInvocation.cpp638 std::string nearest; in createFromArgs() local
639 if (opts.findNearest(argString, nearest, includedFlagsBitmask) > 1) in createFromArgs()
643 << argString << nearest; in createFromArgs()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Darm64-cvt.ll4 ; Floating-point scalar convert to signed integer (to nearest with ties to away)
164 ; Floating-point scalar convert to signed integer (to nearest with ties to even)
204 ; Floating-point scalar convert to unsigned integer (to nearest with ties to even)
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Dmerge_inlined_loc.ll7 ; a line zero location at the nearest common scope and inlining. The location
/llvm-project-15.0.7/llvm/test/Transforms/Sink/
H A Dbasic.ll41 ; Sink to the nearest post-dominator
/llvm-project-15.0.7/lld/COFF/
H A DDriverUtils.cpp882 std::string nearest; in parse() local
883 if (optTable.findNearest(arg->getAsString(args), nearest) > 1) in parse()
887 "', did you mean '" + nearest + "'"); in parse()
/llvm-project-15.0.7/mlir/docs/
H A DSymbolsAndSymbolTables.md87 // Symbol references resolve to the nearest parent operation that defines a
176 - Lookup the definition of a symbol in the nearest symbol table from some
/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dcbrt.cl115 // nearest integer
H A Dclc_fma.cl131 // round to nearest even
/llvm-project-15.0.7/llvm/test/Transforms/LICM/
H A Dsink-debuginfo-preserve.ll5 ; random one (the DILocation picked the nearest enclosing scope of the two stores).
/llvm-project-15.0.7/llvm/docs/GlobalISel/
H A DGenericOpcode.rst579 Returns the operand rounded to the nearest integer not larger in magnitude than the operand.
584 Returns the operand rounded to the nearest integer.
589 Returns the source operand rounded to the nearest integer with ties away from
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrFloat.td67 defm NEAREST : UnaryFP<fnearbyint, "nearest", 0x90, 0x9e>;
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZfh.td375 // half->int32 rounded to nearest with ties rounded away from zero.
402 // half->int64 rounded to nearest with ties rounded away from zero.

123