summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
...
* Add all the plumbing needed for MC to expand cfi to the old tables inRafael Espindola2011-04-303-2/+4
| | | | | | | the final assembly. It is the same technique used when targeting assemblers that don't support .loc. llvm-svn: 130587
* 80-col.Eric Christopher2011-04-291-8/+9
| | | | llvm-svn: 130558
* Zap a couple now-unused functions.Eli Friedman2011-04-291-10/+0
| | | | llvm-svn: 130557
* Switch to ImmLeaf (which can be used by FastISel) for a few more common ↵Eli Friedman2011-04-293-2/+7
| | | | | | ARM/Thumb2 patterns. llvm-svn: 130552
* Add FastEmitInst_ii for the arm fast isel generator. It doesn't use it, butEric Christopher2011-04-291-0/+23
| | | | | | if it ever did it needs the def machinery. llvm-svn: 130549
* Some cleanup and optimize fallthrough more.Eric Christopher2011-04-291-8/+13
| | | | llvm-svn: 130546
* Re-committing r130454, which does not in fact break anything.Eli Friedman2011-04-291-19/+2
| | | | | | | Fix a rather obscure crash caused by ARM fast-isel generating code which redefines a register. rdar://problem/9338332 . llvm-svn: 130539
* Add trunc->branch support, this won't help with clang's i8->i1 truncationsEric Christopher2011-04-291-1/+24
| | | | | | for bools, but is a start. llvm-svn: 130534
* MCExpr: Add FindAssociatedSection, which attempts to mirror the 'as' semanticsDaniel Dunbar2011-04-291-0/+3
| | | | | | that associate sections with expressions. llvm-svn: 130517
* Teach Thumb2 isel to fold and->rotr ==> ROR.Andrew Trick2011-04-291-0/+9
| | | | | | Generalization of Nate Begeman's patch! llvm-svn: 130502
* This is done.Benjamin Kramer2011-04-291-20/+0
| | | | llvm-svn: 130499
* clean up after Sean's r127646 patch.Chris Lattner2011-04-291-429/+330
| | | | llvm-svn: 130475
* use the MachineInstrBuilder operator-> to simplify some code.Chris Lattner2011-04-294-21/+18
| | | | | | There are probably more instances of this floating around. llvm-svn: 130474
* Update comments and checks to match reality.Eric Christopher2011-04-291-9/+2
| | | | llvm-svn: 130464
* Whitespace.Eric Christopher2011-04-291-11/+11
| | | | llvm-svn: 130463
* Revert r130454; apparently this doesn't actually work.Eli Friedman2011-04-281-2/+19
| | | | llvm-svn: 130462
* Fix a rather obscure crash caused by ARM fast-isel generating code which ↵Eli Friedman2011-04-281-19/+2
| | | | | | | | redefines a register. rdar://problem/9338332 . llvm-svn: 130454
* Target/X86/MC: Add an option for disabling arith relaxation, for my own testingDaniel Dunbar2011-04-281-0/+11
| | | | | | purposes. llvm-svn: 130438
* fast-isel sret calls, try 2. We actually do need to do something on x86-32. ↵Eli Friedman2011-04-281-2/+4
| | | | | | rdar://problem/9303592 . llvm-svn: 130429
* Revert r130348; causing buildbot issues on x86-32.Eli Friedman2011-04-281-0/+1
| | | | llvm-svn: 130412
* Be more layout aware here and swap the successor and branch conditionEric Christopher2011-04-281-1/+8
| | | | | | if it means we get a fallthrough. llvm-svn: 130404
* Add a getExprForPersonalitySymbol method to MCAsmInfo. Use it whenRafael Espindola2011-04-283-2/+29
| | | | | | converting the symbol passed to .cfi_personality into bytes is the file. llvm-svn: 130400
* Let the immediate leaf pattern take transforms and switch the signedEric Christopher2011-04-283-30/+30
| | | | | | | | immediate patterns in arm to using the pattern. Handles rdar://9299434 llvm-svn: 130386
* move PR9803 to this readme.Chris Lattner2011-04-281-0/+28
| | | | llvm-svn: 130385
* Teach dwarf writer to handle complex address expression for .debug_loc entries.Devang Patel2011-04-282-0/+45
| | | | | | | This fixes clang generated blocks' variables' debug info. Radar 9279956. llvm-svn: 130373
* PTX: support for select_cc and fixes for setccJustin Holewinski2011-04-282-1/+41
| | | | | | | | | | - expansion of SELECT_CC into SETCC - force SETCC result type to i1 - custom selection for handling i1 using SETCC Patch by Dan Bailey llvm-svn: 130358
* PTX: support for selectJustin Holewinski2011-04-281-0/+15
| | | | | | | | | - selection of SELP instruction - new selp.ll test Patch by Dan Bailey llvm-svn: 130357
* PTX: mov fix and rounding correction for cvtJustin Holewinski2011-04-281-18/+18
| | | | | | | | | | - fix typo in MOV - correct fp rounding on CVT - new cvt.ll test Patch by Dan Bailey llvm-svn: 130356
* PTX: support for fnegJustin Holewinski2011-04-281-0/+23
| | | | | | | | | - selection of FNEG instruction - new fneg.ll test Patch by Dan Bailey llvm-svn: 130355
* PTX: support for zext loads and trunc storesJustin Holewinski2011-04-281-1/+13
| | | | | | | | - expansion of EXTLOAD and TRUNCSTORE instructions Patch by Dan Bailey llvm-svn: 130354
* PTX: support for bitwise operations on predicatesJustin Holewinski2011-04-281-0/+8
| | | | | | | | | - selection of bitwise preds (AND, OR, XOR) - new bitwise.ll test Patch by Dan Bailey llvm-svn: 130353
* PTX: patch to AsmPrinterJustin Holewinski2011-04-281-22/+47
| | | | | | | | | - immediate value cast as long not int - handles initializer for constant array Patch by Dan Bailey llvm-svn: 130352
* fast-isel sret. We actually don't need to do anything special on x86. :) ↵Eli Friedman2011-04-271-1/+0
| | | | | | rdar://problem/9303592 . llvm-svn: 130348
* Remove unnecessary argument.Rafael Espindola2011-04-273-4/+4
| | | | llvm-svn: 130343
* Rename getPersonalityPICSymbol to getCFIPersonalitySymbol, document it, andRafael Espindola2011-04-273-5/+16
| | | | | | | | | | | | | | | | | | give it a bit more responsibility. Also implement it for MachO. If hacked to use cfi, 32 bit MachO will produce .cfi_personality 155, L___gxx_personality_v0$non_lazy_ptr and 64 bit will produce .cfi_presonality ___gxx_personality_v0 The general idea is that .cfi_personality gets passed the final symbol. It is up to codegen to produce it if using indirect representation (like 32 bit MachO), but it is up to MC to decide which relocations to create. llvm-svn: 130341
* Make the fast-isel code for literal 0.0 a bit shorter/faster, since 0.0 is ↵Eli Friedman2011-04-271-0/+41
| | | | | | common. rdar://problem/9303592 . llvm-svn: 130338
* Fix a bug in the case that there is no add or subtract symbol and the offsetKevin Enderby2011-04-271-2/+6
| | | | | | value is zero so it does not add a NULL expr operand. llvm-svn: 130330
* Revert r130178. It turned out to be not the optimal path to emit complex ↵Devang Patel2011-04-272-8/+5
| | | | | | location expressions. llvm-svn: 130326
* Refactor out code to fast-isel a memcpy operation with a small constantEli Friedman2011-04-271-32/+40
| | | | | | length. (I'm planning to use this to implement byval.) llvm-svn: 130274
* Fix an edge case involving branches in fast-isel on x86.Eli Friedman2011-04-271-2/+4
| | | | | | rdar://problem/9303306 . llvm-svn: 130272
* Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"Chris Lattner2011-04-261-46/+0
| | | | | | | | | | when X has multiple uses. This is useful for exposing secondary optimizations, but the X86 backend isn't ready for this when X has a single use. For example, this can disable load folding. This is inching towards resolving PR6627. llvm-svn: 130238
* ARM and Thumb2 support for atomic MIN/MAX/UMIN/UMAX loads.Jim Grosbach2011-04-263-0/+184
| | | | | | rdar://9326019 llvm-svn: 130234
* Add a TRI::getLargestLegalSuperClass hook to provide an upper limit on ↵Jakob Stoklund Olesen2011-04-266-0/+63
| | | | | | | | | | | | register class inflation. The hook will be used by the register allocator when recomputing register classes after removing constraints. Thumb1 code doesn't allow anything larger than tGPR, and x86 needs to ensure that the spill size doesn't change. llvm-svn: 130228
* Print all the moves at a given label instead of just the first one.Rafael Espindola2011-04-261-9/+0
| | | | | | Remove previous DwarfCFI hack. llvm-svn: 130187
* Let dwarf writer allocate extra space in the debug location expression. This ↵Devang Patel2011-04-262-5/+8
| | | | | | space, if requested, will be used for complex addresses of the Blocks' variables. llvm-svn: 130178
* add a missed bitfield instcombine.Chris Lattner2011-04-251-0/+47
| | | | llvm-svn: 130137
* Lower BlockAddress node when relocation-model is static.Akira Hatanaka2011-04-252-16/+23
| | | | llvm-svn: 130131
* Remove some hard coded CR-LFs. Some of these were the entire files, one ofChandler Carruth2011-04-251-1/+1
| | | | | | | these was just one line of a file. Explicitly set the eol-style property on the files to try and ensure this fix stays. llvm-svn: 130125
* Fix comment typo. Noticed by Liu.Duncan Sands2011-04-251-1/+1
| | | | llvm-svn: 130120
* Fix Target/ARM/Thumb1FrameLowering.h header guard.Sebastian Redl2011-04-241-1/+1
| | | | llvm-svn: 130097
OpenPOWER on IntegriCloud