summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename the encoder method for t_cbtarget to match.Jim Grosbach2010-12-093-6/+6
| | | | llvm-svn: 121399
* Thumb needs a few different encoding schemes for branch targets. RenameJim Grosbach2010-12-092-4/+4
| | | | | | t_brtarget to be more specific. llvm-svn: 121398
* Fix type of last vector operand of Neon quad-register multiple-lane intrinsics.Bob Wilson2010-12-091-5/+5
| | | | | | | | | | | | | | The sensible thing would be to have these intrinsics take all quad-register vector operands, but that's not what ARM did. They made the last vector operand always be a double-register type. Since the lane number must be a constant, the user can know which half of a quad-register contains that lane, extract the high or low half of the vector, and adjust the lane number accordingly. The only advantage I can see for this is that it works better when you want to multiply a quad-register value by a lane from a double-register value, but I wouldn't have expected that to be the common case. Oh well -- at this point we just need to follow the spec. llvm-svn: 121397
* process launch now asks to kill the current process if it is alive, and if ↵Jim Ingham2010-12-091-8/+34
| | | | | | | | you affirm, does so for you. Also added #pragma mark for the command objects defined in the file. llvm-svn: 121396
* 80-column fixes.Bob Wilson2010-12-091-13/+26
| | | | llvm-svn: 121395
* Remove unnecessary imports.Johnny Chen2010-12-091-3/+1
| | | | llvm-svn: 121393
* Fix the names of the v[r]addhn and v[r]subhn Neon intrinsics.Bob Wilson2010-12-091-4/+4
| | | | | | | Their suffixes are supposed to reflect the source operand element type, not the destination element type. Radar 8746481. llvm-svn: 121392
* ARM stm/ldm instructions require more than one register in the register list.Jim Grosbach2010-12-094-22/+63
| | | | | | | | Otherwise, a plain str/ldr should be used instead. Make sure we account for that in prologue/epilogue code generation. rdar://8745460 llvm-svn: 121391
* Add a license comment to the generated arm_neon.h header.Bob Wilson2010-12-091-3/+23
| | | | | | | | | Remove the previous header. I don't think we need to expose to end users that we use TableGen to produce our version of arm_neon.h, and that header was also using doubleslash comments which could be a problem when using it in strict C89 compilations. llvm-svn: 121390
* Add a test/source-manager directory for testing lldb core component ↵Johnny Chen2010-12-094-0/+96
| | | | | | | | | SourceManager. Initial test case test_modify_source_file_while_debugging() in TestSourceManager.py tests the caching mechanism of the source manager. llvm-svn: 121389
* Added register reassignment prototype to RAGreedy. It's a simpleAndrew Trick2010-12-095-19/+116
| | | | | | | heuristic to reshuffle register assignments when we can't find an available reg. llvm-svn: 121388
* More code not compiled by CMake. :(.Michael J. Spencer2010-12-092-5/+14
| | | | llvm-svn: 121387
* CMake: Add FileUpdate to the build.Michael J. Spencer2010-12-091-0/+1
| | | | llvm-svn: 121386
* Missed FileUpdate because CMake doesn't build it yet :(.Michael J. Spencer2010-12-091-4/+6
| | | | llvm-svn: 121385
* Support/Windows/PathV2: Fix header comment.Michael J. Spencer2010-12-091-1/+1
| | | | llvm-svn: 121383
* Fix whitespace.Michael J. Spencer2010-12-093-5/+5
| | | | llvm-svn: 121382
* Support: Move c_str from SmallVector back to SmallString and add a free standingMichael J. Spencer2010-12-094-8/+21
| | | | | | templated c_str in Windows.h to replace it. llvm-svn: 121381
* Support/FileSystem: Change file_status predicate functions that cannot fail toMichael J. Spencer2010-12-092-31/+61
| | | | | | | return their result instead of an error_code. Also add some missing predicate functions. llvm-svn: 121380
* Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with ↵Michael J. Spencer2010-12-0923-117/+173
| | | | | | error_code &ec. And fix clients. llvm-svn: 121379
* Use error_code instead of std::string* for MemoryBuffer.Michael J. Spencer2010-12-097-19/+56
| | | | llvm-svn: 121378
* Add ROTR and ROTRV mips32 instructions. Patch by Akira HatanakaBruno Cardoso Lopes2010-12-093-13/+68
| | | | llvm-svn: 121377
* Fix delay slot filler for non mips1 targets. Patch by Akira HatanakaBruno Cardoso Lopes2010-12-091-5/+9
| | | | llvm-svn: 121376
* When an "inline" declaration was followed by a definition not markedDouglas Gregor2010-12-095-27/+41
| | | | | | | | | | | | | "inline", we weren't giving the definition weak linkage because the "inline" bit wasn't propagated. This was a longstanding FIXME that, somehow, hadn't triggered a bug in the wild. Fix this problem by tracking whether any declaration was marked "inline", and clean up the semantics of GNU's "extern inline" semantics calculation based on this change. Fixes <rdar://problem/8740363>. llvm-svn: 121373
* Dont' feed ILA two inputs - it takes just one.Kalle Raiskila2010-12-091-1/+1
| | | | llvm-svn: 121372
* tidy up.Jim Grosbach2010-12-091-1/+1
| | | | llvm-svn: 121371
* 80 columns.Jim Grosbach2010-12-091-3/+5
| | | | llvm-svn: 121370
* Fix PR8760: IndirectFieldDecl Type was not updated during template ↵Francois Pichet2010-12-092-1/+15
| | | | | | instantiation. llvm-svn: 121363
* enhance memcpyopt to zap memcpy's that have the same src/dst.Chris Lattner2010-12-092-4/+22
| | | | llvm-svn: 121362
* fix PR8753, eliminating a case where we'd infinitely make a Chris Lattner2010-12-092-3/+24
| | | | | | | substitution because it doesn't actually change the IR. Patch by Jakub Staszak! llvm-svn: 121361
* Add missing "s32" and "u32" variants of Neon vzip intrinsic.Bob Wilson2010-12-091-1/+1
| | | | | | Radar 8446277. llvm-svn: 121360
* Add missing "p16" type variants for the Neon VREV32 intrinsics.Bob Wilson2010-12-091-1/+1
| | | | | | Radar 8446277. llvm-svn: 121359
* Rewrite the darwin tlv support to use a chain and return to copyingEric Christopher2010-12-093-6/+25
| | | | | | | | the output to the correct register. Fixes a hidden problem uncovered by the last patch where we'd try to DAG combine our MVT::Other node oddly. llvm-svn: 121358
* Take the first step towards making LVI non-recursive: get rid of the ↵Owen Anderson2010-12-091-101/+39
| | | | | | LVIQuery abstraction. llvm-svn: 121357
* 80-col fixups.Eric Christopher2010-12-091-9/+15
| | | | llvm-svn: 121356
* Reworking the stack layout generated by the MBlaze backend.Wesley Peck2010-12-0912-177/+127
| | | | llvm-svn: 121355
* Fix encoding of the immediate operands on post-indexed LDR and friends.Owen Anderson2010-12-091-39/+26
| | | | llvm-svn: 121354
* Really check that the bits that will become zero are actually already zeroDan Gohman2010-12-092-3/+26
| | | | | | before eliminating the operation that zeros them. This fixes rdar://8739316. llvm-svn: 121353
* Fix another unnecessary-struct-padding issue.Argyrios Kyrtzidis2010-12-092-2/+29
| | | | llvm-svn: 121352
* Fix up some comments.Eric Christopher2010-12-091-2/+2
| | | | llvm-svn: 121351
* Fix Thumb2 fixups for ldr.Owen Anderson2010-12-093-5/+29
| | | | llvm-svn: 121350
* Add a textual message to the assert.Jim Grosbach2010-12-091-1/+2
| | | | llvm-svn: 121349
* Add a sanity check assert() for t2ADD/SUBrSPi instructions that they really areJim Grosbach2010-12-091-0/+7
| | | | | | referencing the stack pointer as they say they are. llvm-svn: 121347
* When using multiple instructions to reference a frame index, make sure toJim Grosbach2010-12-091-0/+5
| | | | | | update the opcode when necessary as well as the source register. llvm-svn: 121346
* The add/sub SP instructions are really pseudos. The assembler should ignoreJim Grosbach2010-12-091-0/+2
| | | | | | them. llvm-svn: 121345
* IntervalMap iterators are heavyweight, so avoid copying them around and useJakob Stoklund Olesen2010-12-092-5/+25
| | | | | | | | | | | references instead. Similarly, IntervalMap::begin() is almost as expensive as find(), so use find(x) instead of begin().advanceTo(x); This makes RegAllocBasic run another 5% faster. llvm-svn: 121344
* Remove unused variablesMatt Beaumont-Gay2010-12-091-2/+0
| | | | llvm-svn: 121343
* Fix typo in Thumb2 branch fixup.Owen Anderson2010-12-091-5/+5
| | | | llvm-svn: 121342
* Fix build.Anders Carlsson2010-12-091-1/+1
| | | | llvm-svn: 121341
* Stop confusing people, it's not really a chain, or a tumor.Eric Christopher2010-12-091-2/+2
| | | | llvm-svn: 121340
* Remove extraneous semicolon.Bill Wendling2010-12-091-1/+1
| | | | llvm-svn: 121338
OpenPOWER on IntegriCloud