Searched refs:apf (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 699 APFloat apf = APFloat::getZero(APFloat::x87DoubleExtended()); in getConstantValue() local 700 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue() 703 GV.IntVal = apf.bitcastToAPInt(); in getConstantValue() 714 APFloat apf = APFloat::getZero(APFloat::x87DoubleExtended()); in getConstantValue() local 715 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue() 718 GV.IntVal = apf.bitcastToAPInt(); in getConstantValue() 731 APFloat apf = APFloat(APFloat::x87DoubleExtended(), GV.IntVal); in getConstantValue() local 734 (void)apf.convertToInteger(MutableArrayRef(v), BitWidth, in getConstantValue()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/ |
| H A D | EmulateInstructionRISCV.cpp | 1472 APFloat apf(semantics, rs1); in FCVT_f2i() local 1473 return inst.rd.WriteAPFloat(m_emu, apf); in FCVT_f2i() 1490 APFloat apf((&apInt->*f)()); in FMV_i2f() local 1491 return inst.rd.WriteAPFloat(m_emu, apf); in FMV_i2f() 1544 APFloat apf((float(d))); in operator ()() 1545 return inst.rd.WriteAPFloat(m_emu, apf); in operator ()() 1553 APFloat apf((double(f))); in operator ()() 1554 return inst.rd.WriteAPFloat(m_emu, apf); in operator ()()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 225 APFloat apf(DestTy->getFltSemantics(), in ConstantFoldCastInstruction() local 227 apf.convertFromAPInt(api, opc==Instruction::SIToFP, in ConstantFoldCastInstruction() 229 return ConstantFP::get(V->getContext(), apf); in ConstantFoldCastInstruction()
|
| H A D | AsmWriter.cpp | 1479 APFloat apf = APF; in WriteAPFloatInternal() local 1486 bool IsSNAN = apf.isSignaling(); in WriteAPFloatInternal() 1487 apf.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, in WriteAPFloatInternal() 1490 APInt Payload = apf.bitcastToAPInt(); in WriteAPFloatInternal() 1491 apf = in WriteAPFloatInternal() 1492 APFloat::getSNaN(APFloat::IEEEdouble(), apf.isNegative(), &Payload); in WriteAPFloatInternal() 1496 Out << format_hex(apf.bitcastToAPInt().getZExtValue(), 0, /*Upper=*/true); in WriteAPFloatInternal()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 6442 APFloat apf(EVTToAPFloatSemantics(VT), in FoldConstantArithmetic() local 6444 (void)apf.convertFromAPInt(Val, Opcode == ISD::SINT_TO_FP, in FoldConstantArithmetic() 6446 return getConstantFP(apf, DL, VT); in FoldConstantArithmetic()
|