aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Substantial release notes updatesChris Lattner2003-11-041-6/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9700 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for PR80Chris Lattner2003-11-041-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9699 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-11-041-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9698 91177308-0d34-0410-b5e6-96231b3b80d8
* Add comments.Brian Gaeke2003-11-042-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9697 91177308-0d34-0410-b5e6-96231b3b80d8
* While working on the pool allocator, I noticed that basicaa is failing a scaryChris Lattner2003-11-042-0/+30
| | | | | | | | number of simple cases. Someday when I get a chance to work on it again, this testcase should be corrected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9695 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix problems in previous changes. This fixes several regressions last night.Chris Lattner2003-11-042-10/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9694 91177308-0d34-0410-b5e6-96231b3b80d8
* Checking in Chris's suggestions:John Criswell2003-11-043-9/+96
| | | | | | | | | | | Added assert() to ensure symbol table is well formed. Added code to remember the value that was found; resolving types can change the symbol table and invalidate the value of the iterator. Added comments to the ResolveTypes() function (mainly for my own benefit). Please feel free to correct the comments if they are not accurate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9693 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for PR84Chris Lattner2003-11-031-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9690 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified build rules so that a messages appears before and after linking.John Criswell2003-11-031-10/+20
| | | | | | | | | This helps to disambiguate when linking begins and when the library/program is linked and ready to be used. This is sort of as preference thing, so feel free to modify/revert the change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9687 91177308-0d34-0410-b5e6-96231b3b80d8
* Significantly simplify constant emission by unifying the stuff which used to ↵Chris Lattner2003-11-032-294/+238
| | | | | | | | | | build up strings with the stuff that used to print to an ostream directly. We now NEVER build up big strings, only to print them once they are formed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9686 91177308-0d34-0410-b5e6-96231b3b80d8
* updates to release notesChris Lattner2003-11-031-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9685 91177308-0d34-0410-b5e6-96231b3b80d8
* Incorporate printSingleConstantValue into its single callerChris Lattner2003-11-032-178/+132
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9684 91177308-0d34-0410-b5e6-96231b3b80d8
* * Reformat some codeChris Lattner2003-11-032-84/+68
| | | | | | | | * Emit bools as 1/0 instead of true/false, fixing compilation of eon and PR 83 & Jello/2003-11-03-GlobalBool.llx git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9683 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-11-031-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9682 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix InstCombine/2003-11-03-VarargsCallBug.llChris Lattner2003-11-031-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9681 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for a bug in instcombineChris Lattner2003-11-031-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9680 91177308-0d34-0410-b5e6-96231b3b80d8
* Work around a bug in GCC where it can't handle common variables marked weak.Chris Lattner2003-11-032-2/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9679 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bugs with attribute weak emissionChris Lattner2003-11-032-6/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9678 91177308-0d34-0410-b5e6-96231b3b80d8
* If linking a library, do not link other libraries, like libc, into it!Chris Lattner2003-11-031-1/+4
| | | | | | | This fixes lots of annoying warnings and error messages git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9677 91177308-0d34-0410-b5e6-96231b3b80d8
* Closed the h2 header for the LLVM Test Suite Organization section.John Criswell2003-11-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9676 91177308-0d34-0410-b5e6-96231b3b80d8
* More testcasesChris Lattner2003-11-031-0/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9675 91177308-0d34-0410-b5e6-96231b3b80d8
* Move a test from cast-set to a new bit-tracking.ll file. Update file commentsChris Lattner2003-11-032-14/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9674 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement InstCombine/cast-set.ll:test6[a]. This improves code generated forChris Lattner2003-11-031-6/+57
| | | | | | | a hot function in em3d git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9673 91177308-0d34-0410-b5e6-96231b3b80d8
* Add another case, which an implementation of test6 must be sure to handleChris Lattner2003-11-031-0/+6
| | | | | | | correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9672 91177308-0d34-0410-b5e6-96231b3b80d8
* This simplifies the CWriter code, makes the generated code easier to read,Chris Lattner2003-11-032-22/+4
| | | | | | | and makes the output work with the intel compiler. Overall, a win. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9671 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement InstCombine/cast-set.ll: test1, test2, test7Chris Lattner2003-11-031-15/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9670 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the testcase from PR8Chris Lattner2003-11-031-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9669 91177308-0d34-0410-b5e6-96231b3b80d8
* Add another case, which occurs in em3dChris Lattner2003-11-031-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9668 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug with zero sized castsChris Lattner2003-11-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9667 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate the silly namedContext member of printTypeChris Lattner2003-11-032-16/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9666 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow CallSites to be used as the key of a mapChris Lattner2003-11-021-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9660 91177308-0d34-0410-b5e6-96231b3b80d8
* All DSGraphs keep a reference to the targetdata they are created with. This isChris Lattner2003-11-0211-32/+77
| | | | | | | | | used to eliminate the hard coded, hacked in, sparc specific, global TargetData. Changing the TargetData used to actually match the code fixes problems, and eliminates a crash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9659 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.llChris Lattner2003-11-021-6/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9658 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for DSA which is improperly collapsed!Chris Lattner2003-11-021-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9657 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug in previous checkinChris Lattner2003-11-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9656 91177308-0d34-0410-b5e6-96231b3b80d8
* The 'thefunc' function should not have weak linkage, it should have linkonce ↵Chris Lattner2003-11-021-0/+12
| | | | | | linkage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9655 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement transmogriphication of allocation instructionsChris Lattner2003-11-021-2/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9654 91177308-0d34-0410-b5e6-96231b3b80d8
* Add test for instcombine transmogrifying allocation instructionsChris Lattner2003-11-021-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9653 91177308-0d34-0410-b5e6-96231b3b80d8
* Add note about profile.shChris Lattner2003-11-021-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9652 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -help optionChris Lattner2003-11-021-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9651 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugz fixedChris Lattner2003-11-021-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9650 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin an initial version of the llvm-prof documentationChris Lattner2003-11-022-10/+57
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9649 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR78Chris Lattner2003-11-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9648 91177308-0d34-0410-b5e6-96231b3b80d8