Home
last modified time | relevance | path

Searched refs:losesInfo (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/Support/
DAPFloat.cpp1994 roundingMode rounding_mode, bool *losesInfo) in convert() argument
2067 *losesInfo = (fs != opOK); in convert()
2069 *losesInfo = lostFraction != lfExactlyZero || X86SpecialNan; in convert()
2082 *losesInfo = false; in convert()
2933 bool losesInfo; in convertPPCDoubleDoubleAPFloatToAPInt() local
2944 fs = extended.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2945 assert(fs == opOK && !losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2949 fs = u.convert(IEEEdouble, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2958 if (u.isFiniteNonZero() && losesInfo) { in convertPPCDoubleDoubleAPFloatToAPInt()
2959 fs = u.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPFloat.cpp1930 bool *losesInfo) { in convert() argument
2002 *losesInfo = (fs != opOK); in convert()
2004 *losesInfo = lostFraction != lfExactlyZero || X86SpecialNan; in convert()
2017 *losesInfo = false; in convert()
2833 bool losesInfo; in convertPPCDoubleDoubleAPFloatToAPInt() local
2844 fs = extended.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2845 assert(fs == opOK && !losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2849 fs = u.convert(semIEEEdouble, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2858 if (u.isFiniteNonZero() && losesInfo) { in convertPPCDoubleDoubleAPFloatToAPInt()
2859 fs = u.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
[all …]
/external/llvm/unittests/ADT/
DAPFloatTest.cpp524 bool losesInfo = false; in TEST() local
526 M1.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
527 EXPECT_FALSE(losesInfo); in TEST()
1446 bool losesInfo; in TEST() local
1448 test.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1450 EXPECT_FALSE(losesInfo); in TEST()
1454 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1456 EXPECT_TRUE(losesInfo); in TEST()
1460 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1462 EXPECT_TRUE(losesInfo); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPFloatTest.cpp528 bool losesInfo = false; in TEST() local
530 M1.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
531 EXPECT_FALSE(losesInfo); in TEST()
1508 bool losesInfo; in TEST() local
1510 test.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1512 EXPECT_FALSE(losesInfo); in TEST()
1516 test.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1518 EXPECT_TRUE(losesInfo); in TEST()
1522 test.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1524 EXPECT_TRUE(losesInfo); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DAPFloat.cpp1852 roundingMode rounding_mode, bool *losesInfo) in convert() argument
1898 *losesInfo = (fs != opOK); in convert()
1904 *losesInfo = false; in convert()
1917 *losesInfo = true; in convert()
1921 *losesInfo = true; in convert()
1932 *losesInfo = false; in convert()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp1261 bool losesInfo; in isValueValidForType() local
1270 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1271 return !losesInfo; in isValueValidForType()
1276 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1277 return !losesInfo; in isValueValidForType()
1284 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1285 return !losesInfo; in isValueValidForType()
/external/llvm/lib/IR/
DConstants.cpp1213 bool losesInfo; in isValueValidForType() local
1222 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1223 return !losesInfo; in isValueValidForType()
1228 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1229 return !losesInfo; in isValueValidForType()
1236 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1237 return !losesInfo; in isValueValidForType()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp934 bool losesInfo; in isValueValidForType() local
943 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
944 return !losesInfo; in isValueValidForType()
950 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
951 return !losesInfo; in isValueValidForType()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1145 bool losesInfo; in FitsInFPType() local
1147 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo); in FitsInFPType()
1148 if (!losesInfo) in FitsInFPType()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1219 bool losesInfo; in fitsInFPType() local
1221 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo); in fitsInFPType()
1222 if (!losesInfo) in fitsInFPType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1422 bool losesInfo; in fitsInFPType() local
1424 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo); in fitsInFPType()
1425 return !losesInfo; in fitsInFPType()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp870 bool losesInfo; in valueHasFloatPrecision() local
872 &losesInfo); in valueHasFloatPrecision()
873 if (!losesInfo) in valueHasFloatPrecision()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp943 bool losesInfo; in valueHasFloatPrecision() local
945 &losesInfo); in valueHasFloatPrecision()
946 if (!losesInfo) in valueHasFloatPrecision()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h985 bool *losesInfo);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPFloat.h1068 bool *losesInfo);
/external/llvm/include/llvm-c/
DCore.h1622 double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *losesInfo);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/
DCore.h1810 double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *losesInfo);
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp99 bool losesInfo; in isValueValidForType() local
101 &losesInfo); in isValueValidForType()
102 return !losesInfo; in isValueValidForType()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp85 bool losesInfo; in isValueValidForType() local
88 &losesInfo); in isValueValidForType()
89 return !losesInfo; in isValueValidForType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp122 bool losesInfo; in isValueValidForType() local
125 &losesInfo); in isValueValidForType()
126 return !losesInfo; in isValueValidForType()