Searched refs:APF (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 572 APFloat APF = APFloat(MI->getOperand(0).getFPImm()->getValueAPF()); in EmitDebugValueComment() local 574 OS << (double)APF.convertToFloat(); in EmitDebugValueComment() 576 OS << APF.convertToDouble(); in EmitDebugValueComment() 581 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in EmitDebugValueComment() 583 OS << "(long double) " << APF.convertToDouble(); in EmitDebugValueComment()
|
/external/llvm/lib/Target/CBackend/ |
D | CBackend.cpp | 664 APFloat APF = APFloat(CFP->getValueAPF()); // copy in isFPCSafeToPrint() local 666 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in isFPCSafeToPrint() 669 sprintf(Buffer, "%a", APF.convertToDouble()); in isFPCSafeToPrint() 673 return APF.bitwiseIsEqual(APFloat(atof(Buffer))); in isFPCSafeToPrint() 676 std::string StrVal = ftostr(APF); in isFPCSafeToPrint() 687 return APF.bitwiseIsEqual(APFloat(atof(StrVal.c_str()))); in isFPCSafeToPrint()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 214 APFloat APF = APFloat(CFP->getValueAPF()); // copy in printCFP() local 216 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printCFP() 221 sprintf(Buffer, "%A", APF.convertToDouble()); in printCFP() 225 APF.bitwiseIsEqual(APFloat(atof(Buffer)))) { in printCFP()
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 254 static bool ConvertToSInt(const APFloat &APF, int64_t &IntVal) { in ConvertToSInt() argument 256 if (&APF.getSemantics() == &APFloat::PPCDoubleDouble) in ConvertToSInt() 260 if (APF.convertToInteger(&UIntVal, 64, true, APFloat::rmTowardZero, in ConvertToSInt()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 1376 APFloat APF = APFloat(APInt(128, TwoE31)); in ExpandFloatOp_FP_TO_UINT() local 1377 SDValue Tmp = DAG.getConstantFP(APF, MVT::ppcf128); in ExpandFloatOp_FP_TO_UINT()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6506 APFloat APF = C->getValueAPF(); in isConstVecPow2() local 6507 if (APF.convertToInteger(&cN, 64, isSigned, APFloat::rmTowardZero, &isExact) in isConstVecPow2()
|