Home
last modified time | relevance | path

Searched refs:apf (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp699 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-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.cpp1457 APFloat apf(semantics, rs1); in FCVT_f2i() local
1458 return inst.rd.WriteAPFloat(m_emu, apf); in FCVT_f2i()
1475 APFloat apf((&apInt->*f)()); in FMV_i2f() local
1476 return inst.rd.WriteAPFloat(m_emu, apf); in FMV_i2f()
1529 APFloat apf((float(d))); in operator ()()
1530 return inst.rd.WriteAPFloat(m_emu, apf); in operator ()()
1538 APFloat apf((double(f))); in operator ()()
1539 return inst.rd.WriteAPFloat(m_emu, apf); in operator ()()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp285 APFloat apf(DestTy->getFltSemantics(), in ConstantFoldCastInstruction() local
287 apf.convertFromAPInt(api, opc==Instruction::SIToFP, in ConstantFoldCastInstruction()
289 return ConstantFP::get(V->getContext(), apf); in ConstantFoldCastInstruction()
H A DAsmWriter.cpp1455 APFloat apf = APF; in WriteConstantInternal() local
1461 bool IsSNAN = apf.isSignaling(); in WriteConstantInternal()
1462 apf.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, in WriteConstantInternal()
1465 APInt Payload = apf.bitcastToAPInt(); in WriteConstantInternal()
1466 apf = APFloat::getSNaN(APFloat::IEEEdouble(), apf.isNegative(), in WriteConstantInternal()
1470 Out << format_hex(apf.bitcastToAPInt().getZExtValue(), 0, /*Upper=*/true); in WriteConstantInternal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6120 APFloat apf(EVTToAPFloatSemantics(VT), in FoldConstantArithmetic() local
6122 (void)apf.convertFromAPInt(Val, Opcode == ISD::SINT_TO_FP, in FoldConstantArithmetic()
6124 return getConstantFP(apf, DL, VT); in FoldConstantArithmetic()
/freebsd-14.2/contrib/sqlite3/
H A Dshell.c736 FILE* apf[3] = { pfIn, pfOut, pfErr }; in consoleClassifySetup() local
740 if( streamOfConsole(apf[ix], ppst) ){ in consoleClassifySetup()
744 if( ix > 0 ) fflush(apf[ix]); in consoleClassifySetup()