| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | sdag-ppcf128.ll | 3 ; PR14751: Unsupported type in SelectionDAG::getConstantFP()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 2039 const SDValue Zero = DAG.getConstantFP(0.0, SL, MVT::f64); in LowerFCEIL() 2040 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFCEIL() 2122 SDValue C1 = DAG.getConstantFP(C1Val, SL, MVT::f64); in LowerFRINT() 2133 SDValue C2 = DAG.getConstantFP(C2Val, SL, MVT::f64); in LowerFRINT() 2167 const SDValue Zero = DAG.getConstantFP(0.0, SL, VT); in LowerFROUND() 2168 const SDValue One = DAG.getConstantFP(1.0, SL, VT); in LowerFROUND() 2169 const SDValue Half = DAG.getConstantFP(0.5, SL, VT); in LowerFROUND() 2193 const SDValue Zero = DAG.getConstantFP(0.0, SL, MVT::f64); in LowerFFLOOR() 2194 const SDValue NegOne = DAG.getConstantFP(-1.0, SL, MVT::f64); in LowerFFLOOR() 2226 const SDValue K = DAG.getConstantFP(numbers::log2e, SL, VT); in lowerFEXP() [all …]
|
| H A D | R600ISelLowering.cpp | 692 DAG.getConstantFP(0.15915494309, DL, MVT::f32)), in LowerTrig() 693 DAG.getConstantFP(0.5, DL, MVT::f32))); in LowerTrig() 707 DAG.getConstantFP(-0.5, DL, MVT::f32))); in LowerTrig() 712 DAG.getConstantFP(numbers::pif, DL, MVT::f32)); in LowerTrig() 746 Op, DAG.getConstantFP(1.0f, DL, MVT::f32), in lowerFP_TO_UINT() 756 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 D | SIISelLowering.cpp | 6851 DAG.getConstantFP(Min, DL, VT)); in LowerINTRINSIC_WO_CHAIN() 8862 SDValue One = DAG.getConstantFP(1.0, SL, VT); in lowerFastUnsafeFDIV64() 8953 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in lowerFDIV_FAST() 9001 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in LowerFDIV32() 9110 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFDIV64() 10205 return DAG.getConstantFP(0.0, SL, VT); in getCanonicalConstantFP() 10212 return DAG.getConstantFP(CanonicalQNaN, SL, VT); in getCanonicalConstantFP() 10220 return DAG.getConstantFP(CanonicalQNaN, SL, VT); in getCanonicalConstantFP() 10224 return DAG.getConstantFP(C, SL, VT); in getCanonicalConstantFP() 10241 return DAG.getConstantFP(QNaN, SDLoc(N), VT); in performFCanonicalizeCombine() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugLocEntry.h | 86 const ConstantFP *getConstantFP() const { return Constant.CFP; } in getConstantFP() function
|
| H A D | DwarfDebug.cpp | 2607 DwarfExpr.addConstantFP(Entry.getConstantFP()->getValueAPF(), AP); in emitDebugLocValue() 2608 } else if (Entry.getConstantFP() in emitDebugLocValue() 2613 Entry.getConstantFP()->getValueAPF().bitcastToAPInt()); in emitDebugLocValue() 2617 << Entry.getConstantFP() in emitDebugLocValue()
|
| H A D | DwarfCompileUnit.cpp | 766 addConstantFPValue(*VariableDie, Entry->getConstantFP()); in constructVariableDIEImpl() 807 APInt RawBytes = Entry.getConstantFP()->getValueAPF().bitcastToAPInt(); in constructVariableDIEImpl()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 5060 return getConstantFP(V, DL, VT); in getNode() 5063 return getConstantFP(V, DL, VT); in getNode() 5088 return getConstantFP(V, DL, VT); in getNode() 5783 return getConstantFP(C1, DL, VT); in foldConstantFPMath() 5786 return getConstantFP(C1, DL, VT); in foldConstantFPMath() 5789 return getConstantFP(C1, DL, VT); in foldConstantFPMath() 5792 return getConstantFP(C1, DL, VT); in foldConstantFPMath() 5795 return getConstantFP(C1, DL, VT); in foldConstantFPMath() 5798 return getConstantFP(C1, DL, VT); in foldConstantFPMath() 5817 return getConstantFP(C1, DL, VT); in foldConstantFPMath() [all …]
|
| H A D | LegalizeFloatTypes.cpp | 1291 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP() 1294 Hi = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP() 1530 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_FP_EXTEND() 1655 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_LOAD() 1685 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_XINT_TO_FP() 1750 SDValue NewLo = DAG.getConstantFP( in ExpandFloatRes_XINT_TO_FP()
|
| H A D | DAGCombiner.cpp | 14669 return DAG.getConstantFP(0.0, DL, VT); in visitFADD() 14673 return DAG.getConstantFP(0.0, DL, VT); in visitFADD() 14838 return DAG.getConstantFP(0.0f, DL, VT); in visitFSUB() 15202 SDValue FPOne = DAG.getConstantFP(1.0, DL, VT); in combineRepeatedFPDivisors() 15592 return DAG.getConstantFP(0.0, SDLoc(N), VT); in visitSINT_TO_FP() 15627 DAG.getConstantFP(1.0, DL, VT), in visitSINT_TO_FP() 15644 return DAG.getConstantFP(0.0, SDLoc(N), VT); in visitUINT_TO_FP() 24406 SDValue FPOne = DAG.getConstantFP(1.0, DL, VT); in BuildDivEstimate() 24454 SDValue ThreeHalves = DAG.getConstantFP(1.5, DL, VT); in buildSqrtNROneConst() 24486 SDValue MinusThree = DAG.getConstantFP(-3.0, DL, VT); in buildSqrtNRTwoConst() [all …]
|
| H A D | LegalizeVectorOps.cpp | 1379 DAG.getConstantFP(1ULL << (BW / 2), DL, Node->getValueType(0)); in ExpandUINT_TO_FLOAT() 1426 SDValue Zero = DAG.getConstantFP(-0.0, DL, Node->getValueType(0)); in ExpandFNEG()
|
| H A D | TargetLowering.cpp | 2714 TLO.DAG.getConstantFP( in SimplifyDemandedBits() 6643 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest() 6652 SDValue NormC = DAG.getConstantFP(SmallestNorm, DL, VT); in getSqrtInputTest() 6715 SDValue CFP = DAG.getConstantFP(V, DL, VT); in getNegatedExpression() 6751 Ops.push_back(DAG.getConstantFP(V, DL, C.getValueType())); in getNegatedExpression() 7440 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in expandFP_TO_UINT() 7464 DAG.getConstantFP(0.0, dl, SrcVT), Cst); in expandFP_TO_UINT() 7532 SDValue TwoP84PlusTwoP52 = DAG.getConstantFP( in expandUINT_TO_FP() 7663 DAG.getConstantFP(0.0, DL, OperandVT), in expandIS_FPCLASS() 9571 SDValue MinFloatNode = DAG.getConstantFP(MinFloat, dl, SrcVT); in expandFP_TO_INT_SAT() [all …]
|
| H A D | SelectionDAGBuilder.cpp | 1552 return DAG.getConstantFP(*CFP, getCurSDLoc(), VT); in getValueImpl() 1610 Constants[i] = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl() 1646 Op = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl() 4904 return DAG.getConstantFP(APFloat(APFloat::IEEEsingle(), APInt(32, Flt)), dl, in getF32Constant() 5013 DAG.getConstantFP(numbers::log2ef, dl, MVT::f32)); in expandExp() 5035 DAG.getConstantFP(numbers::ln2f, dl, MVT::f32)); in expandLog() 5360 return DAG.getConstantFP(1.0, DL, LHS.getValueType()); in ExpandPowI() 5392 DAG.getConstantFP(1.0, DL, LHS.getValueType()), Res); in ExpandPowI()
|
| H A D | LegalizeDAG.cpp | 1674 SDValue Zero = DAG.getConstantFP(0.0, DL, FloatVT); in ExpandFABS() 2371 SDValue Bias = DAG.getConstantFP(isSigned ? in ExpandLegalINT_TO_FP() 2854 Results.push_back(DAG.getConstantFP(0, dl, VT)); in ExpandNode()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 678 SDValue getConstantFP(double Val, const SDLoc &DL, EVT VT, 680 SDValue getConstantFP(const APFloat &Val, const SDLoc &DL, EVT VT, 682 SDValue getConstantFP(const ConstantFP &V, const SDLoc &DL, EVT VT, 685 return getConstantFP(Val, DL, VT, true); 688 return getConstantFP(Val, DL, VT, true); 691 return getConstantFP(Val, DL, VT, true);
|
| H A D | TargetLowering.h | 4650 return DAG.getConstantFP(0.0, SDLoc(Operand), Operand.getValueType()); in getSqrtResultForDenormInput()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 2161 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 23.0), SL, VT), in LowerFROUND32() 2167 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT); in LowerFROUND32() 2187 DAG.getConstantFP(0.5, SL, VT)); in LowerFROUND64() 2193 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT); in LowerFROUND64() 2195 DAG.getConstantFP(0, SL, VT), in LowerFROUND64() 2204 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 52.0), SL, VT), in LowerFROUND64()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 6315 Ops.push_back(DAG.getConstantFP(FV, dl, EltVT)); in getConstVector() 6318 Ops.push_back(DAG.getConstantFP(FV, dl, EltVT)); in getConstVector() 6340 Vec = DAG.getConstantFP(+0.0, dl, MVT::v4f32); in getZeroVector() 6342 Vec = DAG.getConstantFP(+0.0, dl, VT); in getZeroVector() 12678 Zero = DAG.getConstantFP(0.0, DL, EltVT); in lowerShuffleAsBitMask() 21443 SDValue VecCstFSub = DAG.getConstantFP( in lowerUINT_TO_FP_vXi32() 23285 SDValue SignMask = DAG.getConstantFP( in LowerFCOPYSIGN() 23287 SDValue MagMask = DAG.getConstantFP( in LowerFCOPYSIGN() 23302 MagBits = DAG.getConstantFP(APF, dl, LogicVT); in LowerFCOPYSIGN() 44188 return DAG.getConstantFP(0.0, DL, VT); in combineVSelectWithAllOnesOrZeros() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 1845 DAG.getConstantFP(1.0, DL, VT)); in lowerFTRUNC_FCEIL_FFLOOR() 1854 DAG.getConstantFP(1.0, DL, VT)); in lowerFTRUNC_FCEIL_FFLOOR() 1870 SDValue MaxValNode = DAG.getConstantFP(MaxVal, DL, VT); in lowerFTRUNC_FCEIL_FFLOOR() 1905 DAG.getConstantFP(Point5Pred, DL, VT)); in lowerFROUND() 1922 SDValue MaxValNode = DAG.getConstantFP(MaxVal, DL, VT); in lowerFROUND() 5286 DAG.getConstantFP(Flags.hasNoSignedZeros() ? 0.0 : -0.0, DL, EltVT); in getRVVFPReductionOpAndOperands()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 2256 ConstLanes.push_back(DAG.getConstantFP(0, DL, LaneT)); in LowerBUILD_VECTOR()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 2042 SDValue Fp16Ones = DAG.getConstantFP(FloatVal, dl, ArgTy); in LowerHvxFpExtend()
|
| H A D | HexagonISelLowering.cpp | 2758 return DAG.getConstantFP(0.0, dl, Ty); in getZero()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 8194 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in LowerFP_TO_INT() 8211 dl, SrcVT, Sel, DAG.getConstantFP(0.0, dl, SrcVT), Cst); in LowerFP_TO_INT() 8521 DAG.getConstantFP(1.0, dl, Op.getValueType()), in LowerINT_TO_FP() 8522 DAG.getConstantFP(0.0, dl, Op.getValueType())); in LowerINT_TO_FP()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 8856 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest() 21057 PassThru = DAG.getConstantFP(0, DL, ContainerVT); in LowerFixedLengthVectorMLoadToSVE()
|