summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* More type-checking of setter/getter methods. This is stillFariborz Jahanian2008-12-023-3/+46
| | | | | | work in prgress. llvm-svn: 60430
* Comment typeo fix, thanks Duncan!Chris Lattner2008-12-022-2/+2
| | | | llvm-svn: 60429
* llvm-ld doesnt support '-g', so aovid passing that opt to itNuno Lopes2008-12-021-1/+0
| | | | llvm-svn: 60428
* Add a couple FIXME's.Steve Naroff2008-12-021-0/+6
| | | | llvm-svn: 60427
* Make sure synthesized properties get inserted into the classes/categories ↵Steve Naroff2008-12-021-3/+22
| | | | | | meta data. llvm-svn: 60426
* Parsing new and delete is now complete.Sebastian Redl2008-12-021-2/+2
| | | | llvm-svn: 60425
* Add better comments to ::new parsing. Thanks to Doug for the review.Sebastian Redl2008-12-022-2/+4
| | | | llvm-svn: 60423
* Make RegionStoreManager::InitializeArray safe against array sizes that don't ↵Sebastian Redl2008-12-021-1/+2
| | | | | | | | have pointer width. This may be the case on 64-bit systems. Whether that fact is a bug is a different question, but it's easy to cure the symptom. llvm-svn: 60422
* Make the parser handle ::new and ::delete correctly.Sebastian Redl2008-12-023-1/+16
| | | | llvm-svn: 60421
* int-arith-convert.c makes assumptions about integer sizes, so force a ↵Sebastian Redl2008-12-021-1/+1
| | | | | | specific architecture llvm-svn: 60420
* Update cmake build; patch by Csaba Hruska.Eli Friedman2008-12-021-0/+1
| | | | llvm-svn: 60418
* Simplify previous commit.Steve Naroff2008-12-021-17/+14
| | | | llvm-svn: 60416
* Fix for PR3150: obvious copy-paste bug in Eli Friedman2008-12-022-2/+6
| | | | | | ScalarExprEmitter::VisitBinLOr. llvm-svn: 60415
* More work to rewrite synthesize properties (<rdar://problem/6213955>)Steve Naroff2008-12-021-0/+50
| | | | llvm-svn: 60414
* Handle new by passing the Declaration to the Action, not a processed type.Sebastian Redl2008-12-0215-188/+229
| | | | llvm-svn: 60413
* make it possible to custom lower TRUNCATE (needed for the CellSPU target)Tilmann Scheller2008-12-021-0/+5
| | | | llvm-svn: 60409
* Implement PRE of loads in the GVN pass with a pretty cheap and Chris Lattner2008-12-022-54/+211
| | | | | | | | | | | | | | | | | | | | | | | straight-forward implementation. This does not require any extra alias analysis queries beyond what we already do for non-local loads. Some programs really really like load PRE. For example, SPASS triggers this ~1000 times, ~300 times in 255.vortex, and ~1500 times on 403.gcc. The biggest limitation to the implementation is that it does not split critical edges. This is a huge killer on many programs and should be addressed after the initial patch is enabled by default. The implementation of this should incidentally speed up rejection of non-local loads because it avoids creating the repl densemap in cases when it won't be used for fully redundant loads. This is currently disabled by default. Before I turn this on, I need to fix a couple of miscompilations in the testsuite, look at compile time performance numbers, and look at perf impact. This is pretty close to ready though. llvm-svn: 60408
* Add a new SCEV representing signed division.Nick Lewycky2008-12-025-11/+131
| | | | llvm-svn: 60407
* Removed some unnecessary code in widening.Mon P Wang2008-12-021-115/+9
| | | | llvm-svn: 60406
* add a little helper function that does PHI translation.Chris Lattner2008-12-022-0/+24
| | | | llvm-svn: 60405
* add a noteChris Lattner2008-12-021-0/+21
| | | | llvm-svn: 60404
* Remove some errors that crept in. No functionality change.Bill Wendling2008-12-021-3/+4
| | | | llvm-svn: 60403
* Merge two if-statements into one.Bill Wendling2008-12-021-7/+3
| | | | llvm-svn: 60402
* More styalistic changes. No functionality change.Bill Wendling2008-12-021-15/+12
| | | | llvm-svn: 60401
* add densemap range insertion method.Chris Lattner2008-12-021-0/+8
| | | | llvm-svn: 60400
* - Remove the buggy -X/C -> X/-C transform. This isn't valid when X isn't aBill Wendling2008-12-022-12/+10
| | | | | | | | | constant. If X is a constant, then this is folded elsewhere. - Added a note to Target/README.txt to indicate that we'd like to implement this when we're able. llvm-svn: 60399
* Improve comment.Bill Wendling2008-12-021-4/+3
| | | | llvm-svn: 60398
* - Reduce nesting.Bill Wendling2008-12-021-24/+18
| | | | | | | | - No need to do a swap on a canonicalized pattern. No functionality change. llvm-svn: 60397
* some random comment improvements.Chris Lattner2008-12-021-11/+22
| | | | llvm-svn: 60395
* Add a test for my previous PRE fix.Owen Anderson2008-12-021-0/+27
| | | | llvm-svn: 60394
* Fix an issue that Chris noticed, where local PRE was not properly instantiatingOwen Anderson2008-12-021-2/+7
| | | | | | | a new value numbering set after splitting a critical edge. This increases the number of instances of PRE on 403.gcc from ~60 to ~570. llvm-svn: 60393
* Fix PR3124: overly strict assert.Evan Cheng2008-12-022-2/+19
| | | | llvm-svn: 60392
* Add a few more transformations.Dale Johannesen2008-12-021-0/+24
| | | | llvm-svn: 60391
* Add FIXME.Ted Kremenek2008-12-021-0/+3
| | | | llvm-svn: 60390
* Disabling this code due to regression on test/CodeGen/bitfield.c. See Eli Friedman2008-12-021-1/+5
| | | | | | PR3152. llvm-svn: 60389
* Second stab at target-dependent lowering of everyone's favorite nodes: [SU]ADDOBill Wendling2008-12-023-28/+36
| | | | | | | | | | | - LowerXADDO lowers [SU]ADDO into an ADD with an implicit EFLAGS define. The EFLAGS are fed into a SETCC node which has the conditional COND_O or COND_C, depending on the type of ADDO requested. - LowerBRCOND now recognizes if it's coming from a SETCC node with COND_O or COND_C set. llvm-svn: 60388
* A little more scaffolding for parsing templates:Douglas Gregor2008-12-025-45/+96
| | | | | | | | | - Template parameter scope to hold the template parameters - Template parameter context for parsing declarators - Actions for template type parameters and non-type template parameters llvm-svn: 60387
* This patch corrects problem in searching for a setter/getter method forFariborz Jahanian2008-12-023-30/+28
| | | | | | | | a property. Previous scheme of seaching in interface's list of methods would not work because this list is not yet constructed. This is in preparation for doing semantic check on viability of setter/getter method declarations. llvm-svn: 60386
* Reapply r60382. This time, don't mark "ADC" nodes with "implicit EFLAGS".Bill Wendling2008-12-023-29/+110
| | | | llvm-svn: 60385
* Basic support for parsing templates, from Andrew SuttonDouglas Gregor2008-12-016-3/+372
| | | | llvm-svn: 60384
* Temporarily revert r60382. It caused CodeGen/X86/i2k.ll and others to fail.Bill Wendling2008-12-013-135/+40
| | | | llvm-svn: 60383
* - Have "ADD" instructions return an implicit EFLAGS.Bill Wendling2008-12-013-40/+135
| | | | | | - Add support for seto, setno, setc, and setnc instructions. llvm-svn: 60382
* Expand getVTList, getNodeValueTypes, and SelectNodeTo to handle more value ↵Bill Wendling2008-12-012-0/+42
| | | | | | types. llvm-svn: 60381
* Improve error recovery when parsing a function definition failsDouglas Gregor2008-12-011-1/+1
| | | | llvm-svn: 60380
* Initialize storage class even if we got an erroneous mutableDouglas Gregor2008-12-011-0/+1
| | | | llvm-svn: 60377
* Add rdar reference, make this actually fail when the patch isn't applied.Chris Lattner2008-12-011-2/+4
| | | | llvm-svn: 60376
* Consider only references to an IV within the loop whenDale Johannesen2008-12-012-6/+54
| | | | | | | | | figuring out the base of the IV. This produces better code in the example. (Addresses use (IV) instead of (BASE,IV) - a significant improvement on low-register machines like x86). llvm-svn: 60374
* Objective-C keywords are not always identifiers. Some are also C++ keywordsDouglas Gregor2008-12-012-4/+5
| | | | llvm-svn: 60373
* Fix RUN lineDouglas Gregor2008-12-011-1/+1
| | | | llvm-svn: 60372
* reenable array_pod_sort, this time hopefully happy on 64-bit Chris Lattner2008-12-011-9/+12
| | | | | | and big endian systems. llvm-svn: 60371
OpenPOWER on IntegriCloud