Home
last modified time | relevance | path

Searched refs:APF (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.cpp26 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()
DNVPTXAsmPrinter.cpp1680 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/
DConstantFolding.cpp1314 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/
DAsmPrinter.cpp744 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/
DCPPBackend.cpp222 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/
DHexagonISelDAGToDAG.cpp1067 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/
DIndVarSimplify.cpp260 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/
DSIISelLowering.cpp1973 const APFloat &APF = CRHS->getValueAPF(); in performSetCCCombine() local
1974 if (APF.isInfinity() && !APF.isNegative()) { in performSetCCCombine()
/external/llvm/lib/IR/
DCore.cpp895 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/
DLegalizeFloatTypes.cpp1616 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()
DSelectionDAG.cpp7273 APFloat APF = CN->getValueAPF(); in getConstantFPSplatPow2ToLog2Int() local
7274 if (APF.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact) != in getConstantFPSplatPow2ToLog2Int()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp13605 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()