/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 | 379 #define APF (1 << 2) in v3d_qpu_flags_pack() macro 388 { APF, 0 }, in v3d_qpu_flags_pack() 395 { MC | APF, (1 << 5) | (1 << 4) }, in v3d_qpu_flags_pack() 406 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-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/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-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()
|
D | SelectionDAG.cpp | 1253 APFloat APF = APFloat(Val); in getConstantFP() local 1254 APF.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP() 1256 return getConstantFP(APF, DL, VT, isTarget); in getConstantFP() 7229 const APFloat &APF = CN->getValueAPF(); in getConstantFPSplatPow2ToLog2Int() local 7230 if (APF.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact) != in getConstantFPSplatPow2ToLog2Int()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1339 APFloat APF = APFloat(Val); in getConstantFP() local 1340 APF.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP() 1342 return getConstantFP(APF, DL, VT, isTarget); in getConstantFP() 8620 const APFloat &APF = CN->getValueAPF(); in getConstantFPSplatPow2ToLog2Int() local 8621 if (APF.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact) != in getConstantFPSplatPow2ToLog2Int()
|
D | LegalizeDAG.cpp | 293 APFloat APF = CFP->getValueAPF(); in ExpandConstantFP() local 299 if (!APF.isSignaling()) { in ExpandConstantFP() 302 if (ConstantFPSDNode::isValueValidForType(SVT, APF) && in ExpandConstantFP()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 7714 const APFloat &APF = CRHS->getValueAPF(); in performSetCCCombine() local 7715 if (APF.isInfinity() && !APF.isNegative()) { in performSetCCCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 7068 APFloat APF = APFloat(APFloat::PPCDoubleDouble(), APInt(128, TwoE31)); in LowerFP_TO_INT() local 7069 SDValue Tmp = DAG.getConstantFP(APF, dl, MVT::ppcf128); in LowerFP_TO_INT()
|