[#llvm-LegalizerHelper-createLibcall-02b] = xref:llvm.adoc[llvm]::xref:llvm/LegalizerHelper.adoc[LegalizerHelper]::createLibcall :relfileprefix: ../../ :mrdocs: Create a libcall to the given `Name` using calling convention `CC.` == Synopsis Declared in `<llvm/CodeGen/GlobalISel/LegalizerHelper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/LegalizerHelper/LegalizeResult.adoc[LegalizeResult] createLibcall( char const* Name, xref:llvm/CallLowering/ArgInfo.adoc[CallLowering::ArgInfo] const& Result, xref:llvm/ArrayRef-08.adoc[ArrayRef<CallLowering::ArgInfo>] Args, xref:llvm/CallingConv/ID.adoc[CallingConv::ID] CC, xref:llvm/LostDebugLocObserver.adoc[LostDebugLocObserver]& LocObserver, xref:llvm/MachineInstr.adoc[MachineInstr]* MI = nullptr) const; ---- == Return Value Result of attempting to legalize the instruction. == Parameters [cols="1,4"] |=== | Name| Description | *Name* | Mangled libcall name to emit. | *Result* | Call result argument info. | *Args* | Call argument infos. | *CC* | Calling convention for the libcall. | *LocObserver* | Observer that tracks lost debug locations. | *MI* | Optional original instruction providing debug location. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#