summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Parse and remember discriminators in .loc line. I try to output them withRafael Espindola2010-11-132-2/+8
| | | | | | | another patch. This lets us parse a bit more of the gcc 4.5 output. llvm-svn: 118975
* JIT: More nitty style tweakage, aka territory marking.Daniel Dunbar2010-11-131-192/+140
| | | | llvm-svn: 118973
* report_fatal_error: Simplify a possible ambiguity.Daniel Dunbar2010-11-131-0/+4
| | | | llvm-svn: 118972
* 1. Adding test cases for MBlaze MC disassembler.Wesley Peck2010-11-133-14/+87
| | | | | | | 2. Fixing several errors in disassembler uncovered by test cases. 3. Fixing invalid encoding of PCMPEQ and PCMPNE uncovered by test cases. llvm-svn: 118969
* Add conditional move of large immediate.Evan Cheng2010-11-134-18/+47
| | | | llvm-svn: 118968
* Swap multiclass operand order for consistency with other patterns.Jim Grosbach2010-11-131-3/+3
| | | | llvm-svn: 118965
* Continue ARM indexed load refactoring. Multiclass for LDR{B} pre/post indexedJim Grosbach2010-11-131-18/+12
| | | | | | instructions. llvm-svn: 118963
* Fix the encoding of negative line deltas.Rafael Espindola2010-11-131-1/+1
| | | | llvm-svn: 118962
* Fix some more 80-col violas.Daniel Dunbar2010-11-131-4/+11
| | | | llvm-svn: 118959
* Fix 80-col violation / non-sensicalness.Daniel Dunbar2010-11-131-3/+3
| | | | llvm-svn: 118958
* More ARM load/store indexed refactoring. Also fix an incorrect IndexModeJim Grosbach2010-11-132-75/+54
| | | | | | flag for the LDRT/STRT family instructions as a side effect. llvm-svn: 118955
* Revert r118917, which is implicated in the llvm-gcc-i386-linux-selfhost failure.Dan Gohman2010-11-131-5/+5
| | | | llvm-svn: 118954
* Fix an obvious typo which inverted an immediate.Evan Cheng2010-11-131-1/+1
| | | | llvm-svn: 118951
* 1. Adding missing immediate mode asm parser test cases.Wesley Peck2010-11-131-2/+2
| | | | | | 2. Fixing improper immediate mode reverse subtract. llvm-svn: 118948
* Temporarily revert this.Eric Christopher2010-11-121-5/+4
| | | | llvm-svn: 118946
* For pre-v6t2 targets, only select MOVi32imm if the immediate can be handled ↵Evan Cheng2010-11-123-15/+11
| | | | | | with movi + orr. llvm-svn: 118945
* Fixing improperly encoded reverse subtract instructions in MBlaze backend.Wesley Peck2010-11-122-9/+8
| | | | llvm-svn: 118943
* Revert r118939 while I work out why it broke some buildbots.Owen Anderson2010-11-121-65/+52
| | | | llvm-svn: 118942
* 1. Finishing MBlaze MC asm parser test casesWesley Peck2010-11-1211-170/+222
| | | | | | | | | | 2. Parsing .word directive in MBlaze asm parser 3. Fixing hack where memory instructions reversed order of last two parameters 4. Fixing many improperly encoded instructions 5. Support parsing special instructions (MFS,MTS,etc.) 6. Removing unused functions from inst printer llvm-svn: 118941
* Remove DW_AT_start_scope support. It is incomplete and superseeded by ↵Devang Patel2010-11-122-40/+9
| | | | | | location entries support. llvm-svn: 118940
* Attemt to provide correct encodings for Thumb2 binary operators.Owen Anderson2010-11-121-52/+65
| | | | llvm-svn: 118939
* Eliminate ARM::MOVi2pieces. Just use MOVi32imm and expand it to either ↵Evan Cheng2010-11-125-72/+34
| | | | | | movi+orr or movw+movt depending on the subtarget. llvm-svn: 118938
* Make this happen for ARM like x86. Don't entirely bail out whenEric Christopher2010-11-121-4/+5
| | | | | | | an address is in a different block, get it into a register and go from there. llvm-svn: 118936
* Add conditional mvn instructions.Evan Cheng2010-11-123-10/+67
| | | | llvm-svn: 118935
* Zap a copy/paste-o bit of dead code.Jim Grosbach2010-11-121-2/+0
| | | | llvm-svn: 118926
* Refactor to parameterize some ARM load/store encoding patterns. PreparatoryJim Grosbach2010-11-122-86/+24
| | | | | | | to splitting the load/store pre/post indexed instructions into [r, r] and [r, imm] forms. llvm-svn: 118925
* First stab at providing correct Thumb2 encodings, start with adc.Owen Anderson2010-11-123-19/+122
| | | | llvm-svn: 118924
* Have GVN simplify instructions as it goes. For example, considerDuncan Sands2010-11-121-18/+20
| | | | | | | | | | | | | | | "%z = %x and %y". If GVN can prove that %y equals %x, then it turns this into "%z = %x and %x". With the new code, %z will be replaced with %x everywhere (and then deleted). Previously %z would be value numbered too, which is a waste of time. Also, while a clever value numbering algorithm would give %z the same value number as %x, our current one doesn't do so (at least I don't think it does). The new logic has an essentially equivalent effect to what you would get if %z was given the same value number as %x, i.e. it should make value numbering smarter. While there, get hold of target data once at the start rather than a gazillion times all over the place. llvm-svn: 118923
* Add some missing isel predicates on def : pat patterns to avoid generating ↵Evan Cheng2010-11-123-64/+54
| | | | | | VFP vmla / vmls (they cause stalls). Disabling them in isel is properly not a right solution, I'll look into a proper solution next. llvm-svn: 118922
* Kill more unused stuff.Jim Grosbach2010-11-121-43/+0
| | | | llvm-svn: 118921
* MCELF: Copy the symbol name only if we're going to modify it.Benjamin Kramer2010-11-121-9/+8
| | | | llvm-svn: 118920
* Remove unused class.Jim Grosbach2010-11-121-8/+0
| | | | llvm-svn: 118919
* When the definition of an address value is in a different blockDan Gohman2010-11-121-5/+5
| | | | | | | | from the user of the address, fall back to just using the address in a register instead of bailing out of fast-isel altogether. llvm-svn: 118917
* accept lret as an alias for lretl, fixing the reopened part of PR8592Chris Lattner2010-11-122-2/+5
| | | | llvm-svn: 118916
* Remove what looks like dead code in the production of debug lines.Rafael Espindola2010-11-121-45/+2
| | | | | | | | | We only produce debug line information if we have seen a line directive, so this code is dead. Also, if we want to be bug by bug compatible with gas and sometimes produce "empty" .debug_line sections, this will match the content produced by gas. llvm-svn: 118914
* typo (4th checkin for one fix)Andrew Trick2010-11-121-1/+1
| | | | llvm-svn: 118913
* Fill in the default predication bits for ARM unconditional branch.Jim Grosbach2010-11-121-0/+1
| | | | llvm-svn: 118907
* Encoding for ARM LDRSB instructions.Jim Grosbach2010-11-121-7/+12
| | | | llvm-svn: 118905
* Fixes PR8287: SD scheduling time. The fix is a failsafe that preventsAndrew Trick2010-11-121-13/+53
| | | | | | | | | catastrophic compilation time in the event of unreasonable LLVM IR. Code quality is a separate issue--someone upstream needs to do a better job of reducing to llvm.memcpy. If the situation can be reproduced with any supported frontend, then it will be a separate bug. llvm-svn: 118904
* implement PR8592: empirically "lretq" is a "lret" with a rex.w prefix.Chris Lattner2010-11-121-0/+2
| | | | llvm-svn: 118903
* tidy up.Chris Lattner2010-11-122-10/+7
| | | | llvm-svn: 118896
* gnu as support both % and @ before types, do the same.Rafael Espindola2010-11-121-10/+4
| | | | llvm-svn: 118893
* Re-disable TBAA for now; it broke MultiSource/Applications/JM/lencod,Dan Gohman2010-11-121-1/+1
| | | | | | at least. llvm-svn: 118890
* Fix memory access lowering on SPU, addingKalle Raiskila2010-11-124-115/+252
| | | | | | | | | | | | support for the case where alignment<value size. These cases were silently miscompiled before this patch. Now they are overly verbose -especially storing is- and any front-end should still avoid misaligned memory accesses as much as possible. The bit juggling algorithm added here probably has some room for improvement still. llvm-svn: 118889
* Fix up a few more spots of addrmode2 (or not) changes that wereEric Christopher2010-11-121-6/+12
| | | | | | | | missed. Update some comments accordingly. Fixes rdar://8652289 llvm-svn: 118888
* Enable TBAA.Dan Gohman2010-11-121-1/+1
| | | | llvm-svn: 118884
* Fix some style issues in PBQP. Patch by David Blaikie.Lang Hames2010-11-121-20/+25
| | | | llvm-svn: 118883
* Enhance DSE to handle the case where a free call makes more thanDan Gohman2010-11-121-12/+24
| | | | | | | one store dead. This is especially noticeable in SingleSource/Benchmarks/Shootout/objinst. llvm-svn: 118875
* Remove possibly useful info from comment, per Chris.Dale Johannesen2010-11-121-1/+1
| | | | llvm-svn: 118865
* Enable mips32 mul instruction. Patch by Akira Hatanaka <ahatanaka@mips.com>Bruno Cardoso Lopes2010-11-123-3/+6
| | | | llvm-svn: 118864
OpenPOWER on IntegriCloud