Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2600 SDValue One = DAG.getConstantFP(1.0, SL, VT); in getScaledLogInput()
2637 SDValue Zero = DAG.getConstantFP(0.0, SL, VT); in LowerFLOG2()
2735 SDValue Zero = DAG.getConstantFP(0.0f, DL, VT); in LowerFLOGCommon()
2826 SDValue Zero = DAG.getConstantFP(0.0, SL, VT); in lowerFEXP2()
2835 SDValue One = DAG.getConstantFP(1.0, SL, VT); in lowerFEXP2()
3047 SDValue Zero = DAG.getConstantFP(0.0, SL, VT); in lowerFEXP()
3429 K0 = DAG.getConstantFP( in LowerFP_TO_INT64()
3432 K1 = DAG.getConstantFP( in LowerFP_TO_INT64()
3436 K0 = DAG.getConstantFP( in LowerFP_TO_INT64()
3438 K1 = DAG.getConstantFP( in LowerFP_TO_INT64()
[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()
922 HWTrue = DAG.getConstantFP(1.0f, DL, CompareVT); in LowerSELECT_CC()
923 HWFalse = DAG.getConstantFP(0.0f, DL, CompareVT); in LowerSELECT_CC()
H A DSIISelLowering.cpp10322 SDValue One = DAG.getConstantFP(1.0, SL, VT); in lowerFastUnsafeFDIV64()
10682 SDValue Inf = DAG.getConstantFP( in LowerFFREXP()
10837 SDValue Zero = DAG.getConstantFP(0.0f, DL, VT); in lowerFSQRTF32()
10851 SDValue Half = DAG.getConstantFP(0.5f, DL, VT); in lowerFSQRTF32()
10920 SDValue Half = DAG.getConstantFP(0.5, DL, MVT::f64); in lowerFSQRTF64()
12305 return DCI.DAG.getConstantFP( in performRcpCombine()
12625 return DAG.getConstantFP( in getCanonicalConstantFP()
12638 return DAG.getConstantFP(CanonicalQNaN, SL, VT); in getCanonicalConstantFP()
12646 return DAG.getConstantFP(CanonicalQNaN, SL, VT); in getCanonicalConstantFP()
12650 return DAG.getConstantFP(C, SL, VT); in getCanonicalConstantFP()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp5673 return getConstantFP(0.0, DL, VT); in getNode()
6448 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
6451 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
6454 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
6457 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
6460 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
6463 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
6482 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
7092 return getConstantFP(V1, DL, VT); in getNode()
12843 return getConstantFP(-0.0, DL, VT); in getNeutralElement()
[all …]
H A DLegalizeFloatTypes.cpp1379 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP()
1382 Hi = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP()
1627 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_FP_EXTEND()
1757 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_LOAD()
1787 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_XINT_TO_FP()
1852 SDValue NewLo = DAG.getConstantFP( in ExpandFloatRes_XINT_TO_FP()
H A DDAGCombiner.cpp16307 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
16311 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
16488 return DAG.getConstantFP(0.0f, DL, VT); in visitFSUB()
16992 SDValue FPOne = DAG.getConstantFP(1.0, DL, VT); in combineRepeatedFPDivisors()
17386 return DAG.getConstantFP(0.0, SDLoc(N), VT); in visitSINT_TO_FP()
17438 return DAG.getConstantFP(0.0, SDLoc(N), VT); in visitUINT_TO_FP()
22280 return DAG.getConstantFP(CstFP, DL, ScalarVT); in visitEXTRACT_VECTOR_ELT()
27684 SDValue FPOne = DAG.getConstantFP(1.0, DL, VT); in BuildDivEstimate()
27732 SDValue ThreeHalves = DAG.getConstantFP(1.5, DL, VT); in buildSqrtNROneConst()
27764 SDValue MinusThree = DAG.getConstantFP(-3.0, DL, VT); in buildSqrtNRTwoConst()
[all …]
H A DTargetLowering.cpp2924 TLO.DAG.getConstantFP( in SimplifyDemandedBits()
7071 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest()
7086 SDValue NormC = DAG.getConstantFP(SmallestNorm, DL, VT); in getSqrtInputTest()
7146 SDValue CFP = DAG.getConstantFP(V, DL, VT); in getNegatedExpression()
7182 Ops.push_back(DAG.getConstantFP(V, DL, C.getValueType())); in getNegatedExpression()
8143 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in expandFP_TO_UINT()
8235 SDValue TwoP84PlusTwoP52 = DAG.getConstantFP( in expandUINT_TO_FP()
8405 DAG.getConstantFP(0.0, DL, OperandVT), in expandIS_FPCLASS()
8423 DAG.getConstantFP(APFloat::getInf(Semantics), DL, OperandVT); in expandIS_FPCLASS()
10747 SDValue MinFloatNode = DAG.getConstantFP(MinFloat, dl, SrcVT); in expandFP_TO_INT_SAT()
[all …]
H A DLegalizeDAG.cpp1702 SDValue Zero = DAG.getConstantFP(0.0, DL, FloatVT); in ExpandFABS()
2439 const SDValue ScaleUpVal = DAG.getConstantFP(ScaleUpK, dl, VT); in expandLdexp()
2462 const SDValue ScaleDownVal = DAG.getConstantFP(ScaleDownK, dl, VT); in expandLdexp()
2554 SDValue ScaleUpK = DAG.getConstantFP(ScaleUpKVal, dl, VT); in expandFrexp()
2673 SDValue Bias = DAG.getConstantFP( in ExpandLegalINT_TO_FP()
3177 Results.push_back(DAG.getConstantFP(0, dl, VT)); in ExpandNode()
H A DLegalizeVectorOps.cpp1631 DAG.getConstantFP(1ULL << (BW / 2), DL, Node->getValueType(0)); in ExpandUINT_TO_FLOAT()
1678 SDValue Zero = DAG.getConstantFP(-0.0, DL, Node->getValueType(0)); in ExpandFNEG()
H A DSelectionDAGBuilder.cpp1784 return DAG.getConstantFP(*CFP, getCurSDLoc(), VT); in getValueImpl()
1842 Constants[i] = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl()
1884 Op = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl()
5149 return DAG.getConstantFP(APFloat(APFloat::IEEEsingle(), APInt(32, Flt)), dl, in getF32Constant()
5258 DAG.getConstantFP(numbers::log2ef, dl, MVT::f32)); in expandExp()
5280 DAG.getConstantFP(numbers::ln2f, dl, MVT::f32)); in expandLog()
5605 return DAG.getConstantFP(1.0, DL, LHS.getValueType()); in ExpandPowI()
5637 DAG.getConstantFP(1.0, DL, LHS.getValueType()), Res); in ExpandPowI()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h89 const ConstantFP *getConstantFP() const { return Constant.CFP; } in getConstantFP() function
H A DDwarfDebug.cpp2687 DwarfExpr.addConstantFP(Entry.getConstantFP()->getValueAPF(), AP); in emitDebugLocValue()
2688 } else if (Entry.getConstantFP() in emitDebugLocValue()
2693 Entry.getConstantFP()->getValueAPF().bitcastToAPInt()); in emitDebugLocValue()
2697 << Entry.getConstantFP() in emitDebugLocValue()
H A DDwarfCompileUnit.cpp786 addConstantFPValue(VariableDie, Entry->getConstantFP()); in applyConcreteDbgVariableAttributes()
827 APInt RawBytes = Entry.getConstantFP()->getValueAPF().bitcastToAPInt(); in applyConcreteDbgVariableAttributes()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h700 SDValue getConstantFP(double Val, const SDLoc &DL, EVT VT,
702 SDValue getConstantFP(const APFloat &Val, const SDLoc &DL, EVT VT,
704 SDValue getConstantFP(const ConstantFP &V, const SDLoc &DL, EVT VT,
707 return getConstantFP(Val, DL, VT, true);
710 return getConstantFP(Val, DL, VT, true);
713 return getConstantFP(Val, DL, VT, true);
H A DTargetLowering.h5015 return DAG.getConstantFP(0.0, SDLoc(Operand), Operand.getValueType()); in getSqrtResultForDenormInput()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2576 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 23.0), SL, VT), in LowerFROUND32()
2582 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT); in LowerFROUND32()
2602 DAG.getConstantFP(0.5, SL, VT)); in LowerFROUND64()
2608 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT); in LowerFROUND64()
2610 DAG.getConstantFP(0, SL, VT), in LowerFROUND64()
2619 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 52.0), SL, VT), in LowerFROUND64()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp3747 Vec = DAG.getConstantFP(+0.0, dl, MVT::v4f32); in getZeroVector()
3750 Vec = DAG.getConstantFP(+0.0, dl, VT); in getZeroVector()
10356 Zero = DAG.getConstantFP(0.0, DL, EltVT); in lowerShuffleAsBitMask()
19370 SDValue Bias = DAG.getConstantFP( in LowerUINT_TO_FP_i32()
19456 SDValue VBias = DAG.getConstantFP( in lowerUINT_TO_FP_v2i32()
19602 SDValue VecCstFSub = DAG.getConstantFP( in lowerUINT_TO_FP_vXi32()
21754 SDValue SignMask = DAG.getConstantFP( in LowerFCOPYSIGN()
21756 SDValue MagMask = DAG.getConstantFP( in LowerFCOPYSIGN()
21771 MagBits = DAG.getConstantFP(APF, dl, LogicVT); in LowerFCOPYSIGN()
32732 SDValue VBias = DAG.getConstantFP( in ReplaceNodeResults()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2251 ConstLanes.push_back(DAG.getConstantFP(0, DL, LaneT)); in LowerBUILD_VECTOR()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2878 return DAG.getConstantFP(0.0, dl, Ty); in getZero()
H A DHexagonISelLoweringHVX.cpp2254 SDValue Fp16Ones = DAG.getConstantFP(FloatVal, dl, ArgTy); in LowerHvxFpExtend()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp8346 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in LowerFP_TO_INT()
8363 dl, SrcVT, Sel, DAG.getConstantFP(0.0, dl, SrcVT), Cst); in LowerFP_TO_INT()
8673 DAG.getConstantFP(1.0, dl, Op.getValueType()), in LowerINT_TO_FP()
8674 DAG.getConstantFP(0.0, dl, Op.getValueType())); in LowerINT_TO_FP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2909 DAG.getConstantFP(MaxVal, DL, ContainerVT.getVectorElementType()); in lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND()
3019 DAG.getConstantFP(MaxVal, DL, ContainerVT.getVectorElementType()); in lowerVectorStrictFTRUNC_FCEIL_FFLOOR_FROUND()
3098 SDValue MaxValNode = DAG.getConstantFP(MaxVal, DL, VT); in lowerFTRUNC_FCEIL_FFLOOR_FROUND()
9275 DAG.getConstantFP(Flags.hasNoSignedZeros() ? 0.0 : -0.0, DL, EltVT); in getRVVFPReductionOpAndOperands()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp10325 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest()
25852 PassThru = DAG.getConstantFP(0, DL, ContainerVT); in LowerFixedLengthVectorMLoadToSVE()