Add a few more built-in functions.

llvm-svn: 51921
This commit is contained in:
Steve Naroff 2008-06-03 22:16:48 +00:00
parent b115be707d
commit a2981a2c7b
1 changed files with 4 additions and 1 deletions

View File

@ -100,10 +100,13 @@ BUILTIN(__builtin_memcpy, "v*v*vC*z", "n")
BUILTIN(__builtin_return_address, "v*Ui", "n")
BUILTIN(__builtin_frame_address, "v*Ui", "n")
// GCC Object size checking builtins
BUILTIN(__builtin___memset_chk, "v*v*izz", "n")
BUILTIN(__builtin___memcpy_chk, "v*v*vC*zz", "n")
BUILTIN(__builtin___memmove_chk, "v*v*vC*zz", "n")
BUILTIN(__builtin___mempcpy_chk, "v*v*vC*zz", "n")
BUILTIN(__builtin___strncpy_chk, "cC*cC*cC*zz", "n")
BUILTIN(__builtin___strncpy_chk, "c*cC*cC*zz", "n")
BUILTIN(__builtin___strcpy_chk, "c*cC*cC*z", "n")
BUILTIN(__builtin___strcat_chk, "c*c*cC*z", "n")
BUILTIN(__builtin_expect, "iii" , "nc")
BUILTIN(__builtin_shufflevector, "v." , "nc")