/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXMCExpr.cpp | 27 APFloat APF = getAPFloat(); in printImpl() local 36 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl() 41 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl() 46 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl() 50 APInt API = APF.bitcastToAPInt(); in printImpl()
|
D | NVPTXAsmPrinter.cpp | 1693 APFloat APF = APFloat(Fp->getValueAPF()); // make a copy in printFPConstant() local 1701 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant() 1705 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant() 1709 APInt API = APF.bitcastToAPInt(); in printFPConstant()
|
/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 | 1708 APFloat APF = APFloat(Fp->getValueAPF()); // make a copy in printFPConstant() local 1716 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &ignored); in printFPConstant() 1720 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printFPConstant() 1724 APInt API = APF.bitcastToAPInt(); in printFPConstant()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | Utils.cpp | 233 APFloat APF(Val); in getAPFloatFromSize() local 234 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize() 235 return APF; in getAPFloatFromSize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | AsmWriter.cpp | 1290 const APFloat &APF = CFP->getValueAPF(); in WriteConstantInternal() local 1291 if (&APF.getSemantics() == &APFloat::IEEEsingle() || in WriteConstantInternal() 1292 &APF.getSemantics() == &APFloat::IEEEdouble()) { in WriteConstantInternal() 1299 bool isDouble = &APF.getSemantics() == &APFloat::IEEEdouble(); in WriteConstantInternal() 1300 bool isInf = APF.isInfinity(); in WriteConstantInternal() 1301 bool isNaN = APF.isNaN(); in WriteConstantInternal() 1303 double Val = isDouble ? APF.convertToDouble() : APF.convertToFloat(); in WriteConstantInternal() 1305 APF.toString(StrVal, 6, 0, false); in WriteConstantInternal() 1326 APFloat apf = APF; in WriteConstantInternal() 1339 APInt API = APF.bitcastToAPInt(); in WriteConstantInternal() [all …]
|
D | Core.cpp | 1172 APFloat APF = cFP->getValueAPF(); in LLVMConstRealGetDouble() local 1173 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &APFLosesInfo); in LLVMConstRealGetDouble() 1175 return APF.convertToDouble(); in LLVMConstRealGetDouble()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 867 APFloat APF = APFloat(MI->getOperand(0).getFPImm()->getValueAPF()); in emitDebugValueComment() local 869 OS << (double)APF.convertToFloat(); in emitDebugValueComment() 871 OS << APF.convertToDouble(); in emitDebugValueComment() 876 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, in emitDebugValueComment() 878 OS << "(long double) " << APF.convertToDouble(); in emitDebugValueComment() 2197 static void emitGlobalConstantFP(APFloat APF, Type *ET, AsmPrinter &AP); 2347 static void emitGlobalConstantFP(APFloat APF, Type *ET, AsmPrinter &AP) { in emitGlobalConstantFP() argument 2348 APInt API = APF.bitcastToAPInt(); in emitGlobalConstantFP() 2354 APF.toString(StrVal); in emitGlobalConstantFP()
|
/external/mesa3d/src/broadcom/qpu/ |
D | qpu_pack.c | 378 #define APF (1 << 2) in v3d_qpu_flags_pack() macro 387 { APF, 0 }, in v3d_qpu_flags_pack() 394 { MC | APF, (1 << 5) | (1 << 4) }, in v3d_qpu_flags_pack() 405 flags_present |= APF; in v3d_qpu_flags_pack()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1365 APFloat APF(V); in GetConstantFoldFPValue() local 1367 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue() 1368 return ConstantFP::get(Ty->getContext(), APF); in GetConstantFoldFPValue() 1456 APFloat APF = Op->getValueAPF(); in getValueAsDouble() local 1457 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble() 1458 return APF.convertToDouble(); in getValueAsDouble()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1493 APFloat APF(V); in GetConstantFoldFPValue() local 1495 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue() 1496 return ConstantFP::get(Ty->getContext(), APF); in GetConstantFoldFPValue() 1585 APFloat APF = Op->getValueAPF(); in getValueAsDouble() local 1586 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble() 1587 return APF.convertToDouble(); in getValueAsDouble()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 565 APFloat APF = APFloat(MI->getOperand(0).getFPImm()->getValueAPF()); in EmitDebugValueComment() local 567 OS << (double)APF.convertToFloat(); in EmitDebugValueComment() 569 OS << APF.convertToDouble(); in EmitDebugValueComment() 574 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in EmitDebugValueComment() 576 OS << "(long double) " << APF.convertToDouble(); in EmitDebugValueComment()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/GlobalISel/ |
D | PatternMatchTest.cpp | 311 APFloat APF((float).5); in TEST() local 312 auto *CFP = ConstantFP::get(Context, APF); in TEST()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 750 APFloat APF = APFloat(MI->getOperand(0).getFPImm()->getValueAPF()); in emitDebugValueComment() local 752 OS << (double)APF.convertToFloat(); in emitDebugValueComment() 754 OS << APF.convertToDouble(); in emitDebugValueComment() 759 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in emitDebugValueComment() 761 OS << "(long double) " << APF.convertToDouble(); in emitDebugValueComment()
|
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/ |
D | CBackend.cpp | 656 APFloat APF = APFloat(CFP->getValueAPF()); // copy in isFPCSafeToPrint() local 658 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in isFPCSafeToPrint() 661 sprintf(Buffer, "%a", APF.convertToDouble()); in isFPCSafeToPrint() 665 return APF.bitwiseIsEqual(APFloat(atof(Buffer))); in isFPCSafeToPrint() 668 std::string StrVal = ftostr(APF); in isFPCSafeToPrint() 679 return APF.bitwiseIsEqual(APFloat(atof(StrVal.c_str()))); in isFPCSafeToPrint()
|
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 204 APFloat APF = APFloat(CFP->getValueAPF()); // copy in printCFP() local 206 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printCFP() 211 sprintf(Buffer, "%A", APF.convertToDouble()); in printCFP() 215 APF.bitwiseIsEqual(APFloat(atof(Buffer)))) { in printCFP()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 231 static bool ConvertToSInt(const APFloat &APF, int64_t &IntVal) { in ConvertToSInt() argument 233 if (&APF.getSemantics() == &APFloat::PPCDoubleDouble) in ConvertToSInt() 237 if (APF.convertToInteger(&UIntVal, 64, true, APFloat::rmTowardZero, in ConvertToSInt()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 923 const APFloat &APF = CN->getValueAPF(); in SelectConstantFP() local 928 APF.convertToFloat(), dl, MVT::f32))); in SelectConstantFP() 935 APF.convertToDouble(), dl, MVT::f64))); in SelectConstantFP()
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 379 APFloat APF = getFPImm()->getValueAPF(); in print() local 381 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &Unused); in print() 382 OS << "half " << APF.convertToFloat(); in print()
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 226 static bool ConvertToSInt(const APFloat &APF, int64_t &IntVal) { in ConvertToSInt() argument 230 if (APF.convertToInteger(&UIntVal, 64, true, APFloat::rmTowardZero, in ConvertToSInt()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 1382 APFloat APF = APFloat(APInt(128, TwoE31)); in ExpandFloatOp_FP_TO_UINT() local 1383 SDValue Tmp = DAG.getConstantFP(APF, MVT::ppcf128); in ExpandFloatOp_FP_TO_UINT()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 267 static bool ConvertToSInt(const APFloat &APF, int64_t &IntVal) { in ConvertToSInt() argument 271 if (APF.convertToInteger(makeMutableArrayRef(UIntVal), 64, true, in ConvertToSInt()
|
/external/llvm/lib/IR/ |
D | Core.cpp | 981 APFloat APF = cFP->getValueAPF(); in LLVMConstRealGetDouble() local 982 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &APFLosesInfo); in LLVMConstRealGetDouble() 984 return APF.convertToDouble(); in LLVMConstRealGetDouble()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 2847 const APFloat &APF = CRHS->getValueAPF(); in performSetCCCombine() local 2848 if (APF.isInfinity() && !APF.isNegative()) { in performSetCCCombine()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 1634 APFloat APF = APFloat(APFloat::PPCDoubleDouble, APInt(128, TwoE31)); in ExpandFloatOp_FP_TO_UINT() local 1635 SDValue Tmp = DAG.getConstantFP(APF, dl, MVT::ppcf128); in ExpandFloatOp_FP_TO_UINT()
|