aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* expose TypePrinting as a public API.Chris Lattner2009-02-282-23/+42
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65729 91177308-0d34-0410-b5e6-96231b3b80d8
* one less space, fixes failure with rebuilt llvm-gcc.Chris Lattner2009-02-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65728 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix grammaro.Bill Wendling2009-02-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65727 91177308-0d34-0410-b5e6-96231b3b80d8
* rename 'Result' to 'OS' in CalcTypeName for consistencyChris Lattner2009-02-281-37/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65724 91177308-0d34-0410-b5e6-96231b3b80d8
* do not embed the raw_ostream into TypePrinting, pass it as an argument to ↵Chris Lattner2009-02-281-52/+43
| | | | | | print etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65723 91177308-0d34-0410-b5e6-96231b3b80d8
* stop calling Type::getDescription().Chris Lattner2009-02-281-12/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65722 91177308-0d34-0410-b5e6-96231b3b80d8
* simplificationsChris Lattner2009-02-281-6/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65721 91177308-0d34-0410-b5e6-96231b3b80d8
* Change WriteTypeSymbolic to not put a space out before types, also, removeChris Lattner2009-02-284-27/+20
| | | | | | | the old std::ostream version. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65720 91177308-0d34-0410-b5e6-96231b3b80d8
* make CalcTypeName take a stream instead of a string to concat onto,Chris Lattner2009-02-281-55/+49
| | | | | | | eliminate redundant opaque handling code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65716 91177308-0d34-0410-b5e6-96231b3b80d8
* remove a bunch of nearly-duplicated code.Chris Lattner2009-02-281-63/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65715 91177308-0d34-0410-b5e6-96231b3b80d8
* fix indentation, remove dead integer case.Chris Lattner2009-02-281-64/+59
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65714 91177308-0d34-0410-b5e6-96231b3b80d8
* pull calcTypeName into TypePrinting class, make its type stackChris Lattner2009-02-281-12/+16
| | | | | | | be a smallvector instead of vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65713 91177308-0d34-0410-b5e6-96231b3b80d8
* inline method into its only use and simplify the result.Chris Lattner2009-02-281-11/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65712 91177308-0d34-0410-b5e6-96231b3b80d8
* simplify conditionChris Lattner2009-02-281-7/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65711 91177308-0d34-0410-b5e6-96231b3b80d8
* start refactoring the .ll printer: introduce a new TypePrinting classChris Lattner2009-02-281-310/+302
| | | | | | | and move all related stuff to it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65710 91177308-0d34-0410-b5e6-96231b3b80d8
* add a stub for Roadsend PHPChris Lattner2009-02-281-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65705 91177308-0d34-0410-b5e6-96231b3b80d8
* don't use the word 'aggregate' with constants, it is confusing.Chris Lattner2009-02-281-5/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65702 91177308-0d34-0410-b5e6-96231b3b80d8
* don't redescribe bitcast constraints in two places. It is not valid to Chris Lattner2009-02-281-9/+3
| | | | | | | bitcast from one aggregate to another. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65700 91177308-0d34-0410-b5e6-96231b3b80d8
* reject 0 element vectors with:Chris Lattner2009-02-281-0/+2
| | | | | | | | | | @a = internal constant void bitcast(<0 x i8> <> to void) ^ Fixes PR3685 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65698 91177308-0d34-0410-b5e6-96231b3b80d8
* Update this text for first-class aggregates.Nick Lewycky2009-02-281-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65697 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo. Found by William Moss.Bill Wendling2009-02-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65693 91177308-0d34-0410-b5e6-96231b3b80d8
* There is a way to specify targets that should succeed. It's the "XTARGET"Bill Wendling2009-02-281-2/+2
| | | | | | | keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65692 91177308-0d34-0410-b5e6-96231b3b80d8
* make traits more flexible by splitting out node-related fragmentGabor Greif2009-02-281-6/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65690 91177308-0d34-0410-b5e6-96231b3b80d8
* Last commit accidentially deleted this code.Evan Cheng2009-02-282-0/+233
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65679 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid unused parameter warning.Evan Cheng2009-02-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65670 91177308-0d34-0410-b5e6-96231b3b80d8
* Unable to say "TARGET: *-*-darwin*"; falling back to "XFAIL: ↵Stuart Hastings2009-02-281-1/+1
| | | | | | linux,ia64,alpha,sparc". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65667 91177308-0d34-0410-b5e6-96231b3b80d8
* Added another darwin subtargetMon P Wang2009-02-281-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65662 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase to insure C strings go to the cstringStuart Hastings2009-02-271-0/+11
| | | | | | | section. Darwin-specific. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65655 91177308-0d34-0410-b5e6-96231b3b80d8
* It is possible that subprgoram definition is only encoding return value ↵Devang Patel2009-02-271-2/+6
| | | | | | directly, instsad of an DIArray of all argument types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65643 91177308-0d34-0410-b5e6-96231b3b80d8
* group friendshipGabor Greif2009-02-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65633 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor TLS code and add some tests. The tests and expected results are:Rafael Espindola2009-02-2718-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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65632 91177308-0d34-0410-b5e6-96231b3b80d8
* document ilist_traitsGabor Greif2009-02-271-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65631 91177308-0d34-0410-b5e6-96231b3b80d8
* Expand a bit on iplist. If you are more expert on this class, please review!Gabor Greif2009-02-271-8/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65630 91177308-0d34-0410-b5e6-96231b3b80d8
* update ilist documentation and add some blurb on ilist_nodeGabor Greif2009-02-271-2/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65629 91177308-0d34-0410-b5e6-96231b3b80d8
* update yearGabor Greif2009-02-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65628 91177308-0d34-0410-b5e6-96231b3b80d8
* fix commentsGabor Greif2009-02-271-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65627 91177308-0d34-0410-b5e6-96231b3b80d8
* Introduce a new technique for merging BasicBlock with Instruction sentinel ↵Gabor Greif2009-02-273-37/+12
| | | | | | | | | by superposition. This looks dangerous, but isn't because the sentinel is accessed in special way only, namely the Next and Prev fields of it, and these are guaranteed to exist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65626 91177308-0d34-0410-b5e6-96231b3b80d8
* Update release notes for static analyzer.Ted Kremenek2009-02-271-22/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65624 91177308-0d34-0410-b5e6-96231b3b80d8
* 'append_cmd' should split its argument.Mikhail Glushenkov2009-02-271-1/+6
| | | | | | Makes '(append_cmd "-foo a b c")' work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65623 91177308-0d34-0410-b5e6-96231b3b80d8
* Silence compiler warning about use of uninitialized variables (in reality theseNick Lewycky2009-02-271-1/+1
| | | | | | | are always set by reference on the path that uses them.) No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65621 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compiler warning about uninitialized variables. No functional change.Nick Lewycky2009-02-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65620 91177308-0d34-0410-b5e6-96231b3b80d8
* Alignment values for i64 and f64 on ppc64 were wrong,Dale Johannesen2009-02-271-1/+3
| | | | | | | | | | possibly for the reason suggested by the comment. No wonder it didn't work very well. This unblocks bootstrap with assertions on ppc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65601 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure this test passes on linux-ppc.Evan Cheng2009-02-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65600 91177308-0d34-0410-b5e6-96231b3b80d8
* Update another test for the LoopInfo::print changes.Dan Gohman2009-02-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65598 91177308-0d34-0410-b5e6-96231b3b80d8
* Update this test for the LoopInfo::print changes.Dan Gohman2009-02-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65597 91177308-0d34-0410-b5e6-96231b3b80d8
* Make LoopInfo::print() identify header, exit, and latch blocks,Dan Gohman2009-02-271-2/+7
| | | | | | | and print the loop depth. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65593 91177308-0d34-0410-b5e6-96231b3b80d8
* MachineLICM CSE should match destination register classes; avoid hoisting ↵Evan Cheng2009-02-272-3/+60
| | | | | | implicit_def's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65592 91177308-0d34-0410-b5e6-96231b3b80d8
* drop some un-edited text for pure and ldc in here.Chris Lattner2009-02-261-4/+65
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65579 91177308-0d34-0410-b5e6-96231b3b80d8
* remove deleteNode definition, it is inherited in an identical fashionGabor Greif2009-02-261-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65565 91177308-0d34-0410-b5e6-96231b3b80d8
* make sure that make fully evaluates variables when determining how compile_c andChris Lattner2009-02-261-3/+3
| | | | | | | | friends should work. This fixes 2006-11-30-Pubnames.cpp and friends on darwin with the new -mmacosx-version-min change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65564 91177308-0d34-0410-b5e6-96231b3b80d8