Searched refs:APF (Results 1 – 9 of 9) sorted by relevance
/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 | 2037 APFloat APF = APFloat(Fp->getValueAPF()); // make a copy in printFPConstant() local 2045 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &ignored); in printFPConstant() 2049 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printFPConstant() 2053 APInt API = APF.bitcastToAPInt(); in printFPConstant()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1309 APFloat APF(V); in GetConstantFoldFPValue() local 1311 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue() 1312 return ConstantFP::get(Ty->getContext(), APF); in GetConstantFoldFPValue() 1405 APFloat APF = Op->getValueAPF(); in getValueAsDouble() local 1406 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble() 1407 return APF.convertToDouble(); in getValueAsDouble()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 652 APFloat APF = APFloat(MI->getOperand(0).getFPImm()->getValueAPF()); in emitDebugValueComment() local 654 OS << (double)APF.convertToFloat(); in emitDebugValueComment() 656 OS << APF.convertToDouble(); in emitDebugValueComment() 661 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in emitDebugValueComment() 663 OS << "(long double) " << APF.convertToDouble(); in emitDebugValueComment()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 219 APFloat APF = APFloat(CFP->getValueAPF()); // copy in printCFP() local 221 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printCFP() 226 sprintf(Buffer, "%A", APF.convertToDouble()); in printCFP() 230 APF.bitwiseIsEqual(APFloat(atof(Buffer)))) { in printCFP()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 1267 APFloat APF = CN->getValueAPF(); in SelectConstantFP() local 1270 CurDAG->getTargetConstantFP(APF.convertToFloat(), MVT::f32)); in SelectConstantFP() 1274 CurDAG->getTargetConstantFP(APF.convertToDouble(), MVT::f64)); in SelectConstantFP()
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 225 static bool ConvertToSInt(const APFloat &APF, int64_t &IntVal) { in ConvertToSInt() argument 229 if (APF.convertToInteger(&UIntVal, 64, true, APFloat::rmTowardZero, in ConvertToSInt()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 1408 APFloat APF = APFloat(APFloat::PPCDoubleDouble, APInt(128, TwoE31)); in ExpandFloatOp_FP_TO_UINT() local 1409 SDValue Tmp = DAG.getConstantFP(APF, MVT::ppcf128); in ExpandFloatOp_FP_TO_UINT()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 9078 APFloat APF = C->getValueAPF(); in isConstVecPow2() local 9079 if (APF.convertToInteger(&cN, 64, isSigned, APFloat::rmTowardZero, &isExact) in isConstVecPow2()
|