/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/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/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()
|
D | AsmWriter.cpp | 711 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble || in WriteConstantInternal() 719 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; in WriteConstantInternal() 748 apf.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in WriteConstantInternal()
|
/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()
|
D | AsmWriter.cpp | 1143 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) { in WriteConstantInternal() 1150 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; in WriteConstantInternal() 1167 if (APFloat(APFloat::IEEEdouble, StrVal).convertToDouble() == Val) { in WriteConstantInternal() 1182 apf.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in WriteConstantInternal()
|
/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/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()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 762 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()
|
D | APValue.cpp | 266 V.convert(llvm::APFloat::IEEEdouble, llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 1418 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble) 1427 if ((&Node.getSemantics()) == &llvm::APFloat::IEEEdouble)
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 297 if (&format == &llvm::APFloat::IEEEdouble) in getTypeForFormat()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 428 else if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEdouble) in print_details()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 574 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in EmitDebugValueComment() 1691 DoubleVal.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in EmitGlobalConstantFP()
|
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/ |
D | AsmParser.cpp | 657 APFloat RealVal(APFloat::IEEEdouble, getTok().getString()); in ParsePrimaryExpr() 1101 return ParseDirectiveRealValue(APFloat::IEEEdouble); in ParseStatement()
|