Home
last modified time | relevance | path

Searched refs:IEEEdouble (Results 1 – 25 of 72) sorted by relevance

123

/external/llvm/unittests/ADT/
DAPFloatTest.cpp511 APFloat f1(APFloat::IEEEdouble, "-0x1p-1074"); in TEST()
512 APFloat f2(APFloat::IEEEdouble, "+0x1p-1074"); in TEST()
535 APFloat nan = APFloat::getNaN(APFloat::IEEEdouble); in TEST()
546 APFloat nan = APFloat::getNaN(APFloat::IEEEdouble); in TEST()
572 EXPECT_FALSE(APFloat(APFloat::IEEEdouble, MinNormalStr).isDenormal()); in TEST()
573 EXPECT_FALSE(APFloat(APFloat::IEEEdouble, 0.0).isDenormal()); in TEST()
575 APFloat Val2(APFloat::IEEEdouble, 2.0e0); in TEST()
576 APFloat T(APFloat::IEEEdouble, MinNormalStr); in TEST()
619 APFloat Val(APFloat::IEEEdouble); in TEST()
642 EXPECT_EQ( 0.0, APFloat(APFloat::IEEEdouble, "0").convertToDouble()); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPFloatTest.cpp515 APFloat f1(APFloat::IEEEdouble(), "-0x1p-1074"); in TEST()
516 APFloat f2(APFloat::IEEEdouble(), "+0x1p-1074"); in TEST()
539 APFloat nan = APFloat::getNaN(APFloat::IEEEdouble()); in TEST()
550 APFloat nan = APFloat::getNaN(APFloat::IEEEdouble()); in TEST()
576 EXPECT_FALSE(APFloat(APFloat::IEEEdouble(), MinNormalStr).isDenormal()); in TEST()
577 EXPECT_FALSE(APFloat(APFloat::IEEEdouble(), 0.0).isDenormal()); in TEST()
579 APFloat Val2(APFloat::IEEEdouble(), 2.0e0); in TEST()
580 APFloat T(APFloat::IEEEdouble(), MinNormalStr); in TEST()
623 APFloat Val(APFloat::IEEEdouble()); in TEST()
646 EXPECT_EQ( 0.0, APFloat(APFloat::IEEEdouble(), "0").convertToDouble()); in TEST()
[all …]
/external/clang/lib/Basic/
DTargetInfo.cpp75 DoubleFormat = &llvm::APFloat::IEEEdouble; in TargetInfo()
76 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in TargetInfo()
305 DoubleFormat = &llvm::APFloat::IEEEdouble; in adjust()
DTargets.cpp798 this->LongDoubleFormat = &llvm::APFloat::IEEEdouble; in NaClTargetInfo()
1598 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in PPC32TargetInfo()
1632 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in PPC64TargetInfo()
4139 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in MicrosoftX86_32TargetInfo()
4238 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in MCUX86_32TargetInfo()
4451 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in MicrosoftX86_64TargetInfo()
6054 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in DarwinAArch64TargetInfo()
7196 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in setO32ABITypes()
7211 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in setN32N64ABITypes()
8063 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in AndroidX86_32TargetInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.cpp46 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
/external/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.cpp38 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
/external/llvm/lib/Support/
DAPFloat.cpp63 const fltSemantics APFloat::IEEEdouble = { 1023, -1022, 53, 64 }; member in llvm::APFloat
2942 extendedSemantics.minExponent = IEEEdouble.minExponent; in convertPPCDoubleDoubleAPFloatToAPInt()
2949 fs = u.convert(IEEEdouble, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2965 fs = v.convert(IEEEdouble, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
3015 assert(semantics == (const llvm::fltSemantics*)&IEEEdouble); in convertDoubleAPFloatToAPInt()
3113 if (semantics == (const llvm::fltSemantics*)&IEEEdouble) in bitcastToAPInt()
3139 assert(semantics == (const llvm::fltSemantics*)&IEEEdouble && in convertToDouble()
3203 APFloat v(IEEEdouble, APInt(64, i2)); in initFromPPCDoubleDoubleAPInt()
3260 initialize(&APFloat::IEEEdouble); in initFromDoubleAPInt()
3362 if (Sem == &IEEEdouble) in initFromAPInt()
[all …]
/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp96 Val.convert(APFloat::IEEEdouble, APFloat::rmTowardZero, &ignored); in lowerOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMMCInstLower.cpp113 Val.convert(APFloat::IEEEdouble(), APFloat::rmTowardZero, &ignored); in lowerOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLLexer.cpp975 APFloatVal = APFloat(APFloat::IEEEdouble(), in Lex0x()
1066 APFloatVal = APFloat(APFloat::IEEEdouble(), in LexDigitOrNegative()
1103 APFloatVal = APFloat(APFloat::IEEEdouble(), in LexPositive()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h141 static const fltSemantics &IEEEdouble();
798 APFloat() : U(IEEEdouble()) { in APFloat()
823 explicit APFloat(double d) : U(IEEEFloat(d), IEEEdouble()) {} in APFloat()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp280 APFloat::getZero(APFloat::IEEEdouble())); in getNullValue()
674 return &APFloat::IEEEdouble(); in TypeToFloatSemantics()
768 else if (&V.getSemantics() == &APFloat::IEEEdouble()) in get()
1282 &Val2.getSemantics() == &APFloat::IEEEdouble()) in isValueValidForType()
1284 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1290 &Val2.getSemantics() == &APFloat::IEEEdouble() || in isValueValidForType()
1295 &Val2.getSemantics() == &APFloat::IEEEdouble() || in isValueValidForType()
1300 &Val2.getSemantics() == &APFloat::IEEEdouble() || in isValueValidForType()
2692 return APFloat(APFloat::IEEEdouble(), APInt(64, EltVal)); in getElementAsAPFloat()
/external/llvm/lib/IR/
DConstants.cpp207 APFloat::getZero(APFloat::IEEEdouble)); in getNullValue()
613 return &APFloat::IEEEdouble; in TypeToFloatSemantics()
698 else if (&V.getSemantics() == &APFloat::IEEEdouble) in get()
1234 &Val2.getSemantics() == &APFloat::IEEEdouble) in isValueValidForType()
1236 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1242 &Val2.getSemantics() == &APFloat::IEEEdouble || in isValueValidForType()
1247 &Val2.getSemantics() == &APFloat::IEEEdouble || in isValueValidForType()
1252 &Val2.getSemantics() == &APFloat::IEEEdouble || in isValueValidForType()
2621 return APFloat(APFloat::IEEEdouble, APInt(64, EltVal)); in getElementAsAPFloat()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPFloat.h154 static const fltSemantics &IEEEdouble() LLVM_READNONE;
817 APFloat() : U(IEEEdouble()) { in APFloat()
843 explicit APFloat(double d) : U(IEEEFloat(d), IEEEdouble()) {} in APFloat()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h171 case DoubleTyID: return APFloat::IEEEdouble(); in getFltSemantics()
/external/llvm/include/llvm/IR/
DType.h169 case DoubleTyID: return APFloat::IEEEdouble; in getFltSemantics()
/external/llvm/include/llvm/ADT/
DAPFloat.h135 static const fltSemantics IEEEdouble; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DType.h173 case DoubleTyID: return APFloat::IEEEdouble(); in getFltSemantics()
/external/llvm/lib/AsmParser/
DLLLexer.cpp964 APFloatVal = APFloat(APFloat::IEEEdouble, in LexDigitOrNegative()
1001 APFloatVal = APFloat(APFloat::IEEEdouble, in LexPositive()
/external/clang/lib/AST/
DExpr.cpp762 case IEEEdouble: in getSemantics()
763 return llvm::APFloat::IEEEdouble; in getSemantics()
779 else if (&Sem == &llvm::APFloat::IEEEdouble) in setSemantics()
780 FloatingLiteralBits.Semantics = IEEEdouble; in setSemantics()
797 V.convert(llvm::APFloat::IEEEdouble, llvm::APFloat::rmNearestTiesToEven, in getValueAsApproximateDouble()
DAPValue.cpp266 V.convert(llvm::APFloat::IEEEdouble, llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1418 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble)
1427 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble)
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dmlir_hlo_to_hlo.cc90 if (&semantics != &llvm::APFloat::IEEEdouble()) in ConvertAPFloat()
91 value.convert(llvm::APFloat::IEEEdouble(), in ConvertAPFloat()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp297 if (&format == &llvm::APFloat::IEEEdouble) in getTypeForFormat()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp428 else if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEdouble) in print_details()

123