summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetLibraryInfo.h
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-07-25 16:46:31 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-07-25 16:46:31 +0000
commit51004dff923259c90591621e7151408ad94e0eb8 (patch)
treee459db95fd8e0f721e3e9a7b947215bc58cee518 /include/llvm/Target/TargetLibraryInfo.h
parentc338fe082860989d89b51520042a5f447339eb8c (diff)
downloadllvm-51004dff923259c90591621e7151408ad94e0eb8.tar.gz
llvm-51004dff923259c90591621e7151408ad94e0eb8.tar.bz2
llvm-51004dff923259c90591621e7151408ad94e0eb8.tar.xz
make all Emit*() functions consult the TargetLibraryInfo information before creating a call to a library function.
Update all clients to pass the TLI information around. Previous draft reviewed by Eli. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLibraryInfo.h')
-rw-r--r--include/llvm/Target/TargetLibraryInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLibraryInfo.h b/include/llvm/Target/TargetLibraryInfo.h
index 83a82934d5..0fd625cafd 100644
--- a/include/llvm/Target/TargetLibraryInfo.h
+++ b/include/llvm/Target/TargetLibraryInfo.h
@@ -240,6 +240,8 @@ namespace llvm {
cxa_guard_acquire,
/// void __cxa_guard_release(guard_t *guard);
cxa_guard_release,
+ /// void *__memcpy_chk(void *s1, const void *s2, size_t n, size_t s1size);
+ memcpy_chk,
NumLibFuncs
};