summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MSVC warning fixes; patch by Stein Roger!Daniel Dunbar2009-08-072-1/+12
| | | | llvm-svn: 78405
* llvm-mc/AsmMatcher: Tweaks in response to feedback.Daniel Dunbar2009-08-072-15/+3
| | | | llvm-svn: 78404
* Code style and Readability fixes. Credit to Craig van Vliet.Edward O'Callaghan2009-08-0755-1137/+1248
| | | | llvm-svn: 78403
* More synthesis of copy constructors. Work in progress.Fariborz Jahanian2009-08-075-4/+94
| | | | llvm-svn: 78402
* Fix typo.Mike Stump2009-08-071-1/+1
| | | | llvm-svn: 78401
* To catch bugs like the one fixed inJeffrey Yasskin2009-08-074-19/+37
| | | | | | | | | | | | | http://llvm.org/viewvc/llvm-project?view=rev&revision=78127, I'm changing the ExecutionEngine's global mappings to hold AssertingVH<const GlobalValue>. That way, if unregistering a mapping fails to actually unregister it, we'll get an assert. Running the jit nightly tests didn't uncover any actual instances of the problem. This also uncovered the fact that AssertingVH<const X> didn't work, so I fixed that too. llvm-svn: 78400
* This is done.Evan Cheng2009-08-071-2/+0
| | | | llvm-svn: 78399
* Use 16-bit tMOVgpr2gpr instead of tMOVr to copy GPR registers in Thumb2 mode.Evan Cheng2009-08-072-8/+1
| | | | llvm-svn: 78398
* Fix support to use NEON for single precision fp math.Evan Cheng2009-08-073-46/+170
| | | | llvm-svn: 78397
* Add ability to generate vcall offsets for primary virtual base.Mike Stump2009-08-075-16/+33
| | | | llvm-svn: 78396
* Use the correct cast kind as suggested by Doug.Anders Carlsson2009-08-071-1/+2
| | | | llvm-svn: 78395
* SIV/MIV classification for LDA.Andreas Bolka2009-08-072-6/+43
| | | | | | | | | | LoopDependenceAnalysis::getLoops is currently O(N*M) for a loop-nest of depth N and a compound SCEV of M atomic SCEVs. As both N and M will typically be very small, this should not be a problem. If it turns out to be one, rewriting getLoops as SCEVVisitor will reduce complexity to O(M). llvm-svn: 78394
* Fix some const_cast issues. This is the beginning of the rabbit hole.Mike Stump2009-08-075-19/+13
| | | | llvm-svn: 78393
* Rewrite previous patch to follow Chris' stylisticDale Johannesen2009-08-071-14/+22
| | | | | | preference; no functional change. llvm-svn: 78391
* Fix dom frontier update. This fixes PR4667.Devang Patel2009-08-071-19/+23
| | | | | | Patch by Jakub Staszak. llvm-svn: 78388
* PR3333: warn when shifting by invalid amountRyan Flynn2009-08-073-2/+62
| | | | llvm-svn: 78385
* Fix Strong-SIV testcase.Andreas Bolka2009-08-071-1/+1
| | | | llvm-svn: 78384
* Minor fixes to avoid using invalid debugloc.Sanjiv Gupta2009-08-071-5/+9
| | | | llvm-svn: 78383
* Simplify code and avoid allocations.Benjamin Kramer2009-08-071-10/+3
| | | | llvm-svn: 78382
* Improve disabling of X86 AsmMatcher.Daniel Dunbar2009-08-071-0/+1
| | | | llvm-svn: 78381
* Disable X86 AsmMatcher for now, it is causing gcc-4.0 to run out of memory onDaniel Dunbar2009-08-073-0/+25
| | | | | | | i386-apple-darwin9. This presumably will get fixed once the generated code improves. llvm-svn: 78379
* llvm-mc/AsmMatcher: Move to a slightly more sane matching design.Daniel Dunbar2009-08-073-336/+552
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Still not very sane, but a least its not 60k lines on X86. :) - In terms of correctness, currently some things are hard wired for X86, and we still don't properly resolve ambiguities (this is ignoring the instructions we don't even match due to funny .td stuff or other corner cases). The high level changes: 1. Represent tokens which are significant for matching explicitly as separate operands. This uniformly handles not only the instruction mnemonic, but also 'signficiant' syntax like the '*' in "call * ...". 2. Separate the matching of operands to an instruction from the construction of the MCInst. In theory this can be done during matching, but since the number of variations is small I think it makes sense to decompose the problems. 3. Improved a few of the mechanisms to at least successfully flatten / tokenize the assembly strings for PowerPC and ARM. 4. The comment at the top of AsmMatcherEmitter.cpp explains the approach I'm moving towards for handling ambiguous instructions. The high-bit is to infer a partial ordering of the operand classes (and force the user to specify one if we can't) and use that to resolve ambiguities. llvm-svn: 78378
* Error out, rather than infinite looping, if constant island pass can't converge.Evan Cheng2009-08-071-4/+12
| | | | llvm-svn: 78377
* Another coalescer bug. When a dead copy is eliminated, transfer the kill to ↵Evan Cheng2009-08-072-5/+22
| | | | | | a def of the exact register rather than a super-register. llvm-svn: 78376
* Separate Stmt::Destroy into the entrypoint for destroying a statementDouglas Gregor2009-08-077-53/+57
| | | | | | | or expression (Destroy) from the virtual function used to actually destroy a given expression (DoDestroy). llvm-svn: 78375
* tBfar is bl, which clobbers LR.Evan Cheng2009-08-072-1/+3
| | | | llvm-svn: 78370
* Run memsel inserter just before emit assembly to avoid tinkering by other ↵Sanjiv Gupta2009-08-072-2/+2
| | | | | | passes. llvm-svn: 78369
* add support for opensuse 11.1/11.2 search paths, patch by Stefan ReinauerChris Lattner2009-08-071-0/+16
| | | | | | and Carl-Daniel Hailfinger! llvm-svn: 78368
* Update CMake.Daniel Dunbar2009-08-071-1/+0
| | | | llvm-svn: 78367
* Remove unused function.Daniel Dunbar2009-08-071-7/+0
| | | | llvm-svn: 78366
* These should be expandedAndrew Lenharth2009-08-071-0/+3
| | | | llvm-svn: 78365
* Use std::string() instead of std::string("").Dan Gohman2009-08-071-1/+1
| | | | llvm-svn: 78364
* Fix a bunch of namespace pollution.Dan Gohman2009-08-0712-22/+44
| | | | llvm-svn: 78363
* Fix a typo in a comment.Dan Gohman2009-08-071-1/+1
| | | | llvm-svn: 78362
* It turns out most of the thumb2 instructions are not allowed to touch SP. ↵Evan Cheng2009-08-0712-73/+373
| | | | | | | | | | The semantics of such instructions are unpredictable. We have just been lucky that tests have been passing. This patch takes pain to ensure all the PEI lowering code does the right thing when lowering frame indices, insert code to manipulate stack pointers, etc. It's also custom lowering dynamic stack alloc into pseudo instructions so we can insert the right instructions at scheduling time. This fixes PR4659 and PR4682. llvm-svn: 78361
* Code clean up.Evan Cheng2009-08-071-4/+5
| | | | llvm-svn: 78360
* Added legal stuff, fixed some formatting issues. Removed the graph generator ↵Lang Hames2009-08-0710-254/+142
| | | | | | stuff as it was only meant for debugging the solver. llvm-svn: 78359
* Add the testcase from PR 4668. This works at theDale Johannesen2009-08-071-0/+26
| | | | | | moment, but it's a fragile area. llvm-svn: 78358
* Add support for vcall generation for vtables for virtual bases. WIP.Mike Stump2009-08-063-7/+48
| | | | llvm-svn: 78357
* Patch toward synthesizing copy constructors.Fariborz Jahanian2009-08-062-8/+21
| | | | | | Work in progress. llvm-svn: 78355
* New C++ PBQP solver. Currently about as fast (read _slow_) as the old C ↵Lang Hames2009-08-0613-1785/+2850
| | | | | | based solver, but I'll be working to improve that. The PBQP allocator has been updated to use the new solver. llvm-svn: 78354
* Fix PR 4626, a crash in branch folding after OptimizeBlockDale Johannesen2009-08-062-1/+107
| | | | | | produced a CFG it wasn't prepared for. llvm-svn: 78351
* Use stripPointerCasts instead of partially rewriting it.Dale Johannesen2009-08-061-4/+2
| | | | llvm-svn: 78350
* Fix a few more false positives involving RegionStore and unions, but this timeTed Kremenek2009-08-062-89/+68
| | | | | | | with array accesses. In the process, refactor some common logic in RetrieveElement() and RetrieveField() into RetrieveFieldOrElementCommon(). llvm-svn: 78349
* Minor refactoring to introduce a new transformation function,Douglas Gregor2009-08-061-1/+18
| | | | | | TransformStmt, into the tree transformer. llvm-svn: 78347
* Almost forgot to turn on 32-bit test.Mike Stump2009-08-061-1/+1
| | | | llvm-svn: 78346
* Vanity.Jakob Stoklund Olesen2009-08-061-0/+5
| | | | llvm-svn: 78345
* Testcase for recent checkin.Mike Stump2009-08-061-2/+2
| | | | llvm-svn: 78344
* Also generate the rtti field for virtual bases for vtables. Turn onMike Stump2009-08-063-42/+56
| | | | | | | rtti so we can properly test it. Refactor code a little. Still a work in progress. llvm-svn: 78343
* Fix a couple false positive "uninitialized value" warnings with RegionStoreTed Kremenek2009-08-064-4/+113
| | | | | | involving reasoning about unions (which we don't handle yet). llvm-svn: 78342
OpenPOWER on IntegriCloud