Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add __builtin_readcyclecounter() to produce the @llvm.readcyclecounter() ↵ | Hal Finkel | 2012-08-05 | 1 | -0/+6 |
| | | | | | | intrinsic. llvm-svn: 161310 | ||||
* | fix a bunch of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -1/+1 |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129559 | ||||
* | Enable basic testing of __builtin_fpclassify. | Benjamin Kramer | 2010-06-14 | 1 | -2/+3 |
| | | | | llvm-svn: 105937 | ||||
* | Enable the implementation of __builtin_setjmp and __builtin_longjmp. Not all | John McCall | 2010-05-27 | 1 | -0/+7 |
| | | | | | | LLVM backends support these yet. llvm-svn: 104867 | ||||
* | Implement codegen for __builtin_isnormal. | Benjamin Kramer | 2010-05-19 | 1 | -0/+8 |
| | | | | llvm-svn: 104118 | ||||
* | implement codegen support for __builtin_isfinite, part of PR6083 | Chris Lattner | 2010-05-06 | 1 | -2/+8 |
| | | | | llvm-svn: 103168 | ||||
* | optimize builtin_isnan/isinf to not do an extraneous extension from | Chris Lattner | 2010-05-06 | 1 | -0/+18 |
| | | | | | | | float -> double (which happens because they are modelled as int(...) functions), and add a testcase for isinf. llvm-svn: 103167 | ||||
* | PR6515: Implement __builtin_signbit and friends. | Eli Friedman | 2010-03-06 | 1 | -0/+1 |
| | | | | | | | I'm reasonably sure my implementation is correct, but it would be nice if someone could double-check. llvm-svn: 97864 | ||||
* | Revert changes r97693, r97700, and r97718. | John McCall | 2010-03-04 | 1 | -7/+0 |
| | | | | | | Our testing framework can't deal with disabled targets yet. llvm-svn: 97719 | ||||
* | Implement __builtin_dwarf_sp_column(). | John McCall | 2010-03-04 | 1 | -0/+7 |
| | | | | llvm-svn: 97700 | ||||
* | Support constant-evaluation of __builtin_nans* as well as the correct constant | John McCall | 2010-02-28 | 1 | -3/+42 |
| | | | | | | | | evaluation of __builtin_nan*. Most of the work to make this work is in LLVM. Fixes <rdar://problem/7696712> and part of PR 5255. llvm-svn: 97383 | ||||
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 1 | -1/+1 |
| | | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446 | ||||
* | Don't #include <stdio.h> when tests don't need it, or use clang instead of ↵ | Daniel Dunbar | 2009-11-17 | 1 | -1/+1 |
| | | | | | | clang-cc when they do. llvm-svn: 89070 | ||||
* | Eliminate &&s in tests. | Daniel Dunbar | 2009-11-08 | 1 | -1/+1 |
| | | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430 | ||||
* | Sorry! Accidentally checked in experimental change. | John Thompson | 2009-10-15 | 1 | -1/+1 |
| | | | | llvm-svn: 84183 | ||||
* | Make this at least compile. | Mike Stump | 2009-10-15 | 1 | -1/+1 |
| | | | | llvm-svn: 84167 | ||||
* | Removed math.h include, as Windows math.h has a compile error. | John Thompson | 2009-10-15 | 1 | -2/+1 |
| | | | | llvm-svn: 84160 | ||||
* | PR4836, part 2: CodeGen for __builtin_isnan. | Eli Friedman | 2009-09-01 | 1 | -0/+2 |
| | | | | llvm-svn: 80655 | ||||
* | PR4134: Implement __builtin_extract_return_addr. | Eli Friedman | 2009-05-03 | 1 | -0/+1 |
| | | | | llvm-svn: 70794 | ||||
* | Add more builtin definitions, including strcmp. | Daniel Dunbar | 2009-04-09 | 1 | -0/+1 |
| | | | | | | - PR3964. llvm-svn: 68710 | ||||
* | Rename clang to clang-cc. | Daniel Dunbar | 2009-03-24 | 1 | -1/+1 |
| | | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602 | ||||
* | switch getBuiltinLibFunction to use the new GetOrCreateLLVMFunction | Chris Lattner | 2009-03-22 | 1 | -0/+8 |
| | | | | | | | | functionality, fixing a crash on the attached testcase. Eliminate the BuiltinFunctions cache, as it can contain dangling pointers. This fixes a bunch of valgrind errors on test/CodeGen/builtins.c llvm-svn: 67484 | ||||
* | Add some stdlib builtins | Daniel Dunbar | 2009-02-20 | 1 | -1/+9 |
| | | | | llvm-svn: 65115 | ||||
* | Add some builtins to codegen test case. | Daniel Dunbar | 2008-10-05 | 1 | -6/+17 |
| | | | | llvm-svn: 57101 | ||||
* | Add two test cases for builtins (mostly related to object size | Daniel Dunbar | 2008-09-03 | 1 | -0/+95 |
builtins). llvm-svn: 55736 |