Home
last modified time | relevance | path

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

12

/external/llvm/test/CodeGen/PowerPC/
Dsdag-ppcf128.ll3 ; PR14751: Unsupported type in SelectionDAG::getConstantFP()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dsdag-ppcf128.ll3 ; PR14751: Unsupported type in SelectionDAG::getConstantFP()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAG.h340 SDValue getConstantFP(double Val, EVT VT, bool isTarget = false);
341 SDValue getConstantFP(const APFloat& Val, EVT VT, bool isTarget = false);
342 SDValue getConstantFP(const ConstantFP &CF, EVT VT, bool isTarget = false);
344 return getConstantFP(Val, VT, true);
347 return getConstantFP(Val, VT, true);
350 return getConstantFP(Val, VT, true);
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp1710 DAG.getConstantFP(Max, DL, VT)); in LowerINTRINSIC_WO_CHAIN()
1712 DAG.getConstantFP(Min, DL, VT)); in LowerINTRINSIC_WO_CHAIN()
2171 const SDValue K0 = DAG.getConstantFP(K0Val, SL, MVT::f32); in LowerFDIV32()
2174 const SDValue K1 = DAG.getConstantFP(K1Val, SL, MVT::f32); in LowerFDIV32()
2176 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in LowerFDIV32()
2198 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in LowerFDIV32()
2233 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFDIV64()
2369 DAG.getConstantFP(0.5/M_PI, DL, in LowerTrig()
2666 return DAG.getConstantFP(0.0, SDLoc(N), VT); in performFCanonicalizeCombine()
2669 return DAG.getConstantFP(0.0, SDLoc(N), VT); in performFCanonicalizeCombine()
[all …]
DAMDGPUISelLowering.cpp778 return DAG.getStore(Chain, DL, DAG.getConstantFP(*CFP, DL, VT), InitPtr, in LowerConstantInitializer()
1613 const SDValue Zero = DAG.getConstantFP(0.0, SL, MVT::f64); in LowerFCEIL()
1614 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFCEIL()
1699 SDValue C1 = DAG.getConstantFP(C1Val, SL, MVT::f64); in LowerFRINT()
1710 SDValue C2 = DAG.getConstantFP(C2Val, SL, MVT::f64); in LowerFRINT()
1739 const SDValue Zero = DAG.getConstantFP(0.0, SL, MVT::f32); in LowerFROUND32()
1740 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in LowerFROUND32()
1741 const SDValue Half = DAG.getConstantFP(0.5, SL, MVT::f32); in LowerFROUND32()
1801 DAG.getConstantFP(1.0, SL, MVT::f64), in LowerFROUND64()
1802 DAG.getConstantFP(0.0, SL, MVT::f64)); in LowerFROUND64()
[all …]
DR600ISelLowering.cpp942 DAG.getConstantFP(0.15915494309, DL, MVT::f32)), in LowerTrig()
943 DAG.getConstantFP(0.5, DL, MVT::f32))); in LowerTrig()
957 DAG.getConstantFP(-0.5, DL, MVT::f32))); in LowerTrig()
962 DAG.getConstantFP(3.14159265359, DL, MVT::f32)); in LowerTrig()
1063 Op, DAG.getConstantFP(0.0f, DL, MVT::f32), in LowerFPTOUINT()
1230 HWTrue = DAG.getConstantFP(1.0f, DL, CompareVT); in LowerSELECT_CC()
1231 HWFalse = DAG.getConstantFP(0.0f, DL, CompareVT); in LowerSELECT_CC()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp322 SDValue TWOHW = DAG.getConstantFP((1<<(BW/2)), Op.getValueType()); in ExpandUINT_TO_FLOAT()
341 SDValue Zero = DAG.getConstantFP(-0.0, Op.getValueType()); in ExpandFNEG()
DLegalizeFloatTypes.cpp344 SDValue Ops[2] = { DAG.getConstantFP(-0.0, N->getValueType(0)), in SoftenFloatRes_FNEG()
889 Lo = DAG.getConstantFP(APFloat(APInt(integerPartWidth, C.getRawData()[1])), in ExpandFloatRes_ConstantFP()
891 Hi = DAG.getConstantFP(APFloat(APInt(integerPartWidth, C.getRawData()[0])), in ExpandFloatRes_ConstantFP()
1063 Lo = DAG.getConstantFP(APFloat(APInt(NVT.getSizeInBits(), 0)), NVT); in ExpandFloatRes_FP_EXTEND()
1158 Lo = DAG.getConstantFP(APFloat(APInt(NVT.getSizeInBits(), 0)), NVT); in ExpandFloatRes_LOAD()
1182 Lo = DAG.getConstantFP(APFloat(APInt(NVT.getSizeInBits(), 0)), NVT); in ExpandFloatRes_XINT_TO_FP()
1228 DAG.getConstantFP(APFloat(APInt(128, Parts)), in ExpandFloatRes_XINT_TO_FP()
1383 SDValue Tmp = DAG.getConstantFP(APF, MVT::ppcf128); in ExpandFloatOp_FP_TO_UINT()
DSelectionDAG.cpp984 SDValue SelectionDAG::getConstantFP(const APFloat& V, EVT VT, bool isTarget) { in getConstantFP() function in SelectionDAG
985 return getConstantFP(*ConstantFP::get(*getContext(), V), VT, isTarget); in getConstantFP()
988 SDValue SelectionDAG::getConstantFP(const ConstantFP& V, EVT VT, bool isTarget){ in getConstantFP() function in SelectionDAG
1022 SDValue SelectionDAG::getConstantFP(double Val, EVT VT, bool isTarget) { in getConstantFP() function in SelectionDAG
1025 return getConstantFP(APFloat((float)Val), VT, isTarget); in getConstantFP()
1027 return getConstantFP(APFloat(Val), VT, isTarget); in getConstantFP()
1033 return getConstantFP(apf, VT, isTarget); in getConstantFP()
2413 return getConstantFP(apf, VT); in getNode()
2417 return getConstantFP(Val.bitsToFloat(), VT); in getNode()
2419 return getConstantFP(Val.bitsToDouble(), VT); in getNode()
[all …]
DLegalizeDAG.cpp2494 SDValue Bias = DAG.getConstantFP(isSigned ? in ExpandLegalINT_TO_FP()
2526 DAG.getConstantFP(BitsToDouble(UINT64_C(0x4530000000100000)), MVT::f64); in ExpandLegalINT_TO_FP()
2591 DAG.getConstantFP(BitsToDouble(UINT64_C(0x41f0000000000000)), MVT::f64); in ExpandLegalINT_TO_FP()
3075 Results.push_back(DAG.getConstantFP(0, VT)); in ExpandNode()
3147 Tmp1 = DAG.getConstantFP(apf, VT); in ExpandNode()
3310 Tmp1 = DAG.getConstantFP(-0.0, Node->getValueType(0)); in ExpandNode()
3319 Tmp2 = DAG.getConstantFP(0.0, VT); in ExpandNode()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h507 SDValue getConstantFP(double Val, const SDLoc &DL, EVT VT,
509 SDValue getConstantFP(const APFloat &Val, const SDLoc &DL, EVT VT,
511 SDValue getConstantFP(const ConstantFP &CF, const SDLoc &DL, EVT VT,
514 return getConstantFP(Val, DL, VT, true);
517 return getConstantFP(Val, DL, VT, true);
520 return getConstantFP(Val, DL, VT, true);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDebugLocEntry.h73 const ConstantFP *getConstantFP() const { return Constant.CFP; } in getConstantFP() function
/external/llvm/lib/CodeGen/AsmPrinter/
DDebugLocEntry.h72 const ConstantFP *getConstantFP() const { return Constant.CFP; } in getConstantFP() function
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1207 SDValue SelectionDAG::getConstantFP(const APFloat &V, const SDLoc &DL, EVT VT, in getConstantFP() function in SelectionDAG
1209 return getConstantFP(*ConstantFP::get(*getContext(), V), DL, VT, isTarget); in getConstantFP()
1212 SDValue SelectionDAG::getConstantFP(const ConstantFP &V, const SDLoc &DL, in getConstantFP() function in SelectionDAG
1243 SDValue SelectionDAG::getConstantFP(double Val, const SDLoc &DL, EVT VT, in getConstantFP() function in SelectionDAG
1247 return getConstantFP(APFloat((float)Val), DL, VT, isTarget); in getConstantFP()
1249 return getConstantFP(APFloat(Val), DL, VT, isTarget); in getConstantFP()
1256 return getConstantFP(APF, DL, VT, isTarget); in getConstantFP()
2925 return getConstantFP(apf, DL, VT); in getNode()
2929 return getConstantFP(APFloat(APFloat::IEEEhalf, Val), DL, VT); in getNode()
2931 return getConstantFP(APFloat(APFloat::IEEEsingle, Val), DL, VT); in getNode()
[all …]
DLegalizeFloatTypes.cpp441 SDValue Ops[2] = { DAG.getConstantFP(-0.0, dl, N->getValueType(0)), in SoftenFloatRes_FNEG()
1061 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP()
1064 Hi = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP()
1272 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_FP_EXTEND()
1396 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_LOAD()
1421 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_XINT_TO_FP()
1469 DAG.getConstantFP(APFloat(APFloat::PPCDoubleDouble, in ExpandFloatRes_XINT_TO_FP()
1635 SDValue Tmp = DAG.getConstantFP(APF, dl, MVT::ppcf128); in ExpandFloatOp_FP_TO_UINT()
DDAGCombiner.cpp667 return DAG.getConstantFP(V, SDLoc(Op), Op.getValueType()); in GetNegatedExpression()
8354 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
8358 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
8371 DAG.getConstantFP(1.0, DL, VT), Flags); in visitFADD()
8380 DAG.getConstantFP(2.0, DL, VT), Flags); in visitFADD()
8392 DAG.getConstantFP(1.0, DL, VT), Flags); in visitFADD()
8401 DAG.getConstantFP(2.0, DL, VT), Flags); in visitFADD()
8412 N1, DAG.getConstantFP(3.0, DL, VT), Flags); in visitFADD()
8422 N0, DAG.getConstantFP(3.0, DL, VT), Flags); in visitFADD()
8433 DAG.getConstantFP(4.0, DL, VT), Flags); in visitFADD()
[all …]
DLegalizeVectorOps.cpp1001 SDValue TWOHW = DAG.getConstantFP(1 << (BW/2), DL, Op.getValueType()); in ExpandUINT_TO_FLOAT()
1022 SDValue Zero = DAG.getConstantFP(-0.0, DL, Op.getValueType()); in ExpandFNEG()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAG.h597 SDValue getConstantFP(double Val, const SDLoc &DL, EVT VT,
599 SDValue getConstantFP(const APFloat &Val, const SDLoc &DL, EVT VT,
601 SDValue getConstantFP(const ConstantFP &V, const SDLoc &DL, EVT VT,
604 return getConstantFP(Val, DL, VT, true);
607 return getConstantFP(Val, DL, VT, true);
610 return getConstantFP(Val, DL, VT, true);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp1597 DAG.getConstantFP(APInt(32, 0x4f800000).bitsToFloat(), DL, MVT::f32), in LowerUDIVREM64()
1601 DAG.getConstantFP(APInt(32, 0x5f7ffffc).bitsToFloat(), DL, MVT::f32)); in LowerUDIVREM64()
1603 DAG.getConstantFP(APInt(32, 0x2f800000).bitsToFloat(), DL, MVT::f32)); in LowerUDIVREM64()
1606 DAG.getConstantFP(APInt(32, 0xcf800000).bitsToFloat(), DL, MVT::f32), in LowerUDIVREM64()
1963 const SDValue Zero = DAG.getConstantFP(0.0, SL, MVT::f64); in LowerFCEIL()
1964 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFCEIL()
2049 SDValue C1 = DAG.getConstantFP(C1Val, SL, MVT::f64); in LowerFRINT()
2060 SDValue C2 = DAG.getConstantFP(C2Val, SL, MVT::f64); in LowerFRINT()
2094 const SDValue Zero = DAG.getConstantFP(0.0, SL, VT); in LowerFROUND32_16()
2095 const SDValue One = DAG.getConstantFP(1.0, SL, VT); in LowerFROUND32_16()
[all …]
DR600ISelLowering.cpp766 DAG.getConstantFP(0.15915494309, DL, MVT::f32)), in LowerTrig()
767 DAG.getConstantFP(0.5, DL, MVT::f32))); in LowerTrig()
781 DAG.getConstantFP(-0.5, DL, MVT::f32))); in LowerTrig()
786 DAG.getConstantFP(3.14159265359, DL, MVT::f32)); in LowerTrig()
887 Op, DAG.getConstantFP(1.0f, DL, MVT::f32), in lowerFP_TO_UINT()
897 Op, DAG.getConstantFP(-1.0f, DL, MVT::f32), in lowerFP_TO_SINT()
1062 HWTrue = DAG.getConstantFP(1.0f, DL, CompareVT); in LowerSELECT_CC()
1063 HWFalse = DAG.getConstantFP(0.0f, DL, CompareVT); in LowerSELECT_CC()
DSIISelLowering.cpp4813 DAG.getConstantFP(Max, DL, VT)); in LowerINTRINSIC_WO_CHAIN()
4815 DAG.getConstantFP(Min, DL, VT)); in LowerINTRINSIC_WO_CHAIN()
5846 const SDValue K0 = DAG.getConstantFP(K0Val, SL, MVT::f32); in lowerFDIV_FAST()
5849 const SDValue K1 = DAG.getConstantFP(K1Val, SL, MVT::f32); in lowerFDIV_FAST()
5851 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in lowerFDIV_FAST()
5879 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f32); in LowerFDIV32()
5962 const SDValue One = DAG.getConstantFP(1.0, SL, MVT::f64); in LowerFDIV64()
6106 DAG.getConstantFP(0.5/M_PI, DL, in LowerTrig()
6884 return DAG.getConstantFP(QNaN, SDLoc(N), VT); in performFCanonicalizeCombine()
6915 return DAG.getConstantFP(0.0, SDLoc(N), VT); in performFCanonicalizeCombine()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1292 SDValue SelectionDAG::getConstantFP(const APFloat &V, const SDLoc &DL, EVT VT, in getConstantFP() function in SelectionDAG
1294 return getConstantFP(*ConstantFP::get(*getContext(), V), DL, VT, isTarget); in getConstantFP()
1297 SDValue SelectionDAG::getConstantFP(const ConstantFP &V, const SDLoc &DL, in getConstantFP() function in SelectionDAG
1329 SDValue SelectionDAG::getConstantFP(double Val, const SDLoc &DL, EVT VT, in getConstantFP() function in SelectionDAG
1333 return getConstantFP(APFloat((float)Val), DL, VT, isTarget); in getConstantFP()
1335 return getConstantFP(APFloat(Val), DL, VT, isTarget); in getConstantFP()
1342 return getConstantFP(APF, DL, VT, isTarget); in getConstantFP()
3794 return getConstantFP(apf, DL, VT); in getNode()
3798 return getConstantFP(APFloat(APFloat::IEEEhalf(), Val), DL, VT); in getNode()
3800 return getConstantFP(APFloat(APFloat::IEEEsingle(), Val), DL, VT); in getNode()
[all …]
DLegalizeFloatTypes.cpp444 SDValue Ops[2] = { DAG.getConstantFP(-0.0, dl, N->getValueType(0)), in SoftenFloatRes_FNEG()
1115 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP()
1118 Hi = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_ConstantFP()
1326 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_FP_EXTEND()
1450 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_LOAD()
1475 Lo = DAG.getConstantFP(APFloat(DAG.EVTToAPFloatSemantics(NVT), in ExpandFloatRes_XINT_TO_FP()
1523 DAG.getConstantFP(APFloat(APFloat::PPCDoubleDouble(), in ExpandFloatRes_XINT_TO_FP()
DDAGCombiner.cpp764 return DAG.getConstantFP(V, SDLoc(Op), Op.getValueType()); in GetNegatedExpression()
10782 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
10786 return DAG.getConstantFP(0.0, DL, VT); in visitFADD()
10813 DAG.getConstantFP(1.0, DL, VT), Flags); in visitFADD()
10822 DAG.getConstantFP(2.0, DL, VT), Flags); in visitFADD()
10834 DAG.getConstantFP(1.0, DL, VT), Flags); in visitFADD()
10843 DAG.getConstantFP(2.0, DL, VT), Flags); in visitFADD()
10854 N1, DAG.getConstantFP(3.0, DL, VT), Flags); in visitFADD()
10864 N0, DAG.getConstantFP(3.0, DL, VT), Flags); in visitFADD()
10874 DAG.getConstantFP(4.0, DL, VT), Flags); in visitFADD()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfDebug.h117 const ConstantFP *getConstantFP() { return Constants.CFP; } in getConstantFP() function

12