Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2130 DAG.getConstantFP(APInt(32, 0x4f800000).bitsToFloat(), DL, MVT::f32), in LowerUDIVREM64()
2134 DAG.getConstantFP(APInt(32, 0x5f7ffffc).bitsToFloat(), DL, MVT::f32)); in LowerUDIVREM64()
2136 DAG.getConstantFP(APInt(32, 0x2f800000).bitsToFloat(), DL, MVT::f32)); in LowerUDIVREM64()
2139 DAG.getConstantFP(APInt(32, 0xcf800000).bitsToFloat(), DL, MVT::f32), in LowerUDIVREM64()
2431 const SDValue Zero = DAG.getConstantFP(0.0, SL, MVT::f64); in LowerFCEIL()
2432 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFCEIL()
2515 SDValue C1 = DAG.getConstantFP(C1Val, SL, MVT::f64); in LowerFROUNDEVEN()
2526 SDValue C2 = DAG.getConstantFP(C2Val, SL, MVT::f64); in LowerFROUNDEVEN()
2568 const SDValue Zero = DAG.getConstantFP(0.0, SL, VT); in LowerFROUND()
2569 const SDValue One = DAG.getConstantFP(1.0, SL, VT); in LowerFROUND()
[all …]
H A DR600ISelLowering.cpp698 DAG.getConstantFP(0.15915494309, DL, MVT::f32)), in LowerTrig()
699 DAG.getConstantFP(0.5, DL, MVT::f32))); in LowerTrig()
713 DAG.getConstantFP(-0.5, DL, MVT::f32))); in LowerTrig()
718 DAG.getConstantFP(numbers::pif, DL, MVT::f32)); in LowerTrig()
752 Op, DAG.getConstantFP(1.0f, DL, MVT::f32), in lowerFP_TO_UINT()
762 Op, DAG.getConstantFP(-1.0f, DL, MVT::f32), in lowerFP_TO_SINT()
924 HWTrue = DAG.getConstantFP(1.0f, DL, CompareVT); in LowerSELECT_CC()
925 HWFalse = DAG.getConstantFP(0.0f, DL, CompareVT); in LowerSELECT_CC()
H A DSIISelLowering.cpp9063 DAG.getNode(ISD::FMINNUM, DL, VT, Rsq, DAG.getConstantFP(Max, DL, VT)); in LowerINTRINSIC_WO_CHAIN()
9065 DAG.getConstantFP(Min, DL, VT)); in LowerINTRINSIC_WO_CHAIN()
11168 SDValue One = DAG.getConstantFP(1.0, SL, VT); in lowerFastUnsafeFDIV64()
11286 const SDValue K0 = DAG.getConstantFP(K0Val, SL, MVT::f32); in lowerFDIV_FAST()
11289 const SDValue K1 = DAG.getConstantFP(K1Val, SL, MVT::f32); in lowerFDIV_FAST()
11291 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in lowerFDIV_FAST()
11336 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in LowerFDIV32()
11466 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFDIV64()
11560 DAG.getConstantFP(APFloat::getInf(VT.getFltSemantics()), dl, VT); in LowerFFREXP()
11681 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.cpp3126 DwarfExpr.addConstantFP(Entry.getConstantFP()->getValueAPF(), AP); in emitDebugLocValue()
3127 } else if (Entry.getConstantFP() in emitDebugLocValue()
3132 Entry.getConstantFP()->getValueAPF().bitcastToAPInt()); in emitDebugLocValue()
3136 << Entry.getConstantFP() in emitDebugLocValue()
H A DDwarfCompileUnit.cpp841 addConstantFPValue(VariableDie, Entry->getConstantFP()); in applyConcreteDbgVariableAttributes()
882 APInt RawBytes = Entry.getConstantFP()->getValueAPF().bitcastToAPInt(); in applyConcreteDbgVariableAttributes()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1824 SDValue SelectionDAG::getConstantFP(const APFloat &V, const SDLoc &DL, EVT VT, in getConstantFP() function in SelectionDAG
1826 return getConstantFP(*ConstantFP::get(*getContext(), V), DL, VT, isTarget); in getConstantFP()
1829 SDValue SelectionDAG::getConstantFP(const ConstantFP &V, const SDLoc &DL, in getConstantFP() function in SelectionDAG
1868 SDValue SelectionDAG::getConstantFP(double Val, const SDLoc &DL, EVT VT, in getConstantFP() function in SelectionDAG
1872 return getConstantFP(APFloat((float)Val), DL, VT, isTarget); in getConstantFP()
1874 return getConstantFP(APFloat(Val), DL, VT, isTarget); in getConstantFP()
1881 return getConstantFP(APF, DL, VT, isTarget); in getConstantFP()
6394 return getConstantFP(0.0, DL, VT); in getNode()
6859 return getConstantFP(FPV, DL, VT); in FoldConstantArithmetic()
6872 return getConstantFP(FPV, DL, VT); in FoldConstantArithmetic()
[all …]
H A DTargetLowering.cpp3091 Op, TLO.DAG.getConstantFP(APFloat(VT.getFltSemantics(), Known.One), in SimplifyDemandedBits()
7433 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest()
7448 SDValue NormC = DAG.getConstantFP(SmallestNorm, DL, VT); in getSqrtInputTest()
7508 SDValue CFP = DAG.getConstantFP(V, DL, VT); in getNegatedExpression()
7544 Ops.push_back(DAG.getConstantFP(V, DL, C.getValueType())); in getNegatedExpression()
8501 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in expandFP_TO_UINT()
8525 DAG.getConstantFP(0.0, dl, SrcVT), Cst); in expandFP_TO_UINT()
8602 SDValue TwoP84PlusTwoP52 = DAG.getConstantFP( in expandUINT_TO_FP()
8745 DAG.getConstantFP(*FPNaN, DL, VT), MinMax, Flags); in expandFMINIMUM_FMAXIMUM()
8752 DAG.getConstantFP(0.0, DL, VT), ISD::SETOEQ); in expandFMINIMUM_FMAXIMUM()
[all …]
H A DLegalizeFloatTypes.cpp1657 Lo = DAG.getConstantFP(APFloat(Sem, C.extractBits(64, 64)), dl, NVT); in ExpandFloatRes_ConstantFP()
1658 Hi = DAG.getConstantFP(APFloat(Sem, C.extractBits(64, 0)), dl, NVT); in ExpandFloatRes_ConstantFP()
1999 Lo = DAG.getConstantFP(APFloat::getZero(NVT.getFltSemantics()), dl, NVT); in ExpandFloatRes_FP_EXTEND()
2155 Lo = DAG.getConstantFP(APFloat::getZero(NVT.getFltSemantics()), dl, NVT); in ExpandFloatRes_LOAD()
2184 Lo = DAG.getConstantFP(APFloat::getZero(NVT.getFltSemantics()), dl, NVT); in ExpandFloatRes_XINT_TO_FP()
2248 SDValue NewLo = DAG.getConstantFP( in ExpandFloatRes_XINT_TO_FP()
H A DDAGCombiner.cpp2162 return DAG.getConstantFP(CanonicalQNaN, dl, VT); in visitFCANONICALIZE()
13100 return VT.isFloatingPoint() ? DAG.getConstantFP(0.0, DL, VT) in combineVSelectWithAllOnesOrZeros()
17607 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
17611 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
17638 DAG.getConstantFP(1.0, DL, VT)); in visitFADD()
17647 DAG.getConstantFP(2.0, DL, VT)); in visitFADD()
17659 DAG.getConstantFP(1.0, DL, VT)); in visitFADD()
17668 DAG.getConstantFP(2.0, DL, VT)); in visitFADD()
17679 DAG.getConstantFP(3.0, DL, VT)); in visitFADD()
17689 DAG.getConstantFP(3.0, DL, VT)); in visitFADD()
[all …]
H A DLegalizeDAG.cpp1781 SDValue Zero = DAG.getConstantFP(0.0, DL, FloatVT); in ExpandFABS()
2489 const SDValue ScaleUpVal = DAG.getConstantFP(ScaleUpK, dl, VT); in expandLdexp()
2512 const SDValue ScaleDownVal = DAG.getConstantFP(ScaleDownK, dl, VT); in expandLdexp()
2604 SDValue ScaleUpK = DAG.getConstantFP(ScaleUpKVal, dl, VT); in expandFrexp()
2723 SDValue Bias = DAG.getConstantFP( in ExpandLegalINT_TO_FP()
3277 Results.push_back(DAG.getConstantFP(0, dl, VT)); in ExpandNode()
3408 SDValue One = DAG.getConstantFP(1.0, dl, VT); in ExpandNode()
H A DSelectionDAGBuilder.cpp1832 return DAG.getConstantFP(*CFP, getCurSDLoc(), VT); in getValueImpl()
1890 Constants[i] = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl()
1943 Op = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl()
5479 return DAG.getConstantFP(APFloat(APFloat::IEEEsingle(), APInt(32, Flt)), dl, in getF32Constant()
5588 DAG.getConstantFP(numbers::log2ef, dl, MVT::f32)); in expandExp()
5610 DAG.getConstantFP(numbers::ln2f, dl, MVT::f32)); in expandLog()
5935 return DAG.getConstantFP(1.0, DL, LHS.getValueType()); in ExpandPowI()
5967 DAG.getConstantFP(1.0, DL, LHS.getValueType()), Res); in ExpandPowI()
H A DLegalizeVectorOps.cpp1891 SDValue TWOHW = DAG.getConstantFP(1ULL << (BW / 2), DL, DstVT); in ExpandUINT_TO_FLOAT()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h741 LLVM_ABI SDValue getConstantFP(double Val, const SDLoc &DL, EVT VT,
743 LLVM_ABI SDValue getConstantFP(const APFloat &Val, const SDLoc &DL, EVT VT,
745 LLVM_ABI SDValue getConstantFP(const ConstantFP &V, const SDLoc &DL, EVT VT,
748 return getConstantFP(Val, DL, VT, true);
751 return getConstantFP(Val, DL, VT, true);
754 return getConstantFP(Val, DL, VT, true);
H A DTargetLowering.h5350 return DAG.getConstantFP(0.0, SDLoc(Operand), Operand.getValueType()); in getSqrtResultForDenormInput()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2431 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 23.0), SL, VT), in LowerFROUND32()
2437 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT); in LowerFROUND32()
2457 DAG.getConstantFP(0.5, SL, VT)); in LowerFROUND64()
2463 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT); in LowerFROUND64()
2465 DAG.getConstantFP(0, SL, VT), in LowerFROUND64()
2474 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 52.0), SL, VT), in LowerFROUND64()
2838 DAG.getConstantFP(APFloat::getInf(Ty.getFltSemantics()), DL, Ty); in lowerFREM()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4067 Vec = DAG.getConstantFP(+0.0, dl, MVT::v4f32); in getZeroVector()
4070 Vec = DAG.getConstantFP(+0.0, dl, VT); in getZeroVector()
6780 : DAG.getConstantFP(+0.0, SDLoc(Op), ShufSVT); in getShuffleScalarElt()
7303 : DAG.getConstantFP(0.0, DL, VT); in EltsFromConsecutiveLoads()
7410 : DAG.getConstantFP(0.0, DL, VT); in EltsFromConsecutiveLoads()
10987 Zero = DAG.getConstantFP(0.0, DL, EltVT); in lowerShuffleAsBitMask()
10989 AllOnes = DAG.getConstantFP(AllOnesValue, DL, EltVT); in lowerShuffleAsBitMask()
20270 SDValue Bias = DAG.getConstantFP( in LowerUINT_TO_FP_i32()
20356 SDValue VBias = DAG.getConstantFP( in lowerUINT_TO_FP_v2i32()
20508 SDValue VecCstFSub = DAG.getConstantFP( in lowerUINT_TO_FP_vXi32()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2669 ConstLanes.push_back(DAG.getConstantFP(0, DL, LaneT)); in LowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2917 return DAG.getConstantFP(0.0, dl, Ty); in getZero()
H A DHexagonISelLoweringHVX.cpp2291 SDValue Fp16Ones = DAG.getConstantFP(FloatVal, dl, ArgTy); in LowerHvxFpExtend()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3292 DAG.getConstantFP(MaxVal, DL, ContainerVT.getVectorElementType()); in lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND()
3400 DAG.getConstantFP(MaxVal, DL, ContainerVT.getVectorElementType()); in lowerVectorStrictFTRUNC_FCEIL_FFLOOR_FROUND()
3479 SDValue MaxValNode = DAG.getConstantFP(MaxVal, DL, VT); in lowerFTRUNC_FCEIL_FFLOOR_FROUND()
11284 DAG.getConstantFP(Flags.hasNoSignedZeros() ? 0.0 : -0.0, DL, EltVT); in getRVVFPReductionOpAndOperands()
11343 DAG.getConstantFP(APFloat::getNaN(ResVT.getFltSemantics()), DL, ResVT)); in lowerFPVECREDUCE()
11392 DAG.getConstantFP(APFloat::getNaN(ResVT.getFltSemantics()), DL, ResVT)); in lowerVPREDUCE()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp8537 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in LowerFP_TO_INT()
8554 dl, SrcVT, Sel, DAG.getConstantFP(0.0, dl, SrcVT), Cst); in LowerFP_TO_INT()
8843 DAG.getConstantFP(1.0, dl, Op.getValueType()), in LowerINT_TO_FP()
8844 DAG.getConstantFP(0.0, dl, Op.getValueType())); in LowerINT_TO_FP()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4826 SDValue FalseVal = DAG.getConstantFP(0.0, DL, VT); in LowerVectorINT_TO_FP()
4827 SDValue TrueVal = IsSigned ? DAG.getConstantFP(-1.0, DL, VT) in LowerVectorINT_TO_FP()
4828 : DAG.getConstantFP(1.0, DL, VT); in LowerVectorINT_TO_FP()
12178 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest()
20273 : DAG.getConstantFP(0, DL, VecVT); in performInsertSubvectorCombine()
28926 PassThru = DAG.getConstantFP(0, DL, ContainerVT); in LowerFixedLengthVectorMLoadToSVE()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc15048 …tionDAG13getConstantFPERKNS_7APFloatENS_3EVTEb", "llvm::SelectionDAG::getConstantFP(llvm::APFloat …
15049 …DAG13getConstantFPERKNS_10ConstantFPENS_3EVTEb", "llvm::SelectionDAG::getConstantFP(llvm::Constant…
15050 {"_ZN4llvm12SelectionDAG13getConstantFPEdNS_3EVTEb", "llvm::SelectionDAG::getConstantFP(double, llv…