|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Target/NVPTX/NVPTXISelLowering.cpp 2102 SDValue AbsA = DAG.getNode(ISD::FABS, SL, VT, A);
2105 SDValue Bitcast = DAG.getNode(ISD::BITCAST, SL, MVT::i32, A);
2107 SDValue Sign = DAG.getNode(ISD::AND, SL, MVT::i32, Bitcast,
2108 DAG.getConstant(SignBitMask, SL, MVT::i32));
2111 DAG.getNode(ISD::OR, SL, MVT::i32, Sign,
2112 DAG.getConstant(PointFiveInBits, SL, MVT::i32));
2114 DAG.getNode(ISD::BITCAST, SL, VT, PointFiveWithSignRaw);
2115 SDValue AdjustedA = DAG.getNode(ISD::FADD, SL, VT, A, PointFiveWithSign);
2116 SDValue RoundedA = DAG.getNode(ISD::FTRUNC, SL, VT, AdjustedA);
2119 EVT SetCCVT = getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), VT);
2119 EVT SetCCVT = getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), VT);
2121 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 23.0), SL, VT),
2121 DAG.getSetCC(SL, SetCCVT, AbsA, DAG.getConstantFP(pow(2.0, 23.0), SL, VT),
2123 RoundedA = DAG.getNode(ISD::SELECT, SL, VT, IsLarge, A, RoundedA);
2126 SDValue IsSmall =DAG.getSetCC(SL, SetCCVT, AbsA,
2127 DAG.getConstantFP(0.5, SL, VT), ISD::SETOLT);
2128 SDValue RoundedAForSmallA = DAG.getNode(ISD::FTRUNC, SL, VT, A);
2129 return DAG.getNode(ISD::SELECT, SL, VT, IsSmall, RoundedAForSmallA, RoundedA);