summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Test all currently supported atomic builtins on x86-{32,64}.Dale Johannesen2008-08-222-0/+1833
| | | | | | These just test that they go through the BE. llvm-svn: 55208
* Use isa instead of dyn_cast.Anders Carlsson2008-08-221-2/+1
| | | | llvm-svn: 55207
* Comprehensive test of FE handling of __sync builtins.Dale Johannesen2008-08-221-0/+281
| | | | llvm-svn: 55206
* Reapply r55191 and r55192.Dan Gohman2008-08-223-9/+18
| | | | llvm-svn: 55205
* Allow nested backtracks.Argyrios Kyrtzidis2008-08-222-23/+44
| | | | llvm-svn: 55204
* Make option variables static, so they won't cause nameclashAnton Korobeynikov2008-08-221-7/+10
| | | | llvm-svn: 55203
* Reverting r55190, r55191, and r55192. They broke the build with this error ↵Bill Wendling2008-08-225-34/+26
| | | | | | | | | | | | | | | message: {standard input}:17:bad register name `%sil' make[4]: *** [libgcc/./_addvsi3.o] Error 1 make[4]: *** Waiting for unfinished jobs.... {standard input}:23:bad register name `%dil' {standard input}:28:bad register name `%dil' make[4]: *** [libgcc/./_addvdi3.o] Error 1 {standard input}:18:bad register name `%sil' make[4]: *** [libgcc/./_subvsi3.o] Error 1 llvm-svn: 55200
* NeXT: Emit category metadata.Daniel Dunbar2008-08-221-30/+97
| | | | llvm-svn: 55197
* Add some QA related example clang projects.Daniel Dunbar2008-08-221-0/+15
| | | | llvm-svn: 55196
* Fix the InsertBranch call.Dan Gohman2008-08-221-2/+1
| | | | llvm-svn: 55192
* Support non-fallthrough unconditional branches in FastISel.Dan Gohman2008-08-223-9/+19
| | | | llvm-svn: 55191
* Anyext tweaks for x86. When extloading a value to i32 or i64, chooseDan Gohman2008-08-222-17/+16
| | | | | | | | instructions that define the full 32 or 64-bit value. When anyexting from i8 to i16 or i32, it's not necessary to zero out the high portion of the register. llvm-svn: 55190
* Fix typo.Owen Anderson2008-08-221-1/+1
| | | | llvm-svn: 55189
* Update Xcode project.Ted Kremenek2008-08-221-0/+6
| | | | llvm-svn: 55188
* Add FastISel support for PHINodes. Machine PHI nodesDan Gohman2008-08-221-0/+5
| | | | | | | are not yet updated properly, but that's a separate task. llvm-svn: 55187
* Implement __sync_synchronize on ppc32. Patch by Gary Benson.Dale Johannesen2008-08-224-3/+26
| | | | llvm-svn: 55186
* Add an empty() member to FoldingSet.Dan Gohman2008-08-221-0/+3
| | | | llvm-svn: 55182
* Fix SmallVector's size calculation so that a size of 0 isDan Gohman2008-08-223-4/+4
| | | | | | | handled correctly, and change a few SmallVector uses to use size 0 to more clearly reflect their intent. llvm-svn: 55181
* Add preliminary (and probably broken) codegen support for C++ static ↵Anders Carlsson2008-08-225-15/+170
| | | | | | initializers. llvm-svn: 55180
* improve support for systems that need unistd.h to get STDOUT_FILENO.Chris Lattner2008-08-221-2/+10
| | | | | | Patch contributed by Bjorn Reese! llvm-svn: 55179
* Move the rest of the Sema C++ tests into the SemaCXX test directory.Argyrios Kyrtzidis2008-08-225-77/+77
| | | | llvm-svn: 55178
* Add support for C++'s "type-specifier ( expression-list )" expression:Argyrios Kyrtzidis2008-08-2214-4/+420
| | | | | | | | | | -The Parser calls a new "ActOnCXXTypeConstructExpr" action. -Sema, depending on the type and expressions number: -If the type is a class, it will treat it as a class constructor. [TODO] -If there's only one expression (i.e. "int(0.5)" ), creates a new "CXXFunctionalCastExpr" Expr node -If there are no expressions (i.e "int()" ), creates a new "CXXZeroInitValueExpr" Expr node. llvm-svn: 55177
* make test fails if llvm is checked out to llvm-svn of if there is a dash ↵Nico Weber2008-08-221-1/+1
| | | | | | somewhere else in the path. fix that. llvm-svn: 55175
* Move most of HeaderSearch initialization to libDriver.Nico Weber2008-08-223-312/+409
| | | | | | | | | | | For example, adding the default system include paths in clients is now as simple as InitHeaderSearch init(headers); init.AddDefaultSystemIncludePaths(langopts); init.Realize(); llvm-svn: 55174
* Also overload for char, since the "char" type depends on the host.Nicolas Geoffray2008-08-221-0/+7
| | | | llvm-svn: 55173
* Overload for both signed and unsigned char.Owen Anderson2008-08-221-1/+8
| | | | llvm-svn: 55171
* improve pretty printing of objc method declaration, Chris Lattner2008-08-221-4/+15
| | | | | | patch contributed by Benjamin Stiglitz! llvm-svn: 55170
* Updated checker build.Ted Kremenek2008-08-221-1/+1
| | | | llvm-svn: 55169
* consolidate DenseMapInfo implementations, and add one for std::pair.Chris Lattner2008-08-224-38/+42
| | | | | | Patch contributed by m-s. llvm-svn: 55167
* Initial sema support for C++ static initializers.Anders Carlsson2008-08-222-4/+23
| | | | llvm-svn: 55166
* Rewrite ppc code generated for __sync_{bool|val}_compare_and_swapDale Johannesen2008-08-223-13/+19
| | | | | | | so that lwarx and stwcx are always executed the same number of times. This is important for performance, I'm told. llvm-svn: 55163
* Updated latest checker build.Ted Kremenek2008-08-221-1/+1
| | | | llvm-svn: 55162
* Fix some issues with array type merging. (No visible difference, Eli Friedman2008-08-221-8/+12
| | | | | | because nothing uses the merged types yet.) llvm-svn: 55161
* Minor const cleanup.Eli Friedman2008-08-223-3/+3
| | | | llvm-svn: 55160
* Rewrite type compatibility testing to do type merging rather than just Eli Friedman2008-08-224-157/+215
| | | | | | | | | | | | testing compatibility. This is necessary for some constructs, like merging redeclarations. Also, there are some ObjC changes to make sure that typesAreCompatible(a,b) == typesAreCompatible(b,a). I don't have any ObjC code beyond the testsuite, so please tell me if there are any cases where this doesn't behave as expected. llvm-svn: 55158
* Add a few comments.Dan Gohman2008-08-221-0/+4
| | | | llvm-svn: 55157
* Factor out the predicate check code from DAGISelEmitter.cppDan Gohman2008-08-228-54/+111
| | | | | | | | | and use it in FastISelEmitter.cpp, and make FastISel subtarget aware. Among other things, this lets it work properly on x86 targets that don't have SSE, where it successfully selects x87 instructions. llvm-svn: 55156
* Initial implementation of floats in Expr::tryEvaluate; this doesn't Eli Friedman2008-08-221-21/+82
| | | | | | | implement some things, like unary operators and casts, but it's enough to fix PR2703 as filed. llvm-svn: 55155
* Remove tabs.Bill Wendling2008-08-221-8/+8
| | | | llvm-svn: 55154
* Testcase for PR2585.Bill Wendling2008-08-211-0/+21
| | | | llvm-svn: 55151
* Modify comments.Zhongxing Xu2008-08-211-2/+3
| | | | llvm-svn: 55150
* Temporarily reverting r55137. This was causing the bootstrap to go into anBill Wendling2008-08-211-7/+3
| | | | | | infinite loop. llvm-svn: 55149
* Fix write() when the string being written is larger than the buffer. This ↵Owen Anderson2008-08-211-0/+1
| | | | | | | | broke various ObjC testcases with very long symbol names. llvm-svn: 55148
* If part of the mask is "undef", then ignore it as we don't care what goes ↵Bill Wendling2008-08-211-0/+2
| | | | | | into it. llvm-svn: 55147
* Fix whitespace. No functionality change.Bill Wendling2008-08-211-6/+20
| | | | llvm-svn: 55146
* Add -mattr=sse2 so this test doesn't fail on non-x86 hosts.Dan Gohman2008-08-211-1/+1
| | | | llvm-svn: 55145
* Move the handling of DeclStmt from GRExprEngine to BasicStoreManager.Zhongxing Xu2008-08-215-72/+97
| | | | llvm-svn: 55144
* NeXT: Emit [meta]class protocol references.Daniel Dunbar2008-08-212-12/+19
| | | | | | | Updated ObjCProtocolDecl::protocol_iterator to match that of ObjCInterfaceDecl. llvm-svn: 55143
* Added --use-cc option to scan-build to allow the user to specify what ↵Ted Kremenek2008-08-212-1/+25
| | | | | | compiler they want to use for code compilation. llvm-svn: 55142
* Make x86 and sse2 explicit for non-x86 hosts.Dale Johannesen2008-08-212-2/+2
| | | | llvm-svn: 55141
OpenPOWER on IntegriCloud