llvm::emitMemRChr

Emit a call to the memrchr function, analogously to emitMemChr.

Synopsis

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

Value*
emitMemRChr(
    Value* Ptr,
    Value* Val,
    Value* Len,
    IRBuilderBase& B,
    DataLayout const& DL,
    TargetLibraryInfo const* TLI);

Return Value

LLVM Value Representation

Parameters

NameDescription
PtrLLVM Value Representation
ValLLVM 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.