Emit a call to the hot/cold size-returning operator new function.
Declared in <llvm/Transforms/Utils/BuildLibCalls.h>
Value*
emitHotColdSizeReturningNew(
Value* Num,
IRBuilderBase& B,
TargetLibraryInfo const* TLI,
LibFunc NewFunc,
Value* HotCold);
The size-returning new call, or null if unavailable.
| Name | Description |
|---|---|
| Num | Number of bytes to allocate. |
| 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. |