[#llvm-emitHotColdNewAligned] = xref:llvm.adoc[llvm]::emitHotColdNewAligned :relfileprefix: ../ :mrdocs: Emit a call to the hot/cold aligned operator new function. == Synopsis Declared in `<llvm/Transforms/Utils/BuildLibCalls.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/Value.adoc[Value]* emitHotColdNewAligned( xref:llvm/Value.adoc[Value]* Num, xref:llvm/Value.adoc[Value]* Align, xref:llvm/IRBuilderBase.adoc[IRBuilderBase]& B, xref:llvm/TargetLibraryInfo.adoc[TargetLibraryInfo] const* TLI, xref:llvm/LibFunc.adoc[LibFunc] NewFunc, xref:llvm/Value.adoc[Value]* HotCold); ---- == Return Value The aligned new call, or null if unavailable. == Parameters [cols="1,4"] |=== | Name| Description | *Num* | Number of bytes to allocate. | *Align* | Alignment requested for the allocation. | *B* | IR builder used to create the call. | *TLI* | Target library info describing available libcalls. | *NewFunc* | LibFunc identifying which operator new to call. | *HotCold* | Hot/cold hint argument for the allocator. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#