| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Minor optimization: | Evan Cheng | 2009-03-01 | 3 | -30/+253 |
| | | | | | | | | | | | | Look for situations like this: %reg1024<def> = MOV r1 %reg1025<def> = MOV r0 %reg1026<def> = ADD %reg1024, %reg1025 r0 = MOV %reg1026 Commute the ADD to hopefully eliminate an otherwise unavoidable copy. llvm-svn: 65752 | ||||
| * | tweak this to accept asmprinter changes. I have no way to verify this, ↵ | Chris Lattner | 2009-03-01 | 1 | -1/+1 |
| | | | | | | | | | hopefully the buildbot will work. llvm-svn: 65750 | ||||
| * | simplify handling "don't print top level name" processing, so that we get | Chris Lattner | 2009-03-01 | 2 | -40/+25 |
| | | | | | | | stuff like %A = type { %A*} instead of an upref. llvm-svn: 65748 | ||||
| * | Combine PPC's GetConstantBuildVectorBits and isConstantSplat functions to a new | Bob Wilson | 2009-03-01 | 3 | -106/+114 |
| | | | | | | | method in a BuildVectorSDNode "pseudo-class". llvm-svn: 65747 | ||||
| * | Fix a pretty awesome bug that only happened in a strange case with anonymous | Chris Lattner | 2009-03-01 | 2 | -8/+19 |
| | | | | | | | types. This was reading the uint for the keyword after the token was advanced. llvm-svn: 65743 | ||||
| * | walk type symbol table also, so we get: | Chris Lattner | 2009-03-01 | 1 | -2/+10 |
| | | | | | | | | | | | | | | type opaque ; type %0 %C = type { %0, %0 } instead of: %C = type { opaque, opaque } when appropriate. llvm-svn: 65742 | ||||
| * | adjust for asmprinter change. | Chris Lattner | 2009-03-01 | 1 | -2/+2 |
| | | | | | llvm-svn: 65741 | ||||
| * | adjust for asmprinter change. | Chris Lattner | 2009-03-01 | 1 | -3/+5 |
| | | | | | llvm-svn: 65740 | ||||
| * | adjust test to make it more robust | Chris Lattner | 2009-03-01 | 1 | -2/+4 |
| | | | | | llvm-svn: 65739 | ||||
| * | Fix a long-standing bug and misfeature of the disassembler: when dealing with a | Chris Lattner | 2009-03-01 | 2 | -12/+128 |
| | | | | | | | | | | | | | | | stripped .bc file, it didn't make any attempt to try to reuse anonymous types. This causes an amazing type explosion due to types getting duplicated everywhere they are referenced and other problems. This also caused correctness issues, because opaque types are unique for each time they are uttered in the file. This means that stripping a .bc file could produce a .ll file that could not be assembled (e.g. 2009-02-28-StripOpaqueName.ll). This patch fixes both of these issues. llvm-svn: 65738 | ||||
| * | move type name population out of TypePrinting class into a static | Chris Lattner | 2009-02-28 | 2 | -38/+62 |
| | | | | | | | AsmWriter.cpp method. llvm-svn: 65736 | ||||
| * | switch to densemap for pointer->word map. | Chris Lattner | 2009-02-28 | 1 | -9/+9 |
| | | | | | llvm-svn: 65735 | ||||
| * | delete a bunch of duplicated type printing logic, using the type printing | Chris Lattner | 2009-02-28 | 2 | -154/+18 |
| | | | | | | | stuff in AsmWriter.cpp for Type::getDescription(). llvm-svn: 65734 | ||||
| * | make this work when constructed with a null module* | Chris Lattner | 2009-02-28 | 1 | -2/+1 |
| | | | | | llvm-svn: 65733 | ||||
| * | add description how the ilist_traits<Instruction> works | Gabor Greif | 2009-02-28 | 1 | -2/+13 |
| | | | | | llvm-svn: 65732 | ||||
| * | the module is not required to exist, allow it to default, giving this | Chris Lattner | 2009-02-28 | 1 | -1/+1 |
| | | | | | | | class a nice default ctor. llvm-svn: 65731 | ||||
| * | disable copying and assignment. | Chris Lattner | 2009-02-28 | 1 | -0/+2 |
| | | | | | llvm-svn: 65730 | ||||
| * | expose TypePrinting as a public API. | Chris Lattner | 2009-02-28 | 2 | -23/+42 |
| | | | | | llvm-svn: 65729 | ||||
| * | one less space, fixes failure with rebuilt llvm-gcc. | Chris Lattner | 2009-02-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 65728 | ||||
| * | Fix grammaro. | Bill Wendling | 2009-02-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 65727 | ||||
| * | rename 'Result' to 'OS' in CalcTypeName for consistency | Chris Lattner | 2009-02-28 | 1 | -37/+37 |
| | | | | | llvm-svn: 65724 | ||||
| * | do not embed the raw_ostream into TypePrinting, pass it as an argument to ↵ | Chris Lattner | 2009-02-28 | 1 | -52/+43 |
| | | | | | | | print etc. llvm-svn: 65723 | ||||
| * | stop calling Type::getDescription(). | Chris Lattner | 2009-02-28 | 1 | -12/+15 |
| | | | | | llvm-svn: 65722 | ||||
| * | simplifications | Chris Lattner | 2009-02-28 | 1 | -6/+8 |
| | | | | | llvm-svn: 65721 | ||||
| * | Change WriteTypeSymbolic to not put a space out before types, also, remove | Chris Lattner | 2009-02-28 | 4 | -27/+20 |
| | | | | | | | the old std::ostream version. llvm-svn: 65720 | ||||
| * | make CalcTypeName take a stream instead of a string to concat onto, | Chris Lattner | 2009-02-28 | 1 | -55/+49 |
| | | | | | | | eliminate redundant opaque handling code. llvm-svn: 65716 | ||||
| * | remove a bunch of nearly-duplicated code. | Chris Lattner | 2009-02-28 | 1 | -63/+18 |
| | | | | | llvm-svn: 65715 | ||||
| * | fix indentation, remove dead integer case. | Chris Lattner | 2009-02-28 | 1 | -64/+59 |
| | | | | | llvm-svn: 65714 | ||||
| * | pull calcTypeName into TypePrinting class, make its type stack | Chris Lattner | 2009-02-28 | 1 | -12/+16 |
| | | | | | | | be a smallvector instead of vector. llvm-svn: 65713 | ||||
| * | inline method into its only use and simplify the result. | Chris Lattner | 2009-02-28 | 1 | -11/+4 |
| | | | | | llvm-svn: 65712 | ||||
| * | simplify condition | Chris Lattner | 2009-02-28 | 1 | -7/+10 |
| | | | | | llvm-svn: 65711 | ||||
| * | start refactoring the .ll printer: introduce a new TypePrinting class | Chris Lattner | 2009-02-28 | 1 | -310/+302 |
| | | | | | | | and move all related stuff to it. llvm-svn: 65710 | ||||
| * | add a stub for Roadsend PHP | Chris Lattner | 2009-02-28 | 1 | -0/+12 |
| | | | | | llvm-svn: 65705 | ||||
| * | don't use the word 'aggregate' with constants, it is confusing. | Chris Lattner | 2009-02-28 | 1 | -5/+7 |
| | | | | | llvm-svn: 65702 | ||||
| * | don't redescribe bitcast constraints in two places. It is not valid to | Chris Lattner | 2009-02-28 | 1 | -9/+3 |
| | | | | | | | bitcast from one aggregate to another. llvm-svn: 65700 | ||||
| * | reject 0 element vectors with: | Chris Lattner | 2009-02-28 | 1 | -0/+2 |
| | | | | | | | | | | @a = internal constant void bitcast(<0 x i8> <> to void) ^ Fixes PR3685 llvm-svn: 65698 | ||||
| * | Update this text for first-class aggregates. | Nick Lewycky | 2009-02-28 | 1 | -3/+4 |
| | | | | | llvm-svn: 65697 | ||||
| * | Fix typo. Found by William Moss. | Bill Wendling | 2009-02-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 65693 | ||||
| * | There is a way to specify targets that should succeed. It's the "XTARGET" | Bill Wendling | 2009-02-28 | 1 | -2/+2 |
| | | | | | | | keyword. llvm-svn: 65692 | ||||
| * | make traits more flexible by splitting out node-related fragment | Gabor Greif | 2009-02-28 | 1 | -6/+14 |
| | | | | | llvm-svn: 65690 | ||||
| * | Last commit accidentially deleted this code. | Evan Cheng | 2009-02-28 | 2 | -0/+233 |
| | | | | | llvm-svn: 65679 | ||||
| * | Avoid unused parameter warning. | Evan Cheng | 2009-02-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 65670 | ||||
| * | Unable to say "TARGET: *-*-darwin*"; falling back to "XFAIL: ↵ | Stuart Hastings | 2009-02-28 | 1 | -1/+1 |
| | | | | | | | linux,ia64,alpha,sparc". llvm-svn: 65667 | ||||
| * | Added another darwin subtarget | Mon P Wang | 2009-02-28 | 1 | -0/+4 |
| | | | | | llvm-svn: 65662 | ||||
| * | Testcase to insure C strings go to the cstring | Stuart Hastings | 2009-02-27 | 1 | -0/+11 |
| | | | | | | | section. Darwin-specific. llvm-svn: 65655 | ||||
| * | It is possible that subprgoram definition is only encoding return value ↵ | Devang Patel | 2009-02-27 | 1 | -2/+6 |
| | | | | | | | directly, instsad of an DIArray of all argument types. llvm-svn: 65643 | ||||
| * | group friendship | Gabor Greif | 2009-02-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 65633 | ||||
| * | Refactor TLS code and add some tests. The tests and expected results are: | Rafael Espindola | 2009-02-27 | 18 | -41/+214 |
| | | | | | | | | | | | | | | | | | | | | | | pic | declaration | linkage | visibility | !pic | declaration | external | default | tls1.ll tls2.ll | local exec pic | declaration | external | default | tls1-pic.ll tls2-pic.ll | general dynamic !pic | !declaration | external | default | tls3.ll tls4.ll | initial exec pic | !declaration | external | default | tls3-pic.ll tls4-pic.ll | general dynamic !pic | declaration | external | hidden | tls7.ll tls8.ll | local exec pic | declaration | external | hidden | X | local dynamic !pic | !declaration | external | hidden | tls9.ll tls10.ll | local exec pic | !declaration | external | hidden | X | local dynamic !pic | declaration | internal | default | tls5.ll tls6.ll | local exec pic | declaration | internal | default | X | local dynamic The ones marked with an X have not been implemented since local dynamic is not implemented. llvm-svn: 65632 | ||||
| * | document ilist_traits | Gabor Greif | 2009-02-27 | 1 | -0/+15 |
| | | | | | llvm-svn: 65631 | ||||
| * | Expand a bit on iplist. If you are more expert on this class, please review! | Gabor Greif | 2009-02-27 | 1 | -8/+20 |
| | | | | | llvm-svn: 65630 | ||||

