Emit a call to the snprintf function.
Synopsis
Declared in <llvm/Transforms/Utils/BuildLibCalls.h>
Value*
emitSNPrintf(
Value* Dest,
Value* Size,
Value* Fmt,
ArrayRef<Value*> Args,
IRBuilderBase& B,
TargetLibraryInfo const* TLI);
Return Value
The snprintf call, or null if unavailable.
Parameters
Name |
Description |
Dest |
Destination buffer pointer. |
Size |
Size of the destination buffer. |
Fmt |
Format string pointer. |
Args |
Additional variadic format arguments. |
B |
IR builder used to create the call. |
TLI |
Target library info describing available libcalls. |
Created with MrDocs