diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-02-12 02:15:20 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-02-12 02:15:20 +0000 |
commit | 6a7df9aae620801d97da72d718e9aff76eebac9b (patch) | |
tree | b491962ce8254c65b2e16a8a09b22a04757a301b /include/llvm/Target/TargetLibraryInfo.h | |
parent | 6a577f82ba56a4da48e984702240a01c3ba7e941 (diff) | |
download | llvm-6a7df9aae620801d97da72d718e9aff76eebac9b.tar.gz llvm-6a7df9aae620801d97da72d718e9aff76eebac9b.tar.bz2 llvm-6a7df9aae620801d97da72d718e9aff76eebac9b.tar.xz |
Remove redundant getAnalysis<> calls in GlobalOpt. Add a few Itanium ABI calls
to TargetLibraryInfo and use one of them in GlobalOpt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLibraryInfo.h')
-rw-r--r-- | include/llvm/Target/TargetLibraryInfo.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLibraryInfo.h b/include/llvm/Target/TargetLibraryInfo.h index 3fe22b94a0..70e26bf3c5 100644 --- a/include/llvm/Target/TargetLibraryInfo.h +++ b/include/llvm/Target/TargetLibraryInfo.h @@ -199,6 +199,15 @@ namespace llvm { truncf, /// long double truncl(long double x); truncl, + /// int __cxa_atexit(void (*f)(void *), void *p, void *d); + cxa_atexit, + /// void __cxa_guard_abort(guard_t *guard); + /// guard_t is int64_t in Itanium ABI or int32_t on ARM eabi. + cxa_guard_abort, + /// int __cxa_guard_acquire(guard_t *guard); + cxa_guard_acquire, + /// void __cxa_guard_release(guard_t *guard); + cxa_guard_release, NumLibFuncs }; |