summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Code refactoring. No functionality change.Evan Cheng2009-08-084-22/+31
| | | | llvm-svn: 78455
* tADDhirr should target GPR, not tGPR.Evan Cheng2009-08-081-1/+1
| | | | llvm-svn: 78454
* I can type.Evan Cheng2009-08-081-1/+1
| | | | llvm-svn: 78453
* make printInstruction return void since its result is omitted. Make the Chris Lattner2009-08-0813-14/+14
| | | | | | error condition get trapped with an assert. llvm-svn: 78449
* Fix some -Asserts unused variable warnings.Daniel Dunbar2009-08-082-6/+5
| | | | llvm-svn: 78447
* don't check the result of printInstruction anymore.Chris Lattner2009-08-085-19/+5
| | | | llvm-svn: 78444
* Do not generate 32-bit call on win64 when imm does not fitAnton Korobeynikov2009-08-071-2/+2
| | | | llvm-svn: 78443
* code cleanupChris Lattner2009-08-071-20/+18
| | | | llvm-svn: 78432
* Make NEON single-precision FP support the default for cortex-a8 (again).David Goodwin2009-08-071-1/+1
| | | | llvm-svn: 78430
* remove a bunch of now-dead crud from the asmprinter and TAI interfaces.Chris Lattner2009-08-072-34/+0
| | | | llvm-svn: 78428
* Fix copy-pasto.Andreas Bolka2009-08-071-2/+2
| | | | llvm-svn: 78426
* Unbreak the stuffAnton Korobeynikov2009-08-071-2/+2
| | | | llvm-svn: 78425
* Back out some of recent register scavenger change by John Mosby. It broke a ↵Evan Cheng2009-08-071-27/+14
| | | | | | number of ARM tests. llvm-svn: 78421
* avoid this libcall with long inline expansionAndrew Lenharth2009-08-071-1/+30
| | | | llvm-svn: 78420
* 2 more vdup.32 casesAnton Korobeynikov2009-08-072-0/+19
| | | | llvm-svn: 78419
* A big oops. Thumb1 default CC is a def of CPSR, not a use of CPSR.Evan Cheng2009-08-071-1/+1
| | | | llvm-svn: 78418
* tidy upChris Lattner2009-08-071-7/+4
| | | | llvm-svn: 78416
* Reformatting of lines. Put multiple DEBUG statements under one DEBUG statement.Bill Wendling2009-08-071-45/+78
| | | | llvm-svn: 78411
* Thumb2 32-bit ldm / stm needs .w suffix if submode is ia.Evan Cheng2009-08-072-3/+7
| | | | llvm-svn: 78410
* MSVC warning fixes; patch by Stein Roger!Daniel Dunbar2009-08-071-0/+11
| | | | llvm-svn: 78405
* llvm-mc/AsmMatcher: Tweaks in response to feedback.Daniel Dunbar2009-08-071-1/+1
| | | | llvm-svn: 78404
* To catch bugs like the one fixed inJeffrey Yasskin2009-08-071-13/+18
| | | | | | | | | | | | | 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-072-46/+90
| | | | llvm-svn: 78397
* SIV/MIV classification for LDA.Andreas Bolka2009-08-071-6/+35
| | | | | | | | | | 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
* 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
* 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-071-0/+19
| | | | | | | 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-071-139/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-071-5/+6
| | | | | | a def of the exact register rather than a super-register. llvm-svn: 78376
* 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
* 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
* Fix a bunch of namespace pollution.Dan Gohman2009-08-0711-20/+42
| | | | 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-0710-70/+346
| | | | | | | | | | 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
* 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-061-1/+17
| | | | | | 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
* Output the new StructType constructor, which takes the context of theNicolas Geoffray2009-08-061-0/+1
| | | | | | module as first argument. llvm-svn: 78340
* Get rid of RegScavenger::backwards() before the bitrot spreads.Jakob Stoklund Olesen2009-08-061-64/+0
| | | | | | If we need it one day, there is nothing wrong with putting it back in. llvm-svn: 78337
OpenPOWER on IntegriCloud