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
The bcmp call, or null if unavailable.
Parameters
Name |
Description |
Ptr1 |
First memory region to compare. |
Ptr2 |
Second memory region to compare. |
Len |
Number of bytes to compare. |
B |
IR builder used to create the call. |
DL |
Data layout used for size typing. |
TLI |
Target library info describing available libcalls. |
Created with MrDocs