llvm::emitBCmp

Emit a call to the bcmp function.

Synopsis

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

Value*
emitBCmp(
    Value* Ptr1,
    Value* Ptr2,
    Value* Len,
    IRBuilderBase& B,
    DataLayout const& DL,
    TargetLibraryInfo const* TLI);

Return Value

LLVM Value Representation

Parameters

NameDescription
Ptr1LLVM Value Representation
Ptr2LLVM Value Representation
LenLLVM Value Representation
BCommon base class shared among various IRBuilders.
DLA parsed version of the target data layout string in and methods for querying it.
TLIProvides information about what library functions are available for the current target.