/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 41 EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle, false).isSignaling()); in TEST() 42 EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle, true).isSignaling()); in TEST() 43 EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle, false, &payload).isSignaling()); in TEST() 44 EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle, true, &payload).isSignaling()); in TEST() 45 EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle, false).isSignaling()); in TEST() 46 EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle, true).isSignaling()); in TEST() 47 EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle, false, &payload).isSignaling()); in TEST() 48 EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle, true, &payload).isSignaling()); in TEST() 526 M1.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in TEST() 560 EXPECT_FALSE(APFloat(APFloat::IEEEsingle, MinNormalStr).isDenormal()); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 45 EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle(), false).isSignaling()); in TEST() 46 EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle(), true).isSignaling()); in TEST() 47 EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle(), false, &payload).isSignaling()); in TEST() 48 EXPECT_FALSE(APFloat::getQNaN(APFloat::IEEEsingle(), true, &payload).isSignaling()); in TEST() 49 EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle(), false).isSignaling()); in TEST() 50 EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle(), true).isSignaling()); in TEST() 51 EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle(), false, &payload).isSignaling()); in TEST() 52 EXPECT_TRUE(APFloat::getSNaN(APFloat::IEEEsingle(), true, &payload).isSignaling()); in TEST() 530 M1.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in TEST() 564 EXPECT_FALSE(APFloat(APFloat::IEEEsingle(), MinNormalStr).isDenormal()); in TEST() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | APFloatTest.cpp | 408 ASSERT_EQ(0x7fc00000, nanbits(APFloat::IEEEsingle, false, false, 0)); in TEST() 409 ASSERT_EQ(0xffc00000, nanbits(APFloat::IEEEsingle, false, true, 0)); in TEST() 410 ASSERT_EQ(0x7fc0ae72, nanbits(APFloat::IEEEsingle, false, false, 0xae72)); in TEST() 411 ASSERT_EQ(0x7fffae72, nanbits(APFloat::IEEEsingle, false, false, 0xffffae72)); in TEST() 412 ASSERT_EQ(0x7fa00000, nanbits(APFloat::IEEEsingle, true, false, 0)); in TEST() 413 ASSERT_EQ(0xffa00000, nanbits(APFloat::IEEEsingle, true, true, 0)); in TEST() 414 ASSERT_EQ(0x7f80ae72, nanbits(APFloat::IEEEsingle, true, false, 0xae72)); in TEST() 415 ASSERT_EQ(0x7fbfae72, nanbits(APFloat::IEEEsingle, true, false, 0xffffae72)); in TEST() 430 …EXPECT_DEATH(APFloat(APFloat::IEEEsingle, 0.0f).convertToDouble(), "Float semantics are not IEEEdo… in TEST() 652 EXPECT_EQ(3.402823466e+38f, APFloat::getLargest(APFloat::IEEEsingle).convertToFloat()); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXMCExpr.cpp | 41 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXMCExpr.cpp | 33 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
|
/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 74 FloatFormat = &llvm::APFloat::IEEEsingle; in TargetInfo() 319 FloatFormat = &llvm::APFloat::IEEEsingle; in adjust()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | StringExtras.h | 115 else if (&V.getSemantics() == &APFloat::IEEEsingle) in ftostr()
|
D | APFloat.h | 130 static const fltSemantics IEEEsingle; variable
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
D | MBlazeMCInstLower.cpp | 156 FVal.convert(APFloat::IEEEsingle, APFloat::rmTowardZero, &ignored); in Lower()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Constants.cpp | 87 APFloat::getZero(APFloat::IEEEsingle)); in getNullValue() 470 return &APFloat::IEEEsingle; in TypeToFloatSemantics() 551 if (&V.getSemantics() == &APFloat::IEEEsingle) in get() 941 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType() 943 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 947 if (&Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType() 954 return &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType() 958 return &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType() 962 return &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Constants.cpp | 277 APFloat::getZero(APFloat::IEEEsingle())); in getNullValue() 672 return &APFloat::IEEEsingle(); in TypeToFloatSemantics() 766 else if (&V.getSemantics() == &APFloat::IEEEsingle()) in get() 1274 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType() 1276 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1281 &Val2.getSemantics() == &APFloat::IEEEsingle() || in isValueValidForType() 1289 &Val2.getSemantics() == &APFloat::IEEEsingle() || in isValueValidForType() 1294 &Val2.getSemantics() == &APFloat::IEEEsingle() || in isValueValidForType() 1299 &Val2.getSemantics() == &APFloat::IEEEsingle() || in isValueValidForType() 2688 return APFloat(APFloat::IEEEsingle(), APInt(32, EltVal)); in getElementAsAPFloat()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 204 APFloat::getZero(APFloat::IEEEsingle)); in getNullValue() 611 return &APFloat::IEEEsingle; in TypeToFloatSemantics() 696 else if (&V.getSemantics() == &APFloat::IEEEsingle) in get() 1226 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType() 1228 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1233 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType() 1241 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType() 1246 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType() 1251 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType() 2617 return APFloat(APFloat::IEEEsingle, APInt(32, EltVal)); in getElementAsAPFloat()
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 62 const fltSemantics APFloat::IEEEsingle = { 127, -126, 24, 32 }; member in llvm::APFloat 3045 assert(semantics == (const llvm::fltSemantics*)&IEEEsingle); in convertFloatAPFloatToAPInt() 3110 if (semantics == (const llvm::fltSemantics*)&IEEEsingle) in bitcastToAPInt() 3130 assert(semantics == (const llvm::fltSemantics*)&IEEEsingle && in convertToFloat() 3293 initialize(&APFloat::IEEEsingle); in initFromFloatAPInt() 3360 if (Sem == &IEEEsingle) in initFromAPInt() 3381 return APFloat(IEEEsingle, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 3481 initFromAPInt(&IEEEsingle, APInt::floatToBits(f)); in APFloat()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Type.h | 170 case FloatTyID: return APFloat::IEEEsingle(); in getFltSemantics()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 168 case FloatTyID: return APFloat::IEEEsingle; in getFltSemantics()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | APFloat.cpp | 54 const fltSemantics APFloat::IEEEsingle = { 127, -126, 24, true }; member in llvm::APFloat 2870 assert(semantics == (const llvm::fltSemantics*)&IEEEsingle); in convertFloatAPFloatToAPInt() 2935 if (semantics == (const llvm::fltSemantics*)&IEEEsingle) in bitcastToAPInt() 2955 assert(semantics == (const llvm::fltSemantics*)&IEEEsingle && in convertToFloat() 3142 initialize(&APFloat::IEEEsingle); in initFromFloatAPInt() 3591 if (semantics != &IEEEhalf && semantics != &IEEEsingle && in getExactInverse()
|
/external/llvm/include/llvm/ADT/ |
D | APFloat.h | 134 static const fltSemantics IEEEsingle; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Type.h | 172 case FloatTyID: return APFloat::IEEEsingle(); in getFltSemantics()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APFloat.h | 140 static const fltSemantics &IEEEsingle(); 824 explicit APFloat(float f) : U(IEEEFloat(f), IEEEsingle()) {} in APFloat()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APFloat.h | 153 static const fltSemantics &IEEEsingle() LLVM_READNONE; 844 explicit APFloat(float f) : U(IEEEFloat(f), IEEEsingle()) {} in APFloat()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | vector_support_library.h | 36 return llvm::APFloat(llvm::APFloat::IEEEsingle(), in GetIeeeF32FromBitwiseRep()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 1416 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle) 1425 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle)
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 295 if (&format == &llvm::APFloat::IEEEsingle) in getTypeForFormat()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 426 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 532 if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEsingle()) in print_details()
|