Home
last modified time | relevance | path

Searched refs:getConstantFP (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2073 DAG.getConstantFP(APInt(32, 0x4f800000).bitsToFloat(), DL, MVT::f32), in LowerUDIVREM64()
2077 DAG.getConstantFP(APInt(32, 0x5f7ffffc).bitsToFloat(), DL, MVT::f32)); in LowerUDIVREM64()
2079 DAG.getConstantFP(APInt(32, 0x2f800000).bitsToFloat(), DL, MVT::f32)); in LowerUDIVREM64()
2082 DAG.getConstantFP(APInt(32, 0xcf800000).bitsToFloat(), DL, MVT::f32), in LowerUDIVREM64()
2374 const SDValue Zero = DAG.getConstantFP(0.0, SL, MVT::f64); in LowerFCEIL()
2375 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFCEIL()
2458 SDValue C1 = DAG.getConstantFP(C1Val, SL, MVT::f64); in LowerFROUNDEVEN()
2469 SDValue C2 = DAG.getConstantFP(C2Val, SL, MVT::f64); in LowerFROUNDEVEN()
2511 const SDValue Zero = DAG.getConstantFP(0.0, SL, VT); in LowerFROUND()
2512 const SDValue One = DAG.getConstantFP(1.0, SL, VT); in LowerFROUND()
[all …]
H A DR600ISelLowering.cpp694 DAG.getConstantFP(0.15915494309, DL, MVT::f32)), in LowerTrig()
695 DAG.getConstantFP(0.5, DL, MVT::f32))); in LowerTrig()
709 DAG.getConstantFP(-0.5, DL, MVT::f32))); in LowerTrig()
714 DAG.getConstantFP(numbers::pif, DL, MVT::f32)); in LowerTrig()
748 Op, DAG.getConstantFP(1.0f, DL, MVT::f32), in lowerFP_TO_UINT()
758 Op, DAG.getConstantFP(-1.0f, DL, MVT::f32), in lowerFP_TO_SINT()
920 HWTrue = DAG.getConstantFP(1.0f, DL, CompareVT); in LowerSELECT_CC()
921 HWFalse = DAG.getConstantFP(0.0f, DL, CompareVT); in LowerSELECT_CC()
H A DSIISelLowering.cpp8468 DAG.getConstantFP(Max, DL, VT)); in LowerINTRINSIC_WO_CHAIN()
8470 DAG.getConstantFP(Min, DL, VT)); in LowerINTRINSIC_WO_CHAIN()
10511 SDValue One = DAG.getConstantFP(1.0, SL, VT); in lowerFastUnsafeFDIV64()
10598 const SDValue K0 = DAG.getConstantFP(K0Val, SL, MVT::f32); in lowerFDIV_FAST()
10601 const SDValue K1 = DAG.getConstantFP(K1Val, SL, MVT::f32); in lowerFDIV_FAST()
10603 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in lowerFDIV_FAST()
10648 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in LowerFDIV32()
10779 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFDIV64()
10870 SDValue Inf = DAG.getConstantFP( in LowerFFREXP()
10991 SDValue ScaleThreshold = DAG.getConstantFP(0x1.0p-96f, DL, VT); in lowerFSQRTF32()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h89 const ConstantFP *getConstantFP() const { return Constant.CFP; } in getConstantFP() function
H A DDwarfDebug.cpp2688 DwarfExpr.addConstantFP(Entry.getConstantFP()->getValueAPF(), AP); in emitDebugLocValue()
2689 } else if (Entry.getConstantFP() in emitDebugLocValue()
2694 Entry.getConstantFP()->getValueAPF().bitcastToAPInt()); in emitDebugLocValue()
2698 << Entry.getConstantFP() in emitDebugLocValue()
H A DDwarfCompileUnit.cpp801 addConstantFPValue(VariableDie, Entry->getConstantFP()); in applyConcreteDbgVariableAttributes()
842 APInt RawBytes = Entry.getConstantFP()->getValueAPF().bitcastToAPInt(); in applyConcreteDbgVariableAttributes()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1773 SDValue SelectionDAG::getConstantFP(const APFloat &V, const SDLoc &DL, EVT VT, in getConstantFP() function in SelectionDAG
1775 return getConstantFP(*ConstantFP::get(*getContext(), V), DL, VT, isTarget); in getConstantFP()
1778 SDValue SelectionDAG::getConstantFP(const ConstantFP &V, const SDLoc &DL, in getConstantFP() function in SelectionDAG
1811 SDValue SelectionDAG::getConstantFP(double Val, const SDLoc &DL, EVT VT, in getConstantFP() function in SelectionDAG
1815 return getConstantFP(APFloat((float)Val), DL, VT, isTarget); in getConstantFP()
1817 return getConstantFP(APFloat(Val), DL, VT, isTarget); in getConstantFP()
1824 return getConstantFP(APF, DL, VT, isTarget); in getConstantFP()
5997 return getConstantFP(0.0, DL, VT); in getNode()
6446 return getConstantFP(apf, DL, VT); in FoldConstantArithmetic()
6459 return getConstantFP(FPV, DL, VT); in FoldConstantArithmetic()
[all …]
H A DLegalizeFloatTypes.cpp1496 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP()
1499 Hi = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP()
1780 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_FP_EXTEND()
1937 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_LOAD()
1967 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_XINT_TO_FP()
2032 SDValue NewLo = DAG.getConstantFP( in ExpandFloatRes_XINT_TO_FP()
H A DDAGCombiner.cpp16609 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
16613 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
16642 DAG.getConstantFP(1.0, DL, VT)); in visitFADD()
16651 DAG.getConstantFP(2.0, DL, VT)); in visitFADD()
16665 DAG.getConstantFP(1.0, DL, VT)); in visitFADD()
16674 DAG.getConstantFP(2.0, DL, VT)); in visitFADD()
16686 DAG.getConstantFP(3.0, DL, VT)); in visitFADD()
16697 DAG.getConstantFP(3.0, DL, VT)); in visitFADD()
16707 DAG.getConstantFP(4.0, DL, VT)); in visitFADD()
16790 return DAG.getConstantFP(0.0f, DL, VT); in visitFSUB()
[all …]
H A DTargetLowering.cpp2962 TLO.DAG.getConstantFP( in SimplifyDemandedBits()
7214 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest()
7229 SDValue NormC = DAG.getConstantFP(SmallestNorm, DL, VT); in getSqrtInputTest()
7289 SDValue CFP = DAG.getConstantFP(V, DL, VT); in getNegatedExpression()
7325 Ops.push_back(DAG.getConstantFP(V, DL, C.getValueType())); in getNegatedExpression()
8283 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in expandFP_TO_UINT()
8307 DAG.getConstantFP(0.0, dl, SrcVT), Cst); in expandFP_TO_UINT()
8375 SDValue TwoP84PlusTwoP52 = DAG.getConstantFP( in expandUINT_TO_FP()
8512 DAG.getConstantFP(*FPNaN, DL, VT), MinMax, Flags); in expandFMINIMUM_FMAXIMUM()
8519 DAG.getConstantFP(0.0, DL, VT), ISD::SETEQ); in expandFMINIMUM_FMAXIMUM()
[all …]
H A DLegalizeVectorOps.cpp1625 DAG.getConstantFP(1ULL << (BW / 2), DL, Node->getValueType(0)); in ExpandUINT_TO_FLOAT()
1672 SDValue Zero = DAG.getConstantFP(-0.0, DL, Node->getValueType(0)); in ExpandFNEG()
H A DLegalizeDAG.cpp1717 SDValue Zero = DAG.getConstantFP(0.0, DL, FloatVT); in ExpandFABS()
2462 const SDValue ScaleUpVal = DAG.getConstantFP(ScaleUpK, dl, VT); in expandLdexp()
2485 const SDValue ScaleDownVal = DAG.getConstantFP(ScaleDownK, dl, VT); in expandLdexp()
2577 SDValue ScaleUpK = DAG.getConstantFP(ScaleUpKVal, dl, VT); in expandFrexp()
2696 SDValue Bias = DAG.getConstantFP( in ExpandLegalINT_TO_FP()
3246 Results.push_back(DAG.getConstantFP(0, dl, VT)); in ExpandNode()
H A DSelectionDAGBuilder.cpp1823 return DAG.getConstantFP(*CFP, getCurSDLoc(), VT); in getValueImpl()
1881 Constants[i] = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl()
1923 Op = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl()
5387 return DAG.getConstantFP(APFloat(APFloat::IEEEsingle(), APInt(32, Flt)), dl, in getF32Constant()
5496 DAG.getConstantFP(numbers::log2ef, dl, MVT::f32)); in expandExp()
5518 DAG.getConstantFP(numbers::ln2f, dl, MVT::f32)); in expandLog()
5843 return DAG.getConstantFP(1.0, DL, LHS.getValueType()); in ExpandPowI()
5875 DAG.getConstantFP(1.0, DL, LHS.getValueType()), Res); in ExpandPowI()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h714 SDValue getConstantFP(double Val, const SDLoc &DL, EVT VT,
716 SDValue getConstantFP(const APFloat &Val, const SDLoc &DL, EVT VT,
718 SDValue getConstantFP(const ConstantFP &V, const SDLoc &DL, EVT VT,
721 return getConstantFP(Val, DL, VT, true);
724 return getConstantFP(Val, DL, VT, true);
727 return getConstantFP(Val, DL, VT, true);
H A DTargetLowering.h5169 return DAG.getConstantFP(0.0, SDLoc(Operand), Operand.getValueType()); in getSqrtResultForDenormInput()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2589 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 23.0), SL, VT), in LowerFROUND32()
2595 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT); in LowerFROUND32()
2615 DAG.getConstantFP(0.5, SL, VT)); in LowerFROUND64()
2621 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT); in LowerFROUND64()
2623 DAG.getConstantFP(0, SL, VT), in LowerFROUND64()
2632 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 52.0), SL, VT), in LowerFROUND64()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp3844 Ops.push_back(DAG.getConstantFP(FV, dl, EltVT)); in getConstVector()
3847 Ops.push_back(DAG.getConstantFP(FV, dl, EltVT)); in getConstVector()
3876 Vec = DAG.getConstantFP(+0.0, dl, MVT::v4f32); in getZeroVector()
3879 Vec = DAG.getConstantFP(+0.0, dl, VT); in getZeroVector()
6430 : DAG.getConstantFP(+0.0, SDLoc(Op), ShufSVT); in getShuffleScalarElt()
6952 : DAG.getConstantFP(0.0, DL, VT); in EltsFromConsecutiveLoads()
7060 : DAG.getConstantFP(0.0, DL, VT); in EltsFromConsecutiveLoads()
10498 Zero = DAG.getConstantFP(0.0, DL, EltVT); in lowerShuffleAsBitMask()
10501 AllOnes = DAG.getConstantFP(AllOnesValue, DL, EltVT); in lowerShuffleAsBitMask()
19561 SDValue Bias = DAG.getConstantFP( in LowerUINT_TO_FP_i32()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2268 ConstLanes.push_back(DAG.getConstantFP(0, DL, LaneT)); in LowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3081 DAG.getConstantFP(MaxVal, DL, ContainerVT.getVectorElementType()); in lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND()
3191 DAG.getConstantFP(MaxVal, DL, ContainerVT.getVectorElementType()); in lowerVectorStrictFTRUNC_FCEIL_FFLOOR_FROUND()
3270 SDValue MaxValNode = DAG.getConstantFP(MaxVal, DL, VT); in lowerFTRUNC_FCEIL_FFLOOR_FROUND()
9896 DAG.getConstantFP(Flags.hasNoSignedZeros() ? 0.0 : -0.0, DL, EltVT); in getRVVFPReductionOpAndOperands()
9957 DAG.getConstantFP(APFloat::getNaN(DAG.EVTToAPFloatSemantics(ResVT)), DL, in lowerFPVECREDUCE()
10007 DAG.getConstantFP(APFloat::getNaN(DAG.EVTToAPFloatSemantics(ResVT)), DL, in lowerVPREDUCE()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2895 return DAG.getConstantFP(0.0, dl, Ty); in getZero()
H A DHexagonISelLoweringHVX.cpp2254 SDValue Fp16Ones = DAG.getConstantFP(FloatVal, dl, ArgTy); in LowerHvxFpExtend()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp8471 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in LowerFP_TO_INT()
8488 dl, SrcVT, Sel, DAG.getConstantFP(0.0, dl, SrcVT), Cst); in LowerFP_TO_INT()
8799 DAG.getConstantFP(1.0, dl, Op.getValueType()), in LowerINT_TO_FP()
8800 DAG.getConstantFP(0.0, dl, Op.getValueType())); in LowerINT_TO_FP()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp11351 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest()
27312 PassThru = DAG.getConstantFP(0, DL, ContainerVT); in LowerFixedLengthVectorMLoadToSVE()