Emit a call to the wcslen function to the builder, for the specified pointer. Ptr is required to be some pointer type, and the return value has 'size_t' type.

Synopsis

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

Value*
emitWcsLen(
    Value* Ptr,
    IRBuilderBase& B,
    DataLayout const& DL,
    TargetLibraryInfo const* TLI);

Return Value

LLVM Value Representation

Parameters

Name

Description

Ptr

LLVM Value Representation

B

Common base class shared among various IRBuilders.

DL

A parsed version of the target data layout string in and methods for querying it.

TLI

Provides information about what library functions are available for the current target.

Created with MrDocs