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

Name

Description

Str

C string pointer to write.

B

IR builder used to create the call.

TLI

Target library info describing available libcalls.

Created with MrDocs