Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:LC

112   SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
113 SDValue ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops,
116 std::pair<SDValue, SDValue> ExpandChainLibCall(RTLIB::Libcall LC,
1939 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, SDNode *Node,
1952 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
1975 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee, std::move(Args))
1989 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, EVT RetVT,
2003 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
2010 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee, std::move(Args))
2021 SelectionDAGLegalize::ExpandChainLibCall(RTLIB::Libcall LC,
2037 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
2044 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee, std::move(Args))
2058 RTLIB::Libcall LC;
2061 case MVT::f32: LC = Call_F32; break;
2062 case MVT::f64: LC = Call_F64; break;
2063 case MVT::f80: LC = Call_F80; break;
2064 case MVT::f128: LC = Call_F128; break;
2065 case MVT::ppcf128: LC = Call_PPCF128; break;
2067 return ExpandLibCall(LC, Node, false);
2076 RTLIB::Libcall LC;
2079 case MVT::i8: LC = Call_I8; break;
2080 case MVT::i16: LC = Call_I16; break;
2081 case MVT::i32: LC = Call_I32; break;
2082 case MVT::i64: LC = Call_I64; break;
2083 case MVT::i128: LC = Call_I128; break;
2085 return ExpandLibCall(LC, Node, isSigned);
2095 RTLIB::Libcall LC;
2098 case MVT::i8: LC= isSigned ? RTLIB::SDIVREM_I8 : RTLIB::UDIVREM_I8; break;
2099 case MVT::i16: LC= isSigned ? RTLIB::SDIVREM_I16 : RTLIB::UDIVREM_I16; break;
2100 case MVT::i32: LC= isSigned ? RTLIB::SDIVREM_I32 : RTLIB::UDIVREM_I32; break;
2101 case MVT::i64: LC= isSigned ? RTLIB::SDIVREM_I64 : RTLIB::UDIVREM_I64; break;
2102 case MVT::i128: LC= isSigned ? RTLIB::SDIVREM_I128:RTLIB::UDIVREM_I128; break;
2133 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
2139 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee, std::move(Args))
2153 RTLIB::Libcall LC;
2156 case MVT::f32: LC = RTLIB::SINCOS_F32; break;
2157 case MVT::f64: LC = RTLIB::SINCOS_F64; break;
2158 case MVT::f80: LC = RTLIB::SINCOS_F80; break;
2159 case MVT::f128: LC = RTLIB::SINCOS_F128; break;
2160 case MVT::ppcf128: LC = RTLIB::SINCOS_PPCF128; break;
2162 return TLI.getLibcallName(LC) != nullptr;
2200 RTLIB::Libcall LC;
2203 case MVT::f32: LC = RTLIB::SINCOS_F32; break;
2204 case MVT::f64: LC = RTLIB::SINCOS_F64; break;
2205 case MVT::f80: LC = RTLIB::SINCOS_F80; break;
2206 case MVT::f128: LC = RTLIB::SINCOS_F128; break;
2207 case MVT::ppcf128: LC = RTLIB::SINCOS_PPCF128; break;
2244 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
2250 .setCallee(TLI.getLibcallCallingConv(LC),
3407 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL;
3409 LC = RTLIB::MUL_I16;
3411 LC = RTLIB::MUL_I32;
3413 LC = RTLIB::MUL_I64;
3415 LC = RTLIB::MUL_I128;
3416 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Cannot expand this operation!");
3435 SDValue Ret = ExpandLibCall(LC, WideVT, Args, 4, isSigned, dl);
3779 RTLIB::Libcall LC = RTLIB::getSYNC(Opc, VT);
3780 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unexpected atomic op or value type!");
3782 std::pair<SDValue, SDValue> Tmp = ExpandChainLibCall(LC, Node, false);
3931 RTLIB::Libcall LC =
3933 assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unable to expand fp_to_fp16");
3934 Results.push_back(ExpandLibCall(LC, Node, false));