| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 1488 SDValue SelectionDAG::getConstantFP(const APFloat &V, const SDLoc &DL, EVT VT, in getConstantFP() function in SelectionDAG 1490 return getConstantFP(*ConstantFP::get(*getContext(), V), DL, VT, isTarget); in getConstantFP() 1493 SDValue SelectionDAG::getConstantFP(const ConstantFP &V, const SDLoc &DL, in getConstantFP() function in SelectionDAG 1527 SDValue SelectionDAG::getConstantFP(double Val, const SDLoc &DL, EVT VT, in getConstantFP() function in SelectionDAG 1531 return getConstantFP(APFloat((float)Val), DL, VT, isTarget); in getConstantFP() 1533 return getConstantFP(APFloat(Val), DL, VT, isTarget); in getConstantFP() 1540 return getConstantFP(APF, DL, VT, isTarget); in getConstantFP() 4625 return getConstantFP(apf, DL, VT); in getNode() 4629 return getConstantFP(APFloat(APFloat::IEEEhalf(), Val), DL, VT); in getNode() 4631 return getConstantFP(APFloat(APFloat::IEEEsingle(), Val), DL, VT); in getNode() [all …]
|
| H A D | LegalizeFloatTypes.cpp | 1262 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP() 1265 Hi = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP() 1501 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_FP_EXTEND() 1629 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_LOAD() 1659 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_XINT_TO_FP() 1724 SDValue NewLo = DAG.getConstantFP( in ExpandFloatRes_XINT_TO_FP()
|
| H A D | DAGCombiner.cpp | 13500 return DAG.getConstantFP(0.0, DL, VT); in visitFADD() 13504 return DAG.getConstantFP(0.0, DL, VT); in visitFADD() 13531 DAG.getConstantFP(1.0, DL, VT)); in visitFADD() 13540 DAG.getConstantFP(2.0, DL, VT)); in visitFADD() 13552 DAG.getConstantFP(1.0, DL, VT)); in visitFADD() 13561 DAG.getConstantFP(2.0, DL, VT)); in visitFADD() 13572 DAG.getConstantFP(3.0, DL, VT)); in visitFADD() 13582 DAG.getConstantFP(3.0, DL, VT)); in visitFADD() 13592 DAG.getConstantFP(4.0, DL, VT)); in visitFADD() 13669 return DAG.getConstantFP(0.0f, DL, VT); in visitFSUB() [all …]
|
| H A D | LegalizeVectorOps.cpp | 1281 DAG.getConstantFP(1ULL << (BW / 2), DL, Node->getValueType(0)); in ExpandUINT_TO_FLOAT() 1328 SDValue Zero = DAG.getConstantFP(-0.0, DL, Node->getValueType(0)); in ExpandFNEG()
|
| H A D | TargetLowering.cpp | 2299 TLO.DAG.getConstantFP( in SimplifyDemandedBits() 5963 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest() 5972 SDValue NormC = DAG.getConstantFP(SmallestNorm, DL, VT); in getSqrtInputTest() 6035 SDValue CFP = DAG.getConstantFP(V, DL, VT); in getNegatedExpression() 6071 Ops.push_back(DAG.getConstantFP(V, DL, C.getValueType())); in getNegatedExpression() 6769 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in expandFP_TO_UINT() 6793 DAG.getConstantFP(0.0, dl, SrcVT), Cst); in expandFP_TO_UINT() 6861 SDValue TwoP84PlusTwoP52 = DAG.getConstantFP( in expandUINT_TO_FP() 8650 SDValue MinFloatNode = DAG.getConstantFP(MinFloat, dl, SrcVT); in expandFP_TO_INT_SAT() 8651 SDValue MaxFloatNode = DAG.getConstantFP(MaxFloat, dl, SrcVT); in expandFP_TO_INT_SAT()
|
| H A D | SelectionDAGBuilder.cpp | 1536 return DAG.getConstantFP(*CFP, getCurSDLoc(), VT); in getValueImpl() 1594 Constants[i] = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl() 1625 Op = DAG.getConstantFP(0, getCurSDLoc(), EltVT); in getValueImpl() 4901 return DAG.getConstantFP(APFloat(APFloat::IEEEsingle(), APInt(32, Flt)), dl, in getF32Constant() 5009 DAG.getConstantFP(numbers::log2ef, dl, MVT::f32)); in expandExp() 5031 DAG.getConstantFP(numbers::ln2f, dl, MVT::f32)); in expandLog() 5359 return DAG.getConstantFP(1.0, DL, LHS.getValueType()); in ExpandPowI() 5390 DAG.getConstantFP(1.0, DL, LHS.getValueType()), Res); in ExpandPowI()
|
| H A D | LegalizeDAG.cpp | 1631 SDValue Zero = DAG.getConstantFP(0.0, DL, FloatVT); in ExpandFABS() 2346 SDValue Bias = DAG.getConstantFP(isSigned ? in ExpandLegalINT_TO_FP() 2829 Results.push_back(DAG.getConstantFP(0, dl, VT)); in ExpandNode()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 663 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 D | TargetLowering.h | 4312 return DAG.getConstantFP(0.0, SDLoc(Operand), Operand.getValueType()); in getSqrtResultForDenormInput()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | R600ISelLowering.cpp | 745 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 D | AMDGPUISelLowering.cpp | 1817 DAG.getConstantFP(APInt(32, 0x4f800000).bitsToFloat(), DL, MVT::f32), in LowerUDIVREM64() 1821 DAG.getConstantFP(APInt(32, 0x5f7ffffc).bitsToFloat(), DL, MVT::f32)); in LowerUDIVREM64() 1823 DAG.getConstantFP(APInt(32, 0x2f800000).bitsToFloat(), DL, MVT::f32)); in LowerUDIVREM64() 1826 DAG.getConstantFP(APInt(32, 0xcf800000).bitsToFloat(), DL, MVT::f32), in LowerUDIVREM64() 2122 const SDValue Zero = DAG.getConstantFP(0.0, SL, MVT::f64); in LowerFCEIL() 2123 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFCEIL() 2208 SDValue C1 = DAG.getConstantFP(C1Val, SL, MVT::f64); in LowerFRINT() 2219 SDValue C2 = DAG.getConstantFP(C2Val, SL, MVT::f64); in LowerFRINT() 2253 const SDValue Zero = DAG.getConstantFP(0.0, SL, VT); in LowerFROUND() 2254 const SDValue One = DAG.getConstantFP(1.0, SL, VT); in LowerFROUND() [all …]
|
| H A D | SIISelLowering.cpp | 6461 DAG.getConstantFP(Max, DL, VT)); in LowerINTRINSIC_WO_CHAIN() 6463 DAG.getConstantFP(Min, DL, VT)); in LowerINTRINSIC_WO_CHAIN() 8287 SDValue One = DAG.getConstantFP(1.0, SL, VT); in lowerFastUnsafeFDIV64() 8373 const SDValue K0 = DAG.getConstantFP(K0Val, SL, MVT::f32); in lowerFDIV_FAST() 8376 const SDValue K1 = DAG.getConstantFP(K1Val, SL, MVT::f32); in lowerFDIV_FAST() 8378 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in lowerFDIV_FAST() 8426 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in LowerFDIV32() 8535 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFDIV64() 8715 SDValue OneOver2Pi = DAG.getConstantFP(0.5 * numbers::inv_pi, DL, VT); in LowerTrig() 9709 return DAG.getConstantFP(0.0, SL, VT); in getCanonicalConstantFP() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 | 2537 DwarfExpr.addConstantFP(Entry.getConstantFP()->getValueAPF(), AP); in emitDebugLocValue() 2538 } else if (Entry.getConstantFP() in emitDebugLocValue() 2543 Entry.getConstantFP()->getValueAPF().bitcastToAPInt()); in emitDebugLocValue() 2547 << Entry.getConstantFP() in emitDebugLocValue()
|
| H A D | DwarfCompileUnit.cpp | 754 addConstantFPValue(*VariableDie, Entry->getConstantFP()); in constructVariableDIEImpl() 791 APInt RawBytes = Entry.getConstantFP()->getValueAPF().bitcastToAPInt(); in constructVariableDIEImpl()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 2104 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 5846 Ops.push_back(DAG.getConstantFP(FV, dl, EltVT)); in getConstVector() 5849 Ops.push_back(DAG.getConstantFP(FV, dl, EltVT)); in getConstVector() 5871 Vec = DAG.getConstantFP(+0.0, dl, MVT::v4f32); in getZeroVector() 5873 Vec = DAG.getConstantFP(+0.0, dl, VT); in getZeroVector() 8030 : DAG.getConstantFP(+0.0, SDLoc(Op), ShufSVT); in getShuffleScalarElt() 8536 : DAG.getConstantFP(0.0, DL, VT); in EltsFromConsecutiveLoads() 8644 : DAG.getConstantFP(0.0, DL, VT); in EltsFromConsecutiveLoads() 11925 Zero = DAG.getConstantFP(0.0, DL, EltVT); in lowerShuffleAsBitMask() 11928 AllOnes = DAG.getConstantFP(AllOnesValue, DL, EltVT); in lowerShuffleAsBitMask() 20171 SDValue Bias = DAG.getConstantFP(BitsToDouble(0x4330000000000000ULL), dl, in LowerUINT_TO_FP_i32() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 1876 ConstLanes.push_back(DAG.getConstantFP(0, DL, LaneT)); in LowerBUILD_VECTOR()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 8091 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in LowerFP_TO_INT() 8108 dl, SrcVT, Sel, DAG.getConstantFP(0.0, dl, SrcVT), Cst); in LowerFP_TO_INT() 8418 DAG.getConstantFP(1.0, dl, Op.getValueType()), in LowerINT_TO_FP() 8419 DAG.getConstantFP(0.0, dl, Op.getValueType())); in LowerINT_TO_FP()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 2697 return DAG.getConstantFP(0.0, dl, Ty); in getZero()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 7694 SDValue FPZero = DAG.getConstantFP(0.0, DL, VT); in getSqrtInputTest() 17422 PassThru = DAG.getConstantFP(0, DL, ContainerVT); in LowerFixedLengthVectorMLoadToSVE()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 3621 DAG.getConstantFP(0.0, DL, EltVT)); in getRVVFPReductionOpAndOperands()
|