Home
last modified time | relevance | path

Searched refs:IEEEsingle (Results 1 – 25 of 75) sorted by relevance

123

/external/llvm/unittests/ADT/
DAPFloatTest.cpp41 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/
DAPFloatTest.cpp45 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/
DAPFloatTest.cpp408 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/
DNVPTXMCExpr.cpp41 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
/external/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.cpp33 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
/external/clang/lib/Basic/
DTargetInfo.cpp74 FloatFormat = &llvm::APFloat::IEEEsingle; in TargetInfo()
319 FloatFormat = &llvm::APFloat::IEEEsingle; in adjust()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringExtras.h115 else if (&V.getSemantics() == &APFloat::IEEEsingle) in ftostr()
DAPFloat.h130 static const fltSemantics IEEEsingle; variable
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeMCInstLower.cpp156 FVal.convert(APFloat::IEEEsingle, APFloat::rmTowardZero, &ignored); in Lower()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp87 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/
DConstants.cpp277 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/
DConstants.cpp204 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/
DAPFloat.cpp62 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/
DType.h170 case FloatTyID: return APFloat::IEEEsingle(); in getFltSemantics()
/external/llvm/include/llvm/IR/
DType.h168 case FloatTyID: return APFloat::IEEEsingle; in getFltSemantics()
/external/swiftshader/third_party/LLVM/lib/Support/
DAPFloat.cpp54 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/
DAPFloat.h134 static const fltSemantics IEEEsingle; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DType.h172 case FloatTyID: return APFloat::IEEEsingle(); in getFltSemantics()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h140 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/
DAPFloat.h153 static const fltSemantics &IEEEsingle() LLVM_READNONE;
844 explicit APFloat(float f) : U(IEEEFloat(f), IEEEsingle()) {} in APFloat()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.h36 return llvm::APFloat(llvm::APFloat::IEEEsingle(), in GetIeeeF32FromBitwiseRep()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1416 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle)
1425 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEsingle)
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp295 if (&format == &llvm::APFloat::IEEEsingle) in getTypeForFormat()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp426 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp532 if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEsingle()) in print_details()

123