Home
last modified time | relevance | path

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

/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp603 APFloat apf = APFloat::getZero(APFloat::x87DoubleExtended); in getConstantValue() local
604 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
607 GV.IntVal = apf.bitcastToAPInt(); in getConstantValue()
618 APFloat apf = APFloat::getZero(APFloat::x87DoubleExtended); in getConstantValue() local
619 (void)apf.convertFromAPInt(GV.IntVal, in getConstantValue()
622 GV.IntVal = apf.bitcastToAPInt(); in getConstantValue()
635 APFloat apf = APFloat(APFloat::x87DoubleExtended, GV.IntVal); in getConstantValue() local
638 (void)apf.convertToInteger(&v, BitWidth, in getConstantValue()
/external/llvm/lib/IR/
DAsmWriter.cpp843 APFloat apf = CFP->getValueAPF(); in WriteConstantInternal() local
846 apf.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in WriteConstantInternal()
849 utohex_buffer(uint64_t(apf.bitcastToAPInt().getZExtValue()), in WriteConstantInternal()
DConstantFold.cpp650 APFloat apf(DestTy->getFltSemantics(), in ConstantFoldCastInstruction() local
652 (void)apf.convertFromAPInt(api, in ConstantFoldCastInstruction()
655 return ConstantFP::get(V->getContext(), apf); in ConstantFoldCastInstruction()
DConstants.cpp583 APFloat apf = cast<ConstantFP>(Constant::getNullValue(Ty))->getValueAPF(); in getNegativeZero() local
584 apf.changeSign(); in getNegativeZero()
585 return get(Context, apf); in getNegativeZero()
/external/llvm/test/Transforms/InstCombine/
D2009-01-19-fmod-constant-float-specials.ll6 ; ModuleID = 'apf.c'
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1072 APFloat apf = APFloat(Val); in getConstantFP() local
1073 apf.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
1075 return getConstantFP(apf, VT, isTarget); in getConstantFP()
2434 APFloat apf(EVTToAPFloatSemantics(VT), in getNode() local
2436 (void)apf.convertFromAPInt(Val, in getNode()
2439 return getConstantFP(apf, VT); in getNode()
DLegalizeDAG.cpp2912 APFloat apf(DAG.EVTToAPFloatSemantics(VT), in ExpandNode() local
2915 (void)apf.convertFromAPInt(x, false, APFloat::rmNearestTiesToEven); in ExpandNode()
2916 Tmp1 = DAG.getConstantFP(apf, VT); in ExpandNode()