summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAge
* Add a couple more IPO'sChris Lattner2004-04-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12863 91177308-0d34-0410-b5e6-96231b3b80d8
* finegrainify namespacificationChris Lattner2004-04-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12862 91177308-0d34-0410-b5e6-96231b3b80d8
* Disambiguate symbols after loop extraction so that we can diagnose a codeChris Lattner2004-04-11
| | | | | | | generator bug if multiple loops are extracted from a function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12847 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an obvious bug in the refactoring I did a few days agoChris Lattner2004-04-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12797 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable strict alias analysis in the backend c compiler, as the code weChris Lattner2004-04-08
| | | | | | | generate is not TBAA safe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12774 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert previous patch, I'm a moron :)Chris Lattner2004-04-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12773 91177308-0d34-0410-b5e6-96231b3b80d8
* Right, we break strict aliasing requirements. Make sure to disable strictChris Lattner2004-04-08
| | | | | | | aliasing in the C compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12772 91177308-0d34-0410-b5e6-96231b3b80d8
* Wrap at 80 cols.Misha Brukman2004-04-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12701 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanupsChris Lattner2004-04-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12700 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new gccld -native-cbe option which causes gccld to generate native codeChris Lattner2004-04-06
| | | | | | | for the application with the C backend instead of the native LLVM code generator git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12698 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge the code generator miscompilation code into the optimizer miscompilationChris Lattner2004-04-05
| | | | | | | | code. This "instantly" gives us loop-extractor power to assist with the debugment of our nasty codegen issues. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12678 91177308-0d34-0410-b5e6-96231b3b80d8
* Make a method publicChris Lattner2004-04-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12677 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanups, remove some old debug codeChris Lattner2004-04-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12676 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor and genericize codeChris Lattner2004-04-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12675 91177308-0d34-0410-b5e6-96231b3b80d8
* lli no longer takes the -quiet option!Chris Lattner2004-04-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12674 91177308-0d34-0410-b5e6-96231b3b80d8
* Make full use of the Mangler interface to simplify codeChris Lattner2004-04-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12671 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor changeChris Lattner2004-04-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12655 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove obsolete analysesChris Lattner2004-04-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12634 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak libraries for scev changesChris Lattner2004-04-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12625 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor speedupChris Lattner2004-04-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12612 91177308-0d34-0410-b5e6-96231b3b80d8
* minor formatting changeChris Lattner2004-04-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12606 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix two pretty serious bugs:Chris Lattner2004-04-02
| | | | | | | | | | | | | 1. Each time the loop extractor extracted a loop, we would leak a module. 2. When we extracted a loop, we didn't add the new function to the list of miscompiled functions. Thus if the bug was in a loop nest and we extracted it, we could actually *LOSE THE BUG*, which is very bad. With these patches, bugpoint has successfully found a bug for me in a function with several nested loops, and cut it down to just one of them. :) :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12605 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a fairly nasty bug that prevented bugpoint from working quite right whenChris Lattner2004-04-02
| | | | | | | hacking on programs with two functions that have the same name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12604 91177308-0d34-0410-b5e6-96231b3b80d8
* If the program returns a non-zero exit value, don't leave files layingChris Lattner2004-04-02
| | | | | | | around git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12603 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix wonky headerChris Lattner2004-04-02
| | | | | | | Address PR305: LLVM tools will happily spew bytecode onto your terminal git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12602 91177308-0d34-0410-b5e6-96231b3b80d8
* When loop extraction succeeds, make sure to map the function pointers overChris Lattner2004-03-17
| | | | | | | to avoid dangling references. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12470 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an inverted condition that causes us to think that loop extractionChris Lattner2004-03-17
| | | | | | | accomplished something when it really did not. This does not fix the bigger problem tho. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12469 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an iterator invalidation problem in a "buggy" passChris Lattner2004-03-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12468 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a better head-of-file comment.Brian Gaeke2004-03-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12447 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix thinko, and PR292Chris Lattner2004-03-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12426 91177308-0d34-0410-b5e6-96231b3b80d8
* After reducing a miscompiled program down to the functions which are beingChris Lattner2004-03-14
| | | | | | | | | | miscompiled, try to use the loop extractor to reduce the program down to a loop nest that is being miscompiled. In practice, the loop extractor appears to have too many bugs for this to be useful, but hopefully they will be fixed soon... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12398 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a minor bug in runPassesOnChris Lattner2004-03-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12397 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new "AutoDebugCrashes" optionChris Lattner2004-03-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12396 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor to use a new methodChris Lattner2004-03-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12395 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new methodChris Lattner2004-03-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12394 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor and clean up a bunch more code. No major functionality changes.Chris Lattner2004-03-14
| | | | | | | | | | | | | | | * Make several methods of bugdriver global functions (ParseInputFile, PrintFunctionList) * Make PrintFunctionList truncate the output after 10 entries, like the crash debugger did. This allows code sharing. * Add a couple of methods to BugDriver that allows us to eliminate some friends * Improve comments in ExtractFunction.cpp * Make classes that used to be friends up bugdriver now live in anon namespaces * Rip a bunch of functionality in the miscompilation tester into a new TestMergedProgram function for future code sharing. * Fix a bug in the miscompilation tester induced in my last checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12393 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a method to extract a loopChris Lattner2004-03-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12391 91177308-0d34-0410-b5e6-96231b3b80d8
* add a fixmeChris Lattner2004-03-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12388 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor all of the "splitting a module into two pieces" code to avoidChris Lattner2004-03-14
| | | | | | | | code duplication. Also, don't use ReduceMiscompilingFunctions::TestFuncs to print out the final message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12387 91177308-0d34-0410-b5e6-96231b3b80d8
* Turn on argument promotion in gccas. This can give us substantially betterChris Lattner2004-03-13
| | | | | | | code in cases where the file has lots of static functions or anon namespaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12361 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the "infinite looping unless you disable adce" bugChris Lattner2004-03-13
| | | | | | | Also remove an option to disable adce :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12359 91177308-0d34-0410-b5e6-96231b3b80d8
* Revise comment and error message for the Bug 38 situation. Also, make itBrian Gaeke2004-03-12
| | | | | | | print out the name of the function being used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12347 91177308-0d34-0410-b5e6-96231b3b80d8
* SparcV8 removed until it grows up becomes a mature backend.Misha Brukman2004-03-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12288 91177308-0d34-0410-b5e6-96231b3b80d8
* Annotate functions with edge counts as well, if they are available.Chris Lattner2004-03-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12233 91177308-0d34-0410-b5e6-96231b3b80d8
* Run the new pass in gccld now that it passes all testsChris Lattner2004-03-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12196 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a hook to run with the V8 target, though it doesn't currently work. AlsoChris Lattner2004-02-28
| | | | | | | mark the PPC backend as experimental git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11962 91177308-0d34-0410-b5e6-96231b3b80d8
* We have this snazzy link-time optimizer. How about we start using it? ThisChris Lattner2004-02-26
| | | | | | | | removes some cruft from 255.vortex, cleaning up after DAE and IPCP, which do horrible, beautiful, things to vortex. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11861 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new pass, run internalize firstChris Lattner2004-02-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11839 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new passChris Lattner2004-02-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11838 91177308-0d34-0410-b5e6-96231b3b80d8
* Great renaming part II: Sparc --> SparcV9 (also includes command-line ↵Brian Gaeke2004-02-25
| | | | | | options and Makefiles) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11827 91177308-0d34-0410-b5e6-96231b3b80d8