Home
last modified time | relevance | path

Searched refs:Nearest (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/
H A Dstr_to_float.h92 RoundDirection round = RoundDirection::Nearest) {
158 if (round == RoundDirection::Nearest) {
284 if (round == RoundDirection::Nearest) {
342 RoundDirection round = RoundDirection::Nearest) {
548 RoundDirection round = RoundDirection::Nearest) {
600 if (round != RoundDirection::Nearest) {
832 if (round == RoundDirection::Nearest) { in binary_exp_to_float()
1161 RoundDirection round_direction = RoundDirection::Nearest; in strtofloatingpoint()
1165 round_direction = RoundDirection::Nearest; in strtofloatingpoint()
H A Dhigh_precision_decimal.h39 enum class RoundDirection { Up, Down, Nearest }; enumerator
412 round_to_integer_type(RoundDirection round = RoundDirection::Nearest) {
/freebsd/contrib/llvm-project/libcxx/src/include/
H A Dfrom_chars_floating_point.h299 LIBC_NAMESPACE::shared::RoundDirection::Nearest); in __from_chars_floating_point_hex()
398 LIBC_NAMESPACE::shared::RoundDirection::Nearest, in __from_chars_floating_point_decimal()
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp252 std::string Nearest; in CreateFromArgs() local
253 if (OptTbl.findNearest(ArgString, Nearest, VisibilityMask) > 1) in CreateFromArgs()
257 << ArgString << Nearest; in CreateFromArgs()
/freebsd/contrib/llvm-project/llvm/lib/Option/
H A DOptTable.cpp597 std::string Nearest; in parseArgs() local
600 if (findNearest(Spelling, Nearest) > 1) in parseArgs()
603 ErrorFn("unknown argument '" + Spelling + "', did you mean '" + Nearest + in parseArgs()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp366 std::string Nearest; in ParseArgStrings() local
367 if (getOpts().findNearest(ArgString, Nearest, VisibilityMask) > 1) { in ParseArgStrings()
369 getOpts().findExact(ArgString, Nearest, in ParseArgStrings()
372 Diags.Report(DiagID) << ArgString << "-Xclang " + Nearest; in ParseArgStrings()
382 Diags.Report(DiagID) << ArgString << Nearest; in ParseArgStrings()
394 std::string Nearest; in ParseArgStrings() local
395 if (getOpts().findExact("-" + ArgString, Nearest, VisibilityMask)) in ParseArgStrings()
397 << A->getAsString(Args) << Nearest; in ParseArgStrings()
2872 std::string Nearest; in DiagnoseInputExistence() local
2873 if (getOpts().findNearest(Value, Nearest, getOptionVisibilityMask()) <= 1) { in DiagnoseInputExistence()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp2010 return SPIRV::SamplerFilterMode::Nearest; in getSamplerFilterModeFromBitmask()
2011 return SPIRV::SamplerFilterMode::Nearest; in getSamplerFilterModeFromBitmask()
H A DSPIRVSymbolicOperands.td856 defm Nearest : SamplerFilterModeOperand<0, [Kernel]>;
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp5126 std::string Nearest; in CreateFromArgsImpl() local
5127 if (Opts.findNearest(ArgString, Nearest, VisibilityMask) > 1) in CreateFromArgsImpl()
5131 << ArgString << Nearest; in CreateFromArgsImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrInfo.td533 def RD_RN : RD_VAL<11>; // Round to Nearest (ties to Even)
534 def RD_RA : RD_VAL<12>; // Round to Nearest (ties to Away)