- Jul 31, 2009
-
-
Owen Anderson authored
llvm-svn: 77722
-
Owen Anderson authored
llvm-svn: 77638
-
- Jul 30, 2009
-
-
Owen Anderson authored
llvm-svn: 77514
-
- Jul 27, 2009
-
-
Owen Anderson authored
llvm-svn: 77249
-
- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77151
-
- Jul 25, 2009
-
-
Owen Anderson authored
llvm-svn: 77012
-
- Jul 15, 2009
-
-
Owen Anderson authored
llvm-svn: 75705
-
- Jul 13, 2009
-
-
Owen Anderson authored
llvm-svn: 75446
-
- Jun 30, 2009
-
-
Argyrios Kyrtzidis authored
The implementations of these methods can Use Decl::getASTContext() to get the ASTContext. This commit touches a lot of files since call sites for these methods are everywhere. I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it. llvm-svn: 74501
-
- Jun 18, 2009
-
-
- Jun 14, 2009
-
-
Chris Lattner authored
fixes a layering violation in lib/Basic/Targets.cpp. llvm-svn: 73318
-
- Jun 07, 2009
-
-
Eli Friedman authored
llvm-svn: 73022
-
Eli Friedman authored
get rid of a few more clang vector builtins. llvm-svn: 73015
-
- Jun 06, 2009
-
-
Eli Friedman authored
llvm-svn: 72996
-
- Jun 02, 2009
-
-
Eli Friedman authored
Also, committing an #if 0'ed __builtin_setjmp and __builtin_longjmp implementation I've had sitting in my tree for a while. I haven't enabled it because the LLVM backend support isn't complete yet. llvm-svn: 72727
-
Eli Friedman authored
alloca without declaring it. llvm-svn: 72719
-
- May 28, 2009
-
-
Daniel Dunbar authored
llvm-svn: 72504
-
- May 27, 2009
-
-
Anders Carlsson authored
llvm-svn: 72446
-
- May 21, 2009
-
-
Jay Foad authored
llvm-svn: 72210
-
- May 18, 2009
-
-
Anders Carlsson authored
llvm-svn: 72033
-
Anders Carlsson authored
llvm-svn: 72032
-
- May 13, 2009
-
-
Chris Lattner authored
rdar://6880573 llvm-svn: 71637
-
Chris Lattner authored
rdar://6880573 llvm-svn: 71636
-
- May 08, 2009
-
-
Chris Lattner authored
semantic rules that gcc and icc use. This implements the variadic and concrete versions as builtins and has sema do the disambiguation. There are probably a bunch of details to finish up but this seems like a large monotonic step forward :) llvm-svn: 71212
-
- May 03, 2009
-
-
Eli Friedman authored
llvm-svn: 70794
-
- Apr 26, 2009
-
-
Eli Friedman authored
llvm-svn: 70145
-
- Apr 18, 2009
-
-
- Apr 13, 2009
-
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 68987
-
- Apr 08, 2009
-
-
Anders Carlsson authored
Add a destination type argument to EmitConstantExpr. This will be used for when the destination has a reference type. (No functionality change yet) llvm-svn: 68593
-
- Apr 07, 2009
-
-
Daniel Dunbar authored
__sync_bool_compare_and_swap. - <rdar://problem/6762223> [sema/irgen] support __sync_bool_compare_and_swap and __sync_add_and_fetch llvm-svn: 68482
-
- Feb 16, 2009
-
-
Daniel Dunbar authored
- Define pow[lf]?, sqrt[lf]? as builtins. - Add -fmath-errno option which binds to LangOptions.MathErrno - Add new builtin flag Builtin::Context::isConstWithoutErrno for functions which can be marked as const if errno isn't respected for math functions. Sema automatically marks these functions as const when they are defined, if MathErrno=0. - IRgen uses const attribute on sqrt and pow library functions to decide if it can use the llvm intrinsic. llvm-svn: 64689
-
Daniel Dunbar authored
- Fix test case to not only have negative tests. llvm-svn: 64674
-
- Feb 14, 2009
-
-
Douglas Gregor authored
etc.) when we perform name lookup on them. This ensures that we produce the correct signature for these functions, which has two practical impacts: 1) When we're supporting the "implicit function declaration" feature of C99, these functions will be implicitly declared with the right signature rather than as a function returning "int" with no prototype. See PR3541 for the reason why this is important (hint: GCC always predeclares these functions). 2) If users attempt to redeclare one of these library functions with an incompatible signature, we produce a hard error. This patch does a little bit of work to give reasonable error messages. For example, when we hit case #1 we complain that we're implicitly declaring this function with a specific signature, and then we give a note that asks the user to include the appropriate header (e.g., "please include <stdlib.h> or explicitly declare 'malloc'"). In case #2, we show the type of the implicit builtin that was incorrectly declared, so the user can see the problem. We could do better here: for example, when displaying this latter error message we say something like: 'strcpy' was implicitly declared here with type 'char *(char *, char const *)' but we should really print out a fake code line showing the declaration, like this: 'strcpy' was implicitly declared here as: char *strcpy(char *, char const *) This would also be good for printing built-in candidates with C++ operator overloading. The set of C library functions supported by this patch includes all functions from the C99 specification's <stdlib.h> and <string.h> that (a) are predefined by GCC and (b) have signatures that could cause codegen issues if they are treated as functions with no prototype returning and int. Future work could extend this set of functions to other C library functions that we know about. llvm-svn: 64504
-
- Feb 11, 2009
-
-
Daniel Dunbar authored
case on x86_64. llvm-svn: 64333
-
- Feb 05, 2009
-
-
Dale Johannesen authored
Untested, Daniel or Nate please review. llvm-svn: 63814
-
Daniel Dunbar authored
r63765). llvm-svn: 63795
-
- Feb 04, 2009
-
-
Daniel Dunbar authored
llvm-svn: 63773
-
- Jan 25, 2009
-
-
Eli Friedman authored
__builtin___CFStringMakeConstantString. (We get into trouble in GenerateStaticBlockVarDecl if the constant folder isn't accurate.) llvm-svn: 62949
-
- Jan 20, 2009
-
-
Eli Friedman authored
struct. llvm-svn: 62585
-
Eli Friedman authored
va_list is a struct, like x86-64. If anyone has a better idea for how to do the check in the if statements, suggestions are welcome. llvm-svn: 62582
-