summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add dragonfly target support, patch by Sascha WildnerChris Lattner2008-08-231-0/+28
| | | | llvm-svn: 55241
* Tweak the indentation for a couple of filesAnders Carlsson2008-08-231-1/+1
| | | | llvm-svn: 55240
* Testcase for 64bit maskmovqAnton Korobeynikov2008-08-231-0/+27
| | | | llvm-svn: 55239
* Provide a 64 bit variant of mmx.maskmovq intrinsic lowering.Anton Korobeynikov2008-08-232-0/+7
| | | | | | Is there way to avoid explicit target check? llvm-svn: 55238
* CXXFunctionalCastExpr is a subclass of CastExpr. Make it known to ↵Argyrios Kyrtzidis2008-08-231-0/+1
| | | | | | isa/dyn_cast/cast. llvm-svn: 55237
* Add a safety check.Argyrios Kyrtzidis2008-08-231-0/+2
| | | | | | Make sure there's no "dangling" backtrack position when Preprocessor is destroyed. llvm-svn: 55236
* Change line endings: CRLF -> LFArgyrios Kyrtzidis2008-08-231-30/+30
| | | | llvm-svn: 55235
* Implement Obj-C ivar references to aggregates.Daniel Dunbar2008-08-235-1/+52
| | | | | | | | | | | Implement Obj-C lvalue message sends (aggregate returns). Update several places to emit more precise ErrorUnsupported warnings for currently unimplemented Obj-C features (main missing chunks are property references, Obj-C exception handling, and the for ... in syntax). llvm-svn: 55234
* Reverting r55227. This was causing the following failures in the regressionBill Wendling2008-08-231-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests: Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcread-ptrptr.ll for PR1633 Failed with exit(1) at line 1 while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcread-ptrptr.ll >& /dev/null child process exited abnormally FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-alloca.ll for PR1633 Failed with exit(1) at line 1 while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-alloca.ll >& /dev/null child process exited abnormally FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-meta.ll for PR1633 Failed with exit(1) at line 1 while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-meta.ll >& /dev/null child process exited abnormally FAIL: ndbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-ptrptr.ll for PR1633 Failed with exit(1) at line 1 while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-ptrptr.ll >& /dev/null child process exited abnormally FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcwrite-ptrptr.ll for PR1633 Failed with exit(1) at line 1 while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcwrite-ptrptr.ll >& /dev/null child process exited abnormally === Summary === # of expected passes 3021 # of unexpected failures 6 # of expected failures 16 make[1]: *** [check-local] Error 1 make: *** [check] Error 2 llvm-svn: 55233
* NeXT: Fix message sends which return structures.Daniel Dunbar2008-08-232-70/+106
| | | | | | - Simplify the sending code a bit. llvm-svn: 55232
* Add TargetInfo::useNeXTRuntimeAsDefaultDaniel Dunbar2008-08-233-6/+15
| | | | | | | | - Used to autoselect runtime when neither -fnext-runtime nor -fgnu-runtime is specified. - Default impl is false, all darwin targets set it to true. llvm-svn: 55231
* Add a new trivial -inst-namer pass which makes it possible to diff theChris Lattner2008-08-233-0/+57
| | | | | | before/after effects of a pass, crazy! llvm-svn: 55230
* Verify that the alignment argument to llvm.memcpy is a constantChris Lattner2008-08-232-0/+21
| | | | | | integer, PR2318. llvm-svn: 55228
* remove verification for gc intrinsic argument types. it was indented wrongChris Lattner2008-08-231-39/+0
| | | | | | and tblgen now knows intrinsic prototypes. llvm-svn: 55227
* Fix PR2423 by checking all indices for out of range access, not only Chris Lattner2008-08-232-35/+53
| | | | | | | indices that start with an array subscript. x->field[10000] is just as bad as (*X)[14][10000]. llvm-svn: 55226
* NeXT: Implement super message sends.Daniel Dunbar2008-08-231-6/+65
| | | | llvm-svn: 55225
* the bug was apparently fixed long ago, reenable the assertionChris Lattner2008-08-231-2/+1
| | | | llvm-svn: 55224
* Trim CGObjCRuntime::GenerateMessageSend[Super]Daniel Dunbar2008-08-238-144/+128
| | | | | | | | | | | | | | | | | | - Returns an RValue. - Reduced to only taking the CodeGenFunction, Expr, and Receiver. - Becomes responsible for emitting the arguments. Add CodeGenFunction::EmitCallExprExt - Takes optional extra arguments to insert at the head of the call. - This allows the Obj-C runtimes to call into this and isolates the argument and call instruction generation code to one place. Upshot is that we now pass structures (more) correctly. Also, fix one aspect of generating methods which take structure arguments (for NeXT). This probably needs to be merged with the SetFunctionAttributes code in CodeGenModule.cpp llvm-svn: 55223
* make sure that ParseAST invokes the action for end of translation unit.Chris Lattner2008-08-234-3/+17
| | | | llvm-svn: 55222
* Move [LR]Value into CGValue.hDaniel Dunbar2008-08-232-182/+210
| | | | | | - No (intended) functional change. llvm-svn: 55221
* Make MBBMap a DenseMap instead of a std::map.Dan Gohman2008-08-233-6/+5
| | | | llvm-svn: 55220
* Move the point at which FastISel taps into the SelectionDAGISelDan Gohman2008-08-2314-332/+366
| | | | | | | | | | | | | | | | | | process up to a higher level. This allows FastISel to leverage more of SelectionDAGISel's infastructure, such as updating Machine PHI nodes. Also, implement transitioning from SDISel back to FastISel in the middle of a block, so it's now possible to go back and forth. This allows FastISel to hand individual CallInsts and other complicated things off to SDISel to handle, while handling the rest of the block itself. To help support this, reorganize the SelectionDAG class so that it is allocated once and reused throughout a function, instead of being completely reallocated for each block. llvm-svn: 55219
* add action to know about end of translation unit.Chris Lattner2008-08-232-1/+5
| | | | llvm-svn: 55218
* we already have a handle on the 'in' keyword, don't bother getting two.Chris Lattner2008-08-233-23/+21
| | | | llvm-svn: 55217
* minor cleanup, remove finalize method.Chris Lattner2008-08-234-18/+7
| | | | llvm-svn: 55216
* Fix a FIXME by not creating an invalid AST on erroneous input. Also Chris Lattner2008-08-233-14/+41
| | | | | | | make diagnostic output in some other malformed cases significantly more useful. This fixes PR2708 llvm-svn: 55215
* Avoid creating shift-by-zero SDNodes in the common case ofDan Gohman2008-08-231-9/+10
| | | | | | | i8* getelementptr. DAGCombine eliminates these, but this is a fairly common case. llvm-svn: 55214
* Simplify interface to Store::AddDeclTed Kremenek2008-08-233-9/+14
| | | | llvm-svn: 55213
* Move SelectionDAG's constructor out of line.Dan Gohman2008-08-232-4/+8
| | | | llvm-svn: 55212
* Added Regions.h: Regions define abstract memory locations for the static ↵Ted Kremenek2008-08-232-0/+100
| | | | | | analyzer. llvm-svn: 55211
* Add a clear() method to FoldingSet.Dan Gohman2008-08-232-12/+16
| | | | llvm-svn: 55210
* NeXT: Emit property metadata (classes, protocols, categories).Daniel Dunbar2008-08-231-36/+150
| | | | llvm-svn: 55209
* 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
OpenPOWER on IntegriCloud