/external/llvm/lib/Target/NVPTX/ |
D | NVPTXMCExpr.cpp | 26 APFloat APF = getAPFloat(); in printImpl() local 33 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &Ignored); in printImpl() 38 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &Ignored); in printImpl() 42 APInt API = APF.bitcastToAPInt(); in printImpl()
|
D | NVPTXAsmPrinter.cpp | 1680 APFloat APF = APFloat(Fp->getValueAPF()); // make a copy in printFPConstant() local 1688 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &ignored); in printFPConstant() 1692 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printFPConstant() 1696 APInt API = APF.bitcastToAPInt(); in printFPConstant()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1314 APFloat APF(V); in GetConstantFoldFPValue() local 1316 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue() 1317 return ConstantFP::get(Ty->getContext(), APF); in GetConstantFoldFPValue() 1409 APFloat APF = Op->getValueAPF(); in getValueAsDouble() local 1410 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble() 1411 return APF.convertToDouble(); in getValueAsDouble()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 744 APFloat APF = APFloat(MI->getOperand(0).getFPImm()->getValueAPF()); in emitDebugValueComment() local 746 OS << (double)APF.convertToFloat(); in emitDebugValueComment() 748 OS << APF.convertToDouble(); in emitDebugValueComment() 753 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in emitDebugValueComment() 755 OS << "(long double) " << APF.convertToDouble(); in emitDebugValueComment()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 222 APFloat APF = APFloat(CFP->getValueAPF()); // copy in printCFP() local 224 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printCFP() 229 sprintf(Buffer, "%A", APF.convertToDouble()); in printCFP() 233 APF.bitwiseIsEqual(APFloat(atof(Buffer)))) { in printCFP()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 1067 APFloat APF = CN->getValueAPF(); in SelectConstantFP() local 1070 CurDAG->getTargetConstantFP(APF.convertToFloat(), dl, MVT::f32)); in SelectConstantFP() 1074 CurDAG->getTargetConstantFP(APF.convertToDouble(), dl, MVT::f64)); in SelectConstantFP()
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 260 static bool ConvertToSInt(const APFloat &APF, int64_t &IntVal) { in ConvertToSInt() argument 264 if (APF.convertToInteger(&UIntVal, 64, true, APFloat::rmTowardZero, in ConvertToSInt()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 1973 const APFloat &APF = CRHS->getValueAPF(); in performSetCCCombine() local 1974 if (APF.isInfinity() && !APF.isNegative()) { in performSetCCCombine()
|
/external/llvm/lib/IR/ |
D | Core.cpp | 895 APFloat APF = cFP->getValueAPF(); in LLVMConstRealGetDouble() local 896 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &APFLosesInfo); in LLVMConstRealGetDouble() 898 return APF.convertToDouble(); in LLVMConstRealGetDouble()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 1616 APFloat APF = APFloat(APFloat::PPCDoubleDouble, APInt(128, TwoE31)); in ExpandFloatOp_FP_TO_UINT() local 1617 SDValue Tmp = DAG.getConstantFP(APF, dl, MVT::ppcf128); in ExpandFloatOp_FP_TO_UINT()
|
D | SelectionDAG.cpp | 7273 APFloat APF = CN->getValueAPF(); in getConstantFPSplatPow2ToLog2Int() local 7274 if (APF.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact) != in getConstantFPSplatPow2ToLog2Int()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 13605 APFloat APF = Op0CN->getValueAPF(); in LowerFCOPYSIGN() local 13607 if (APF.isPosZero()) in LowerFCOPYSIGN() 13611 APF.clearSign(); in LowerFCOPYSIGN() 13612 CV[0] = ConstantFP::get(*Context, APF); in LowerFCOPYSIGN()
|