Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp687 APFloat apf = APFloat::getZero(APFloat::x87DoubleExtended()); in getConstantValue() local
688 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
691 GV.IntVal = apf.bitcastToAPInt(); in getConstantValue()
702 APFloat apf = APFloat::getZero(APFloat::x87DoubleExtended()); in getConstantValue() local
703 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
706 GV.IntVal = apf.bitcastToAPInt(); in getConstantValue()
719 APFloat apf = APFloat(APFloat::x87DoubleExtended(), GV.IntVal); in getConstantValue() local
722 (void)apf.convertToInteger(makeMutableArrayRef(v), BitWidth, in getConstantValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAsmWriter.cpp1382 APFloat apf = APF; in WriteConstantInternal() local
1388 bool IsSNAN = apf.isSignaling(); in WriteConstantInternal()
1389 apf.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, in WriteConstantInternal()
1392 APInt Payload = apf.bitcastToAPInt(); in WriteConstantInternal()
1393 apf = APFloat::getSNaN(APFloat::IEEEdouble(), apf.isNegative(), in WriteConstantInternal()
1397 Out << format_hex(apf.bitcastToAPInt().getZExtValue(), 0, /*Upper=*/true); in WriteConstantInternal()
H A DConstantFold.cpp481 APFloat apf(DestTy->getFltSemantics(), in ConstantFoldCastInstruction() local
483 apf.convertFromAPInt(api, opc==Instruction::SIToFP, in ConstantFoldCastInstruction()
485 return ConstantFP::get(V->getContext(), apf); in ConstantFoldCastInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp4678 APFloat apf(EVTToAPFloatSemantics(VT), in getNode() local
4680 (void)apf.convertFromAPInt(Val, in getNode()
4683 return getConstantFP(apf, DL, VT); in getNode()