Emit a call to the bcmp function.
Declared in <llvm/Transforms/Utils/BuildLibCalls.h>
Value*
emitBCmp(
Value* Ptr1,
Value* Ptr2,
Value* Len,
IRBuilderBase& B,
DataLayout const& DL,
TargetLibraryInfo const* TLI);
The bcmp call, or null if unavailable.
| 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. |