Emit a call to the memrchr function, analogously to emitMemChr.
Declared in <llvm/Transforms/Utils/BuildLibCalls.h>
Value*
emitMemRChr(
Value* Ptr,
Value* Val,
Value* Len,
IRBuilderBase& B,
DataLayout const& DL,
TargetLibraryInfo const* TLI);
LLVM Value Representation
| Name | Description |
|---|---|
| Ptr | LLVM Value Representation |
| Val | LLVM Value Representation |
| Len | 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. |