Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp4740 return getConstantFP(V, DL, VT); in getNode()
4743 return getConstantFP(V, DL, VT); in getNode()
4768 return getConstantFP(V, DL, VT); in getNode()
5458 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
5461 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
5464 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
5467 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
5470 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
5473 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
5484 return getConstantFP(C1, DL, VT); in foldConstantFPMath()
[all …]
H A DLegalizeFloatTypes.cpp1270 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP()
1273 Hi = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP()
1509 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_FP_EXTEND()
1634 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_LOAD()
1664 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_XINT_TO_FP()
1729 SDValue NewLo = DAG.getConstantFP( in ExpandFloatRes_XINT_TO_FP()
H A DDAGCombiner.cpp13695 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
13699 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
13864 return DAG.getConstantFP(0.0f, DL, VT); in visitFSUB()
14227 SDValue FPOne = DAG.getConstantFP(1.0, DL, VT); in combineRepeatedFPDivisors()
14629 return DAG.getConstantFP(0.0, SDLoc(N), VT); in visitSINT_TO_FP()
14681 return DAG.getConstantFP(0.0, SDLoc(N), VT); in visitUINT_TO_FP()
14986 return DAG.getConstantFP(Op(C0, C1), SDLoc(N), VT); in visitFMinMax()
22828 SDValue FPOne = DAG.getConstantFP(1.0, DL, VT); in BuildDivEstimate()
22876 SDValue ThreeHalves = DAG.getConstantFP(1.5, DL, VT); in buildSqrtNROneConst()
22908 SDValue MinusThree = DAG.getConstantFP(-3.0, DL, VT); in buildSqrtNRTwoConst()
[all …]
H A DLegalizeVectorOps.cpp1287 DAG.getConstantFP(1ULL << (BW / 2), DL, Node->getValueType(0)); in ExpandUINT_TO_FLOAT()
1334 SDValue Zero = DAG.getConstantFP(-0.0, DL, Node->getValueType(0)); in ExpandFNEG()
H A DTargetLowering.cpp2290 TLO.DAG.getConstantFP( in SimplifyDemandedBits()
5992 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest()
6001 SDValue NormC = DAG.getConstantFP(SmallestNorm, DL, VT); in getSqrtInputTest()
6064 SDValue CFP = DAG.getConstantFP(V, DL, VT); in getNegatedExpression()
6100 Ops.push_back(DAG.getConstantFP(V, DL, C.getValueType())); in getNegatedExpression()
6798 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in expandFP_TO_UINT()
6822 DAG.getConstantFP(0.0, dl, SrcVT), Cst); in expandFP_TO_UINT()
6890 SDValue TwoP84PlusTwoP52 = DAG.getConstantFP( in expandUINT_TO_FP()
8700 SDValue MinFloatNode = DAG.getConstantFP(MinFloat, dl, SrcVT); in expandFP_TO_INT_SAT()
8701 SDValue MaxFloatNode = DAG.getConstantFP(MaxFloat, dl, SrcVT); in expandFP_TO_INT_SAT()
H A DSelectionDAGBuilder.cpp1537 return DAG.getConstantFP(*CFP, getCurSDLoc(), VT); in getValueImpl()
1595 Constants[i] = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl()
1626 Op = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl()
4902 return DAG.getConstantFP(APFloat(APFloat::IEEEsingle(), APInt(32, Flt)), dl, in getF32Constant()
5010 DAG.getConstantFP(numbers::log2ef, dl, MVT::f32)); in expandExp()
5032 DAG.getConstantFP(numbers::ln2f, dl, MVT::f32)); in expandLog()
5360 return DAG.getConstantFP(1.0, DL, LHS.getValueType()); in ExpandPowI()
5391 DAG.getConstantFP(1.0, DL, LHS.getValueType()), Res); in ExpandPowI()
H A DLegalizeDAG.cpp1637 SDValue Zero = DAG.getConstantFP(0.0, DL, FloatVT); in ExpandFABS()
2333 SDValue Bias = DAG.getConstantFP(isSigned ? in ExpandLegalINT_TO_FP()
2816 Results.push_back(DAG.getConstantFP(0, dl, VT)); in ExpandNode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h86 const ConstantFP *getConstantFP() const { return Constant.CFP; } in getConstantFP() function
H A DDwarfDebug.cpp2587 DwarfExpr.addConstantFP(Entry.getConstantFP()->getValueAPF(), AP); in emitDebugLocValue()
2588 } else if (Entry.getConstantFP() in emitDebugLocValue()
2593 Entry.getConstantFP()->getValueAPF().bitcastToAPInt()); in emitDebugLocValue()
2597 << Entry.getConstantFP() in emitDebugLocValue()
H A DDwarfCompileUnit.cpp754 addConstantFPValue(*VariableDie, Entry->getConstantFP()); in constructVariableDIEImpl()
795 APInt RawBytes = Entry.getConstantFP()->getValueAPF().bitcastToAPInt(); in constructVariableDIEImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2177 const SDValue Zero = DAG.getConstantFP(0.0, SL, MVT::f64); in LowerFCEIL()
2178 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFCEIL()
2263 SDValue C1 = DAG.getConstantFP(C1Val, SL, MVT::f64); in LowerFRINT()
2274 SDValue C2 = DAG.getConstantFP(C2Val, SL, MVT::f64); in LowerFRINT()
2308 const SDValue Zero = DAG.getConstantFP(0.0, SL, VT); in LowerFROUND()
2309 const SDValue One = DAG.getConstantFP(1.0, SL, VT); in LowerFROUND()
2310 const SDValue Half = DAG.getConstantFP(0.5, SL, VT); in LowerFROUND()
2334 const SDValue Zero = DAG.getConstantFP(0.0, SL, MVT::f64); in LowerFFLOOR()
2335 const SDValue NegOne = DAG.getConstantFP(-1.0, SL, MVT::f64); in LowerFFLOOR()
2367 const SDValue K = DAG.getConstantFP(numbers::log2e, SL, VT); in lowerFEXP()
[all …]
H A DR600ISelLowering.cpp745 DAG.getConstantFP(0.15915494309, DL, MVT::f32)), in LowerTrig()
746 DAG.getConstantFP(0.5, DL, MVT::f32))); in LowerTrig()
760 DAG.getConstantFP(-0.5, DL, MVT::f32))); in LowerTrig()
765 DAG.getConstantFP(numbers::pif, DL, MVT::f32)); in LowerTrig()
799 Op, DAG.getConstantFP(1.0f, DL, MVT::f32), in lowerFP_TO_UINT()
809 Op, DAG.getConstantFP(-1.0f, DL, MVT::f32), in lowerFP_TO_SINT()
973 HWTrue = DAG.getConstantFP(1.0f, DL, CompareVT); in LowerSELECT_CC()
974 HWFalse = DAG.getConstantFP(0.0f, DL, CompareVT); in LowerSELECT_CC()
H A DSIISelLowering.cpp6518 DAG.getConstantFP(Min, DL, VT)); in LowerINTRINSIC_WO_CHAIN()
8329 SDValue One = DAG.getConstantFP(1.0, SL, VT); in lowerFastUnsafeFDIV64()
8420 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in lowerFDIV_FAST()
8468 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in LowerFDIV32()
8577 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFDIV64()
9685 return DAG.getConstantFP(0.0, SL, VT); in getCanonicalConstantFP()
9692 return DAG.getConstantFP(CanonicalQNaN, SL, VT); in getCanonicalConstantFP()
9700 return DAG.getConstantFP(CanonicalQNaN, SL, VT); in getCanonicalConstantFP()
9704 return DAG.getConstantFP(C, SL, VT); in getCanonicalConstantFP()
9721 return DAG.getConstantFP(QNaN, SDLoc(N), VT); in performFCanonicalizeCombine()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h663 SDValue getConstantFP(double Val, const SDLoc &DL, EVT VT,
665 SDValue getConstantFP(const APFloat &Val, const SDLoc &DL, EVT VT,
667 SDValue getConstantFP(const ConstantFP &V, const SDLoc &DL, EVT VT,
670 return getConstantFP(Val, DL, VT, true);
673 return getConstantFP(Val, DL, VT, true);
676 return getConstantFP(Val, DL, VT, true);
H A DTargetLowering.h4340 return DAG.getConstantFP(0.0, SDLoc(Operand), Operand.getValueType()); in getSqrtResultForDenormInput()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2104 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 23.0), SL, VT), in LowerFROUND32()
2110 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT); in LowerFROUND32()
2130 DAG.getConstantFP(0.5, SL, VT)); in LowerFROUND64()
2136 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT); in LowerFROUND64()
2138 DAG.getConstantFP(0, SL, VT), in LowerFROUND64()
2147 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 52.0), SL, VT), in LowerFROUND64()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp5843 Ops.push_back(DAG.getConstantFP(FV, dl, EltVT)); in getConstVector()
5846 Ops.push_back(DAG.getConstantFP(FV, dl, EltVT)); in getConstVector()
5868 Vec = DAG.getConstantFP(+0.0, dl, MVT::v4f32); in getZeroVector()
5870 Vec = DAG.getConstantFP(+0.0, dl, VT); in getZeroVector()
11961 Zero = DAG.getConstantFP(0.0, DL, EltVT); in lowerShuffleAsBitMask()
20466 SDValue VecCstFSub = DAG.getConstantFP( in lowerUINT_TO_FP_vXi32()
22113 SDValue SignMask = DAG.getConstantFP( in LowerFCOPYSIGN()
22115 SDValue MagMask = DAG.getConstantFP( in LowerFCOPYSIGN()
22130 MagBits = DAG.getConstantFP(APF, dl, LogicVT); in LowerFCOPYSIGN()
41421 return DAG.getConstantFP(0.0, DL, VT); in combineVSelectWithAllOnesOrZeros()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp1979 ConstLanes.push_back(DAG.getConstantFP(0, DL, LaneT)); in LowerBUILD_VECTOR()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2733 return DAG.getConstantFP(0.0, dl, Ty); in getZero()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp8135 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in LowerFP_TO_INT()
8152 dl, SrcVT, Sel, DAG.getConstantFP(0.0, dl, SrcVT), Cst); in LowerFP_TO_INT()
8462 DAG.getConstantFP(1.0, dl, Op.getValueType()), in LowerINT_TO_FP()
8463 DAG.getConstantFP(0.0, dl, Op.getValueType())); in LowerINT_TO_FP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp8023 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest()
17992 PassThru = DAG.getConstantFP(0, DL, ContainerVT); in LowerFixedLengthVectorMLoadToSVE()