aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * Make the comment header 80 columns longMisha Brukman2003-11-061-3/+3
| | | | | | | * Alphabetize #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9751 91177308-0d34-0410-b5e6-96231b3b80d8
* Let's not forget about our friends -- Constant Pool indices.Misha Brukman2003-11-062-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9750 91177308-0d34-0410-b5e6-96231b3b80d8
* Give this header file an Emacs mode-line.Brian Gaeke2003-11-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9749 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not assume the first file is a bytecode file. Instead, construct a dummyBrian Gaeke2003-11-051-5/+3
| | | | | | | | | Module and link things into that. Also, fix a typo in an error message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9748 91177308-0d34-0410-b5e6-96231b3b80d8
* Shorten and correct some function-header comments.Brian Gaeke2003-11-052-106/+56
| | | | | | | | | | | | | | | Make "verbose" output MUCH nicer. Now it tells you when you are linking a bytecode file, or an archive, and whether it's because you called it by name, or because you gave it a -l option, and it says "Trying" before it takes action and prints a message in the past tense afterwards. Make LinkFiles not skip the first file in Files. Make LinkFiles warn you if it can't find a file and LLVM_LIB_SEARCH_PATH is unset. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9747 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2003-11-051-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9746 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the problem with running cleanups in bugpoint: We were deleting argumentsChris Lattner2003-11-051-1/+4
| | | | | | | of intrinsic functions, causing the verifier to fail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9745 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugpoint no longer has this optionChris Lattner2003-11-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9744 91177308-0d34-0410-b5e6-96231b3b80d8
* I hate it when bugpoint is all ready to give me a bytecode file, then crashesChris Lattner2003-11-054-25/+35
| | | | | | | | | | | | in final cleanups. Then you had to run the whole mess again with -disable-final-cleanups. This makes bugpoint run the cleanups in a protected environment so that if they crash, bugpoint itself doesn't crash. This makes things much happier, implements a FIXME, and gets rid of YABPO (yet another bugpoint option). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9743 91177308-0d34-0410-b5e6-96231b3b80d8
* Split the DAE pass into DAE and DAH passesChris Lattner2003-11-051-5/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9742 91177308-0d34-0410-b5e6-96231b3b80d8
* Split behavior into two piecesChris Lattner2003-11-051-13/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9741 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify the performFinalCleanups interfaceChris Lattner2003-11-054-13/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9740 91177308-0d34-0410-b5e6-96231b3b80d8
* Yet more fixes for constant expr shiftsChris Lattner2003-11-051-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9739 91177308-0d34-0410-b5e6-96231b3b80d8
* Further fixes for PR93Chris Lattner2003-11-053-3/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9738 91177308-0d34-0410-b5e6-96231b3b80d8
* A few handy methods that seem to mesh well with what CallSite already provides.Brian Gaeke2003-11-051-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9737 91177308-0d34-0410-b5e6-96231b3b80d8
* no need for endlChris Lattner2003-11-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9736 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for constant expr shiftsChris Lattner2003-11-052-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9735 91177308-0d34-0410-b5e6-96231b3b80d8
* Since this function returns an int, let's actually return something.Misha Brukman2003-11-051-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9734 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-11-051-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9733 91177308-0d34-0410-b5e6-96231b3b80d8
* If we're not checking, don't check!Chris Lattner2003-11-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9732 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix flawed logic that was breaking several SPEC benchmarks, including gzip ↵Chris Lattner2003-11-051-3/+3
| | | | | | and crafty. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9731 91177308-0d34-0410-b5e6-96231b3b80d8
* We know exactly what the value of $< is, so instead of using `basename $<` toMisha Brukman2003-11-051-8/+7
| | | | | | | get just the filename and not the full path, just use the filename directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9730 91177308-0d34-0410-b5e6-96231b3b80d8
* Output only the .y filename, not the full path to it for ease of reading.Misha Brukman2003-11-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9729 91177308-0d34-0410-b5e6-96231b3b80d8
* Add three more bugsChris Lattner2003-11-051-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9728 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not use a class before it is defined.Chris Lattner2003-11-052-12/+18
| | | | | | | Be gcc 3.4 clean git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9727 91177308-0d34-0410-b5e6-96231b3b80d8
* Be friendly to gcc 3.4... good compiler. Nice compiler.Chris Lattner2003-11-053-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9726 91177308-0d34-0410-b5e6-96231b3b80d8
* Be gcc 3.4 cleanChris Lattner2003-11-051-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9725 91177308-0d34-0410-b5e6-96231b3b80d8
* Make -r work, fixing PR 91Chris Lattner2003-11-051-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9724 91177308-0d34-0410-b5e6-96231b3b80d8
* Add std::pair tier. This is a much simplified version of boost::tieAlkis Evlogimenos2003-11-052-0/+96
| | | | | | | that works only for std::pair. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9723 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix name collisionChris Lattner2003-11-052-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9722 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a dtor to ensure that they are called the right number of times.Chris Lattner2003-11-051-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9721 91177308-0d34-0410-b5e6-96231b3b80d8
* NEw testcaseChris Lattner2003-11-051-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9720 91177308-0d34-0410-b5e6-96231b3b80d8
* Make code gcc 3.4 cleanChris Lattner2003-11-054-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9719 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-11-051-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9718 91177308-0d34-0410-b5e6-96231b3b80d8
* This works with GCC 3.4 alsoChris Lattner2003-11-051-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9717 91177308-0d34-0410-b5e6-96231b3b80d8
* Abort when the user program calls abort, instead of printing a funny message ↵Brian Gaeke2003-11-051-4/+2
| | | | | | and calling exit(1). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9716 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug with previous implementation:Chris Lattner2003-11-051-4/+11
| | | | | | | | | | - // ~(c-X) == X-(c-1) == X+(-c+1) + // ~(c-X) == X-c-1 == X+(-c-1) Implement: C - ~X == X + (1+C) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9715 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for the other sideChris Lattner2003-11-051-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9714 91177308-0d34-0410-b5e6-96231b3b80d8
* Use regular old malloc to emulate malloc/alloca instructions.Brian Gaeke2003-11-051-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9713 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a comment which no longer applies.Brian Gaeke2003-11-051-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9712 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanup, plus implement InstCombine/xor.ll:test17Chris Lattner2003-11-041-3/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9711 91177308-0d34-0410-b5e6-96231b3b80d8
* Since we're in the neighborhood, test for the inverseChris Lattner2003-11-041-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9710 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spelloChris Lattner2003-11-043-3/+15
| | | | | | | Add negate overload git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9709 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement InstCombine/xor.ll:test(15|16)Chris Lattner2003-11-041-1/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9708 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a generalization of the previous caseChris Lattner2003-11-041-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9707 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for masking operation that frequently occurs in the pool allocatorChris Lattner2003-11-041-0/+6
| | | | | | | for converting a number that is a power of two into a mask git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9706 91177308-0d34-0410-b5e6-96231b3b80d8
* Update documentation since it was misleading: make it clear that aAlkis Evlogimenos2003-11-041-10/+12
| | | | | | | | negative instruction count is returned if instructions are removed from a basic block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9705 91177308-0d34-0410-b5e6-96231b3b80d8
* Change all machine basic block modifier functions in MRegisterInfo toAlkis Evlogimenos2003-11-043-64/+99
| | | | | | | | | | | | | | | | return the number of instructions added to/removed from the basic block passed as their first argument. Note: This is only needed because we use a std::vector instead of an ilist to keep MachineBasicBlock instructions. Inserting an instruction to a MachineBasicBlock invalidates all iterators to the basic block. The return value can be used to update an index to the machine basic block instruction vector and circumvent the iterator elimination problem but this is really not needed if we move to a better representation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9704 91177308-0d34-0410-b5e6-96231b3b80d8
* Update verifySavedState()'s comment, so that it reflects its currentBrian Gaeke2003-11-042-2/+6
| | | | | | | | status. In doFinalization(), skip over external functions, just like Anand's mapping info does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9703 91177308-0d34-0410-b5e6-96231b3b80d8
* New file, for use by the pool allocator projectChris Lattner2003-11-042-0/+136
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9702 91177308-0d34-0410-b5e6-96231b3b80d8