/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | APFloatTest.cpp | 47 EXPECT_EQ( 0.0, APFloat(APFloat::IEEEdouble, "0").convertToDouble()); in TEST() 48 EXPECT_EQ(+0.0, APFloat(APFloat::IEEEdouble, "+0").convertToDouble()); in TEST() 49 EXPECT_EQ(-0.0, APFloat(APFloat::IEEEdouble, "-0").convertToDouble()); in TEST() 51 EXPECT_EQ( 0.0, APFloat(APFloat::IEEEdouble, "0.").convertToDouble()); in TEST() 52 EXPECT_EQ(+0.0, APFloat(APFloat::IEEEdouble, "+0.").convertToDouble()); in TEST() 53 EXPECT_EQ(-0.0, APFloat(APFloat::IEEEdouble, "-0.").convertToDouble()); in TEST() 55 EXPECT_EQ( 0.0, APFloat(APFloat::IEEEdouble, ".0").convertToDouble()); in TEST() 56 EXPECT_EQ(+0.0, APFloat(APFloat::IEEEdouble, "+.0").convertToDouble()); in TEST() 57 EXPECT_EQ(-0.0, APFloat(APFloat::IEEEdouble, "-.0").convertToDouble()); in TEST() 59 EXPECT_EQ( 0.0, APFloat(APFloat::IEEEdouble, "0.0").convertToDouble()); in TEST() [all …]
|
/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 511 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/ |
D | APFloatTest.cpp | 515 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/ |
D | TargetInfo.cpp | 75 DoubleFormat = &llvm::APFloat::IEEEdouble; in TargetInfo() 76 LongDoubleFormat = &llvm::APFloat::IEEEdouble; in TargetInfo() 305 DoubleFormat = &llvm::APFloat::IEEEdouble; in adjust()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXMCExpr.cpp | 46 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXMCExpr.cpp | 38 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 63 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/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 106 Val.convert(APFloat::IEEEdouble, APFloat::rmTowardZero, &ignored); in lowerOperand()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | StringExtras.h | 113 if (&V.getSemantics() == &APFloat::IEEEdouble) in ftostr()
|
D | APFloat.h | 131 static const fltSemantics IEEEdouble; variable
|
/external/llvm/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 96 Val.convert(APFloat::IEEEdouble, APFloat::rmTowardZero, &ignored); in lowerOperand()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Constants.cpp | 90 APFloat::getZero(APFloat::IEEEdouble)); in getNullValue() 472 return &APFloat::IEEEdouble; in TypeToFloatSemantics() 553 else if (&V.getSemantics() == &APFloat::IEEEdouble) in get() 948 &Val2.getSemantics() == &APFloat::IEEEdouble) in isValueValidForType() 950 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 955 &Val2.getSemantics() == &APFloat::IEEEdouble || in isValueValidForType() 959 &Val2.getSemantics() == &APFloat::IEEEdouble || in isValueValidForType() 963 &Val2.getSemantics() == &APFloat::IEEEdouble || in isValueValidForType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 113 Val.convert(APFloat::IEEEdouble(), APFloat::rmTowardZero, &ignored); in lowerOperand()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 975 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/ |
D | APFloat.h | 141 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/ |
D | Constants.cpp | 280 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/ |
D | Constants.cpp | 207 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/ |
D | APFloat.h | 154 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/ |
D | Type.h | 171 case DoubleTyID: return APFloat::IEEEdouble(); in getFltSemantics()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 169 case DoubleTyID: return APFloat::IEEEdouble; in getFltSemantics()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | APFloat.cpp | 55 const fltSemantics APFloat::IEEEdouble = { 1023, -1022, 53, true }; member in llvm::APFloat 2840 assert(semantics == (const llvm::fltSemantics*)&IEEEdouble); in convertDoubleAPFloatToAPInt() 2938 if (semantics == (const llvm::fltSemantics*)&IEEEdouble) in bitcastToAPInt() 2964 assert(semantics == (const llvm::fltSemantics*)&IEEEdouble && in convertToDouble() 3109 initialize(&APFloat::IEEEdouble); in initFromDoubleAPInt() 3592 semantics != &IEEEdouble && semantics != &IEEEquad) in getExactInverse()
|
/external/llvm/include/llvm/ADT/ |
D | APFloat.h | 135 static const fltSemantics IEEEdouble; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Type.h | 173 case DoubleTyID: return APFloat::IEEEdouble(); in getFltSemantics()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 964 APFloatVal = APFloat(APFloat::IEEEdouble, in LexDigitOrNegative() 1001 APFloatVal = APFloat(APFloat::IEEEdouble, in LexPositive()
|
/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
D | PTXAsmPrinter.cpp | 584 Val.convert(APFloat::IEEEdouble, APFloat::rmTowardZero, &ignored); in lowerOperand()
|