Home
last modified time | relevance | path

Searched refs:Libcall (Results 1 – 25 of 59) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DRuntimeLibcalls.h30 enum Libcall { enum
38 Libcall getFPEXT(EVT OpVT, EVT RetVT);
42 Libcall getFPROUND(EVT OpVT, EVT RetVT);
46 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
50 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
54 Libcall getSINTTOFP(EVT OpVT, EVT RetVT);
58 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
62 Libcall getSYNC(unsigned Opc, MVT VT);
67 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
72 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
[all …]
DTargetLowering.h2311 void setLibcallName(RTLIB::Libcall Call, const char *Name) { in setLibcallName()
2316 const char *getLibcallName(RTLIB::Libcall Call) const { in getLibcallName()
2322 void setCmpLibcallCC(RTLIB::Libcall Call, ISD::CondCode CC) { in setCmpLibcallCC()
2328 ISD::CondCode getCmpLibcallCC(RTLIB::Libcall Call) const { in getCmpLibcallCC()
2333 void setLibcallCallingConv(RTLIB::Libcall Call, CallingConv::ID CC) { in setLibcallCallingConv()
2338 CallingConv::ID getLibcallCallingConv(RTLIB::Libcall Call) const { in getLibcallCallingConv()
2714 std::pair<SDValue, SDValue> makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC,
/external/llvm/include/llvm/CodeGen/
DRuntimeLibcalls.h30 enum Libcall { enum
481 Libcall getFPEXT(EVT OpVT, EVT RetVT);
485 Libcall getFPROUND(EVT OpVT, EVT RetVT);
489 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
493 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
497 Libcall getSINTTOFP(EVT OpVT, EVT RetVT);
501 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
505 Libcall getSYNC(unsigned Opc, MVT VT);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerHelper.h121 createLibcall(MachineIRBuilder &MIRBuilder, RTLIB::Libcall Libcall,
DLegalizerInfo.h77 Libcall, enumerator
512 return actionIf(LegalizeAction::Libcall, Predicate); in libcallIf()
515 return actionFor(LegalizeAction::Libcall, Types); in libcallFor()
519 return actionFor(LegalizeAction::Libcall, Types); in libcallFor()
523 return actionForCartesianProduct(LegalizeAction::Libcall, Types); in libcallForCartesianProduct()
528 return actionForCartesianProduct(LegalizeAction::Libcall, Types0, Types1); in libcallForCartesianProduct()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp45 case Libcall: in legalizeInstrStep()
77 static RTLIB::Libcall getRTLibDesc(unsigned Opcode, unsigned Size) { in getRTLibDesc()
115 llvm::createLibcall(MachineIRBuilder &MIRBuilder, RTLIB::Libcall Libcall, in createLibcall() argument
120 const char *Name = TLI.getLibcallName(Libcall); in createLibcall()
123 if (!CLI.lowerCall(MIRBuilder, TLI.getLibcallCallingConv(Libcall), in createLibcall()
134 auto Libcall = getRTLibDesc(MI.getOpcode(), Size); in simpleLibcall() local
139 return createLibcall(MIRBuilder, Libcall, {MI.getOperand(0).getReg(), OpType}, in simpleLibcall()
143 static RTLIB::Libcall getConvRTLibDesc(unsigned Opcode, Type *ToType, in getConvRTLibDesc()
168 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall() local
169 return createLibcall(MIRBuilder, Libcall, {MI.getOperand(0).getReg(), ToType}, in conversionLibcall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp101 setAction({Op, s32}, Libcall); in ARMLegalizerInfo()
321 auto Libcall = in legalizeCustom() local
331 auto Status = createLibcall(MIRBuilder, Libcall, {RetVal, RetTy}, in legalizeCustom()
371 for (auto Libcall : Libcalls) { in legalizeCustom() local
374 createLibcall(MIRBuilder, Libcall.LibcallID, {LibcallResult, RetTy}, in legalizeCustom()
389 CmpInst::Predicate ResultPred = Libcall.Predicate; in legalizeCustom()
DARMLegalizerInfo.h40 RTLIB::Libcall LibcallID;
DARMSelectionDAGInfo.h64 RTLIB::Libcall LC) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp108 ArrayRef<RTLIB::Libcall> Libcalls);
1316 static const RTLIB::Libcall Libcalls[6] = { in expandAtomicLoadToLibcall()
1330 static const RTLIB::Libcall Libcalls[6] = { in expandAtomicStoreToLibcall()
1344 static const RTLIB::Libcall Libcalls[6] = { in expandAtomicCASToLibcall()
1359 static ArrayRef<RTLIB::Libcall> GetRMWLibcall(AtomicRMWInst::BinOp Op) { in GetRMWLibcall()
1360 static const RTLIB::Libcall LibcallsXchg[6] = { in GetRMWLibcall()
1364 static const RTLIB::Libcall LibcallsAdd[6] = { in GetRMWLibcall()
1368 static const RTLIB::Libcall LibcallsSub[6] = { in GetRMWLibcall()
1372 static const RTLIB::Libcall LibcallsAnd[6] = { in GetRMWLibcall()
1376 static const RTLIB::Libcall LibcallsOr[6] = { in GetRMWLibcall()
[all …]
DTargetLoweringBase.cpp125 setLibcallCallingConv((RTLIB::Libcall)LC, CallingConv::C); in InitLibcalls()
179 RTLIB::Libcall RTLIB::getFPEXT(EVT OpVT, EVT RetVT) { in getFPEXT()
205 RTLIB::Libcall RTLIB::getFPROUND(EVT OpVT, EVT RetVT) { in getFPROUND()
243 RTLIB::Libcall RTLIB::getFPTOSINT(EVT OpVT, EVT RetVT) { in getFPTOSINT()
285 RTLIB::Libcall RTLIB::getFPTOUINT(EVT OpVT, EVT RetVT) { in getFPTOUINT()
327 RTLIB::Libcall RTLIB::getSINTTOFP(EVT OpVT, EVT RetVT) { in getSINTTOFP()
367 RTLIB::Libcall RTLIB::getUINTTOFP(EVT OpVT, EVT RetVT) { in getUINTTOFP()
405 RTLIB::Libcall RTLIB::getSYNC(unsigned Opc, MVT VT) { in getSYNC()
443 RTLIB::Libcall RTLIB::getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMCPY_ELEMENT_UNORDERED_ATOMIC()
460 RTLIB::Libcall RTLIB::getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) { in getMEMMOVE_ELEMENT_UNORDERED_ATOMIC()
[all …]
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp87 ArrayRef<RTLIB::Libcall> Libcalls);
1312 static const RTLIB::Libcall Libcalls[6] = { in expandAtomicLoadToLibcall()
1326 static const RTLIB::Libcall Libcalls[6] = { in expandAtomicStoreToLibcall()
1340 static const RTLIB::Libcall Libcalls[6] = { in expandAtomicCASToLibcall()
1355 static ArrayRef<RTLIB::Libcall> GetRMWLibcall(AtomicRMWInst::BinOp Op) { in GetRMWLibcall()
1356 static const RTLIB::Libcall LibcallsXchg[6] = { in GetRMWLibcall()
1360 static const RTLIB::Libcall LibcallsAdd[6] = { in GetRMWLibcall()
1364 static const RTLIB::Libcall LibcallsSub[6] = { in GetRMWLibcall()
1368 static const RTLIB::Libcall LibcallsAnd[6] = { in GetRMWLibcall()
1372 static const RTLIB::Libcall LibcallsOr[6] = { in GetRMWLibcall()
[all …]
DTargetLoweringBase.cpp501 RTLIB::Libcall RTLIB::getFPEXT(EVT OpVT, EVT RetVT) { in getFPEXT()
524 RTLIB::Libcall RTLIB::getFPROUND(EVT OpVT, EVT RetVT) { in getFPROUND()
559 RTLIB::Libcall RTLIB::getFPTOSINT(EVT OpVT, EVT RetVT) { in getFPTOSINT()
601 RTLIB::Libcall RTLIB::getFPTOUINT(EVT OpVT, EVT RetVT) { in getFPTOUINT()
643 RTLIB::Libcall RTLIB::getSINTTOFP(EVT OpVT, EVT RetVT) { in getSINTTOFP()
683 RTLIB::Libcall RTLIB::getUINTTOFP(EVT OpVT, EVT RetVT) { in getUINTTOFP()
721 RTLIB::Libcall RTLIB::getSYNC(unsigned Opc, MVT VT) { in getSYNC()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRuntimeLibcallSignatures.h27 RTLIB::Libcall LC,
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp112 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,
118 SDValue ExpandFPLibCall(SDNode *Node, RTLIB::Libcall Call_F32,
119 RTLIB::Libcall Call_F64, RTLIB::Libcall Call_F80,
120 RTLIB::Libcall Call_F128,
121 RTLIB::Libcall Call_PPCF128);
123 RTLIB::Libcall Call_I8,
124 RTLIB::Libcall Call_I16,
125 RTLIB::Libcall Call_I32,
[all …]
DLegalizeFloatTypes.cpp30 static RTLIB::Libcall GetFPLibCall(EVT VT, in GetFPLibCall()
31 RTLIB::Libcall Call_F32, in GetFPLibCall()
32 RTLIB::Libcall Call_F64, in GetFPLibCall()
33 RTLIB::Libcall Call_F80, in GetFPLibCall()
34 RTLIB::Libcall Call_F128, in GetFPLibCall()
35 RTLIB::Libcall Call_PPCF128) { in GetFPLibCall()
474 RTLIB::Libcall LC = RTLIB::getFPEXT(Op.getValueType(), N->getValueType(0)); in SoftenFloatRes_FP_EXTEND()
492 RTLIB::Libcall LC = RTLIB::getFPEXT(MVT::f32, N->getValueType(0)); in SoftenFloatRes_FP16_TO_FP()
506 RTLIB::Libcall LC = RTLIB::getFPROUND(Op.getValueType(), N->getValueType(0)); in SoftenFloatRes_FP_ROUND()
716 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; in SoftenFloatRes_XINT_TO_FP()
[all …]
/external/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.h64 RTLIB::Libcall LC) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp139 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
140 SDValue ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops,
143 std::pair<SDValue, SDValue> ExpandChainLibCall(RTLIB::Libcall LC,
145 SDValue ExpandFPLibCall(SDNode *Node, RTLIB::Libcall Call_F32,
146 RTLIB::Libcall Call_F64, RTLIB::Libcall Call_F80,
147 RTLIB::Libcall Call_F128,
148 RTLIB::Libcall Call_PPCF128);
150 RTLIB::Libcall Call_I8,
151 RTLIB::Libcall Call_I16,
152 RTLIB::Libcall Call_I32,
[all …]
DLegalizeFloatTypes.cpp30 static RTLIB::Libcall GetFPLibCall(EVT VT, in GetFPLibCall()
31 RTLIB::Libcall Call_F32, in GetFPLibCall()
32 RTLIB::Libcall Call_F64, in GetFPLibCall()
33 RTLIB::Libcall Call_F80, in GetFPLibCall()
34 RTLIB::Libcall Call_F128, in GetFPLibCall()
35 RTLIB::Libcall Call_PPCF128) { in GetFPLibCall()
477 RTLIB::Libcall LC = RTLIB::getFPEXT(Op.getValueType(), N->getValueType(0)); in SoftenFloatRes_FP_EXTEND()
493 RTLIB::Libcall LC = RTLIB::getFPEXT(MVT::f32, N->getValueType(0)); in SoftenFloatRes_FP16_TO_FP()
507 RTLIB::Libcall LC = RTLIB::getFPROUND(Op.getValueType(), N->getValueType(0)); in SoftenFloatRes_FP_ROUND()
717 RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL; in SoftenFloatRes_XINT_TO_FP()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DUpdateCompilerUsed.cpp84 Lowering->getLibcallName(static_cast<RTLIB::Libcall>(I))) in initializeLibCalls()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp36 RTLIB::Libcall Libcall; member
256 if (HardFloatLibCalls[I].Libcall != RTLIB::UNKNOWN_LIBCALL) in setMips16HardFloatLibCalls()
257 setLibcallName(HardFloatLibCalls[I].Libcall, HardFloatLibCalls[I].Name); in setMips16HardFloatLibCalls()
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp36 RTLIB::Libcall Libcall; member
256 if (HardFloatLibCalls[I].Libcall != RTLIB::UNKNOWN_LIBCALL) in setMips16HardFloatLibCalls()
257 setLibcallName(HardFloatLibCalls[I].Libcall, HardFloatLibCalls[I].Name); in setMips16HardFloatLibCalls()
/external/llvm/lib/LTO/
DUpdateCompilerUsed.cpp84 Lowering->getLibcallName(static_cast<RTLIB::Libcall>(I))) in initializeLibCalls()
/external/llvm/include/llvm/Target/
DTargetLowering.h1857 void setLibcallName(RTLIB::Libcall Call, const char *Name) { in setLibcallName()
1862 const char *getLibcallName(RTLIB::Libcall Call) const { in getLibcallName()
1868 void setCmpLibcallCC(RTLIB::Libcall Call, ISD::CondCode CC) { in setCmpLibcallCC()
1874 ISD::CondCode getCmpLibcallCC(RTLIB::Libcall Call) const { in getCmpLibcallCC()
1879 void setLibcallCallingConv(RTLIB::Libcall Call, CallingConv::ID CC) { in setLibcallCallingConv()
1884 CallingConv::ID getLibcallCallingConv(RTLIB::Libcall Call) const { in getLibcallCallingConv()
2233 std::pair<SDValue, SDValue> makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC,
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/GlobalISel/
DLegalizerInfoTest.cpp28 case Libcall: OS << "Libcall"; break; in operator <<()

123