summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fix some -Asserts unused variable warnings.Daniel Dunbar2009-08-082-6/+5
| | | | llvm-svn: 78447
* Add another Strong-SIV testcase.Andreas Bolka2009-08-081-0/+28
| | | | llvm-svn: 78446
* don't check the result of printInstruction anymore.Chris Lattner2009-08-086-24/+11
| | | | llvm-svn: 78444
* Do not generate 32-bit call on win64 when imm does not fitAnton Korobeynikov2009-08-072-2/+11
| | | | llvm-svn: 78443
* rename testChris Lattner2009-08-071-0/+0
| | | | llvm-svn: 78441
* merge a bunch of tests together into one, convert to filecheck whichChris Lattner2009-08-075-64/+60
| | | | | | is more tolerant of whitespace differences. llvm-svn: 78439
* Add new intrinsics for Neon VTRN, VZIP and VUZP operations. Modeling theseBob Wilson2009-08-071-0/+18
| | | | | | | | | | as vector shuffles did not work out well. Shuffles that produce double-wide vectors accurately represent the operation but make it hard to do anything with the results. I considered splitting them up into 2 shuffles, one to write each register separately, but there doesn't seem to be a good way to reunite them for codegen. llvm-svn: 78437
* Add DEBUG_WITH_TYPE as a clean alternative to tweaking DEBUG_TYPE.Daniel Dunbar2009-08-072-7/+34
| | | | | | | | | | | | | | | | | This: -- #undef DEBUG_TYPE #define DEBUG_TYPE "foo" DEBUG(...) #undef DEBUG_TYPE #define DEBUG_TYPE "" -- becomes this: -- DEBUG_WITH_TYPE("foo", ...) -- llvm-svn: 78435
* Convert more Neon tests to use FileCheck.Bob Wilson2009-08-079-40/+127
| | | | llvm-svn: 78433
* code cleanupChris Lattner2009-08-071-20/+18
| | | | llvm-svn: 78432
* Unbreak build.Benjamin Kramer2009-08-071-8/+8
| | | | llvm-svn: 78431
* Make NEON single-precision FP support the default for cortex-a8 (again).David Goodwin2009-08-0710-1/+19
| | | | llvm-svn: 78430
* remove a bunch of now-dead crud from the asmprinter and TAI interfaces.Chris Lattner2009-08-074-61/+0
| | | | llvm-svn: 78428
* fix the column output stuff in the asmwriter from being dynamic andChris Lattner2009-08-072-15/+47
| | | | | | | | driven by TAI to being static, driven by tblgen. This means that a target doesn't get impacted by this stuff at all if it doesn't opt into it. llvm-svn: 78427
* Fix copy-pasto.Andreas Bolka2009-08-071-2/+2
| | | | llvm-svn: 78426
* Unbreak the stuffAnton Korobeynikov2009-08-071-2/+2
| | | | llvm-svn: 78425
* Modifications to dyn_cast/cast to make them work for objects too, instead of ↵Argyrios Kyrtzidis2009-08-071-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only pointers. The use case is if you have a wrapper class: class Base { void *Ptr; public: Base() : Ptr(0) { } operator bool() const { return Ptr; } ..... } and sub-wrappers that have exactly the same size: class Sub : public Base { public: .... static bool classof(const Base*); } and in the code you would do: void f(Base b) { Sub sub = dyn_cast<Sub>(b); if (sub) { .... } } llvm-svn: 78424
* Added Mac OS X assembler style conditional assembly. I may come back and see ifKevin Enderby2009-08-074-2/+223
| | | | | | | | I can clean this up a bit more and do way with the TheCondState and just use the top element on the TheCondStack if not empty. Also may tweak the code around ParseConditionalAssemblyDirectives() to simplify the AsmParser code. llvm-svn: 78423
* fix comment pastosChris Lattner2009-08-071-2/+2
| | | | llvm-svn: 78422
* 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-073-1/+34
| | | | 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
* strength reduce anonymous namespace to static.Chris Lattner2009-08-071-5/+2
| | | | llvm-svn: 78417
* 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-073-7/+11
| | | | llvm-svn: 78410
* llvm-mc/AsmMatcher: Move emit for register -> enum matcher into a separate ↵Daniel Dunbar2009-08-071-11/+18
| | | | | | routine. llvm-svn: 78408
* XFAIL 2006-11-06-StackTrace.cpp on powerpc-apple-darwin9 until someone feelsDaniel Dunbar2009-08-071-2/+3
| | | | | | motivated to fix it. llvm-svn: 78406
* 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
* 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
* 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
* 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
* 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
* 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
OpenPOWER on IntegriCloud