diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h b/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h index 90517e806e02..e7d41933a6c9 100644 --- a/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h +++ b/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h @@ -96,6 +96,10 @@ namespace llvm { IRBuilderBase &B, const DataLayout &DL, const TargetLibraryInfo *TLI); + /// Emit a call to the mempcpy function. + Value *emitMemPCpy(Value *Dst, Value *Src, Value *Len, IRBuilderBase &B, + const DataLayout &DL, const TargetLibraryInfo *TLI); + /// Emit a call to the memchr function. This assumes that Ptr is a pointer, /// Val is an i32 value, and Len is an 'intptr_t' value. Value *emitMemChr(Value *Ptr, Value *Val, Value *Len, IRBuilderBase &B, |