llvm::emitPutS

Emit a call to puts, assuming Str is some pointer.

Synopsis

Declared in <llvm/Transforms/Utils/BuildLibCalls.h>

Value*
emitPutS(
    Value* Str,
    IRBuilderBase& B,
    TargetLibraryInfo const* TLI);

Return Value

The puts call, or null if unavailable.

Parameters

NameDescription
StrC string pointer to write.
BIR builder used to create the call.
TLITarget library info describing available libcalls.