| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | even more simplifications. ARM MCInstLowering is now just | Chris Lattner | 2010-11-14 | 4 | -60/+19 |
| | | | | | | | | a single function instead of a class. It doesn't need the complexity that X86 does. llvm-svn: 119070 | ||||
| * | more shrinkification | Chris Lattner | 2010-11-14 | 2 | -10/+1 |
| | | | | | llvm-svn: 119068 | ||||
| * | more simplifications. | Chris Lattner | 2010-11-14 | 2 | -92/+18 |
| | | | | | llvm-svn: 119067 | ||||
| * | simplify and tidy up | Chris Lattner | 2010-11-14 | 3 | -41/+16 |
| | | | | | llvm-svn: 119066 | ||||
| * | implement basic support for memory operands and crbit operands, | Chris Lattner | 2010-11-14 | 2 | -5/+72 |
| | | | | | | | this fixes 3 more ppc tests. llvm-svn: 119065 | ||||
| * | implement several trivial operand printers, reducing | Chris Lattner | 2010-11-14 | 2 | -6/+56 |
| | | | | | | | failures in CodeGen/PowerPC from 120 -> 117 llvm-svn: 119063 | ||||
| * | Implement support for printing register and immediate operands, | Chris Lattner | 2010-11-14 | 3 | -6/+46 |
| | | | | | | | | | | | | | | | add support for darwin vs aix syntax. We now can print instructions like this: add r3, r3, r4 blr and (in aix mode): add 3, 3, 4 blr llvm-svn: 119062 | ||||
| * | stub out PPCMCInstLowering, add a new option that uses it and the new | Chris Lattner | 2010-11-14 | 4 | -0/+154 |
| | | | | | | | instprinter when -enable-ppc-inst-printer is passed to llc. llvm-svn: 119061 | ||||
| * | Fix the type of a symbol created with .comm and no corresponding .type. | Rafael Espindola | 2010-11-14 | 1 | -0/+1 |
| | | | | | llvm-svn: 119060 | ||||
| * | stub out a powerpc MCInstPrinter implementation. | Chris Lattner | 2010-11-14 | 7 | -2/+145 |
| | | | | | llvm-svn: 119059 | ||||
| * | move all the target's asmprinters into the main target. The piece | Chris Lattner | 2010-11-14 | 40 | -188/+16 |
| | | | | | | | | that should be split out is the InstPrinter (if a target is mc'ized). This change makes all the targets be consistent. llvm-svn: 119056 | ||||
| * | If dom tree information is available, make it possible to pass | Duncan Sands | 2010-11-14 | 4 | -8/+10 |
| | | | | | | | it to get better phi node simplification. llvm-svn: 119055 | ||||
| * | move PPCAsmPrinter into the main PPC library, like ARM and X86. | Chris Lattner | 2010-11-14 | 5 | -22/+2 |
| | | | | | llvm-svn: 119054 | ||||
| * | fix cmake | Chris Lattner | 2010-11-14 | 1 | -1/+0 |
| | | | | | llvm-svn: 119053 | ||||
| * | remove JIT support from the Alpha backend. The JIT will be moving to MC, | Chris Lattner | 2010-11-14 | 8 | -604/+2 |
| | | | | | | | and the Alpha backend isn't MCized yet. Approved by Andrew. llvm-svn: 119051 | ||||
| * | random acts of tidiness. | Chris Lattner | 2010-11-14 | 1 | -10/+5 |
| | | | | | llvm-svn: 119049 | ||||
| * | Teach InstructionSimplify about phi nodes. I chose to have it simply | Duncan Sands | 2010-11-14 | 2 | -2/+5 |
| | | | | | | | | | | | offload the work to hasConstantValue rather than do something more complicated (such handling mutually recursive phis) because (1) it is not clear it is worth it; and (2) if it is worth it, maybe such logic would be better placed in hasConstantValue. Adjust some GVN tests which are now cleaned up much further (eg: all phi nodes are removed). llvm-svn: 119043 | ||||
| * | Boost the power of phi node constant folding slightly: if all | Duncan Sands | 2010-11-14 | 1 | -12/+18 |
| | | | | | | | | | | | | operands are the phi node itself or undef, then return undef. This logic already existed at a higher level so in practice it shouldn't make the slightest difference. Note that this code could be replaced by a call to PN->hasConstantValue(). However since we bail out the moment we see a non-constant operand, it is more efficient to have a specialized version of that logic. llvm-svn: 119041 | ||||
| * | Strip trailing whitespace. | Duncan Sands | 2010-11-14 | 1 | -50/+49 |
| | | | | | llvm-svn: 119038 | ||||
| * | Second attempt at providing correct encodings for Thumb2 binary operators. | Owen Anderson | 2010-11-14 | 1 | -51/+105 |
| | | | | | llvm-svn: 119029 | ||||
| * | Handle a peculiar comdat case: Creating a section with an undefined | Rafael Espindola | 2010-11-14 | 2 | -29/+55 |
| | | | | | | | | signature symbol causes a local symbol to be created unless there is some other use of the symbol. llvm-svn: 119026 | ||||
| * | Simplify getSymbolIndexInSymbolTable by setting the actual index of | Rafael Espindola | 2010-11-14 | 1 | -11/+6 |
| | | | | | | | the symbols. llvm-svn: 119022 | ||||
| * | Fix warning. | Rafael Espindola | 2010-11-14 | 1 | -0/+4 |
| | | | | | llvm-svn: 119021 | ||||
| * | Recognise 32-bit ror-based bswap implementation used by uclibc | Peter Collingbourne | 2010-11-13 | 1 | -0/+29 |
| | | | | | llvm-svn: 119007 | ||||
| * | Support ; as asm separator | Peter Collingbourne | 2010-11-13 | 1 | -1/+1 |
| | | | | | llvm-svn: 119006 | ||||
| * | Generalize the reassociation transform in SimplifyCommutative (now renamed to | Duncan Sands | 2010-11-13 | 5 | -46/+128 |
| | | | | | | | | | | | | | | | | | SimplifyAssociativeOrCommutative) "(A op C1) op C2" -> "A op (C1 op C2)", which previously was only done if C1 and C2 were constants, to occur whenever "C1 op C2" simplifies (a la InstructionSimplify). Since the simplifying operand combination can no longer be assumed to be the right-hand terms, consider all of the possible permutations. When compiling "gcc as one big file", transform 2 (i.e. using right-hand operands) fires about 4000 times but it has to be said that most of the time the simplifying operands are both constants. Transforms 3, 4 and 5 each fired once. Transform 6, which is an existing transform that I didn't change, never fired. With this change, the testcase is now optimized perfectly with one run of instcombine (previously it required instcombine + reassociate + instcombine, and it may just have been luck that this worked). llvm-svn: 119002 | ||||
| * | Fix typo pointed out by Trevor Harmon. | Duncan Sands | 2010-11-13 | 1 | -1/+1 |
| | | | | | llvm-svn: 119001 | ||||
| * | Comment out the defms until they're activated. | Bill Wendling | 2010-11-13 | 3 | -3/+7 |
| | | | | | llvm-svn: 119000 | ||||
| * | Add uses of the *_ldst_multi multiclasses. These aren't used yet. | Bill Wendling | 2010-11-13 | 4 | -0/+48 |
| | | | | | llvm-svn: 118999 | ||||
| * | Convert the modes to lower case. | Bill Wendling | 2010-11-13 | 4 | -22/+22 |
| | | | | | llvm-svn: 118998 | ||||
| * | Minor cleanups: | Bill Wendling | 2010-11-13 | 2 | -11/+14 |
| | | | | | | | | - Get the opcode once. - Add a ParserMatchClass to reglist. llvm-svn: 118997 | ||||
| * | Add *_ldst_mult multiclasses to the ARM back-end. These will be used in the | Bill Wendling | 2010-11-13 | 5 | -0/+229 |
| | | | | | | | | future to separate out the ia, ib, da, db variants of the load/store multiple instructions. llvm-svn: 118995 | ||||
| * | MC: Simplify Mach-O and ELF object writer implementations. | Daniel Dunbar | 2010-11-13 | 5 | -220/+123 |
| | | | | | | | - What was I thinking????? llvm-svn: 118992 | ||||
| * | Fixed error and re-enabled MBlaze MC disassembler tests. | Wesley Peck | 2010-11-13 | 1 | -0/+3 |
| | | | | | llvm-svn: 118987 | ||||
| * | Conditional moves are slightly more expensive than moves. | Evan Cheng | 2010-11-13 | 6 | -10/+11 |
| | | | | | llvm-svn: 118985 | ||||
| * | Fix warning and add support for printing gnu_unique_object. | Rafael Espindola | 2010-11-13 | 1 | -0/+2 |
| | | | | | llvm-svn: 118981 | ||||
| * | Parse and record the gnu_unique_object type. | Rafael Espindola | 2010-11-13 | 2 | -0/+2 |
| | | | | | llvm-svn: 118980 | ||||
| * | Parse and remember discriminators in .loc line. I try to output them with | Rafael Espindola | 2010-11-13 | 2 | -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 Dunbar | 2010-11-13 | 1 | -192/+140 |
| | | | | | llvm-svn: 118973 | ||||
| * | report_fatal_error: Simplify a possible ambiguity. | Daniel Dunbar | 2010-11-13 | 1 | -0/+4 |
| | | | | | llvm-svn: 118972 | ||||
| * | 1. Adding test cases for MBlaze MC disassembler. | Wesley Peck | 2010-11-13 | 3 | -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 Cheng | 2010-11-13 | 4 | -18/+47 |
| | | | | | llvm-svn: 118968 | ||||
| * | Swap multiclass operand order for consistency with other patterns. | Jim Grosbach | 2010-11-13 | 1 | -3/+3 |
| | | | | | llvm-svn: 118965 | ||||
| * | Continue ARM indexed load refactoring. Multiclass for LDR{B} pre/post indexed | Jim Grosbach | 2010-11-13 | 1 | -18/+12 |
| | | | | | | | instructions. llvm-svn: 118963 | ||||
| * | Fix the encoding of negative line deltas. | Rafael Espindola | 2010-11-13 | 1 | -1/+1 |
| | | | | | llvm-svn: 118962 | ||||
| * | Fix some more 80-col violas. | Daniel Dunbar | 2010-11-13 | 1 | -4/+11 |
| | | | | | llvm-svn: 118959 | ||||
| * | Fix 80-col violation / non-sensicalness. | Daniel Dunbar | 2010-11-13 | 1 | -3/+3 |
| | | | | | llvm-svn: 118958 | ||||
| * | More ARM load/store indexed refactoring. Also fix an incorrect IndexMode | Jim Grosbach | 2010-11-13 | 2 | -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 Gohman | 2010-11-13 | 1 | -5/+5 |
| | | | | | llvm-svn: 118954 | ||||
| * | Fix an obvious typo which inverted an immediate. | Evan Cheng | 2010-11-13 | 1 | -1/+1 |
| | | | | | llvm-svn: 118951 | ||||

