aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Make AutoGenerated.inc depend also on Tools.td and Common.tdMikhail Glushenkov2008-05-061-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50745 91177308-0d34-0410-b5e6-96231b3b80d8
* Utilize topological sort in CompilationGraph::Build().Mikhail Glushenkov2008-05-063-9/+44
| | | | | | | | This makes more interesting graph topologies possible. Currently all tests pass, but more testing is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50744 91177308-0d34-0410-b5e6-96231b3b80d8
* Add TopologicalSort method to CompilationGraph.Mikhail Glushenkov2008-05-064-38/+78
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50743 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not require positional arguments when we're only printing out the graph.Mikhail Glushenkov2008-05-061-3/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50742 91177308-0d34-0410-b5e6-96231b3b80d8
* Make ChooseEdge more generic and use it to choose between different toolchains.Mikhail Glushenkov2008-05-062-38/+56
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50741 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unnecessary argument from PassThroughGraphMikhail Glushenkov2008-05-062-5/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50740 91177308-0d34-0410-b5e6-96231b3b80d8
* Add inward edge counters to Nodes; Associate JoinLists with JoinTools.Mikhail Glushenkov2008-05-063-38/+58
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50738 91177308-0d34-0410-b5e6-96231b3b80d8
* Enhancements for --view-graphMikhail Glushenkov2008-05-061-7/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50737 91177308-0d34-0410-b5e6-96231b3b80d8
* Split the Build function into two parts.Mikhail Glushenkov2008-05-062-43/+65
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50736 91177308-0d34-0410-b5e6-96231b3b80d8
* Make llvmc return 1 when the compilation fails.Mikhail Glushenkov2008-05-061-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50735 91177308-0d34-0410-b5e6-96231b3b80d8
* Return const char* instead of std::string in Tool classesMikhail Glushenkov2008-05-061-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50733 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an ability to choose between different edges based on edge properties.Mikhail Glushenkov2008-05-064-14/+42
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50732 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new edge properties: parameter_equals, element_in_list, and.Mikhail Glushenkov2008-05-063-6/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50730 91177308-0d34-0410-b5e6-96231b3b80d8
* Implemented switch_on edge property.Mikhail Glushenkov2008-05-061-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50729 91177308-0d34-0410-b5e6-96231b3b80d8
* Cosmetic change: if( -> if (Mikhail Glushenkov2008-05-061-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50728 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove ExampleWithOpt.td: this file was merged with Example.td.Mikhail Glushenkov2008-05-061-30/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50727 91177308-0d34-0410-b5e6-96231b3b80d8
* More work on edge properties. Use Edge classes instead of strings in ↵Mikhail Glushenkov2008-05-065-40/+37
| | | | | | CompilationGraph. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50726 91177308-0d34-0410-b5e6-96231b3b80d8
* Ongoing work: add an edge typechecker, rudimentary support for edge properties.Mikhail Glushenkov2008-05-064-77/+133
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50725 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert internal representation to use DAG. This gives us more flexibility ↵Mikhail Glushenkov2008-05-066-53/+366
| | | | | | and enables future improvements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50724 91177308-0d34-0410-b5e6-96231b3b80d8
* Small const-correctness fixMikhail Glushenkov2008-05-062-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50723 91177308-0d34-0410-b5e6-96231b3b80d8
* Code reorgMikhail Glushenkov2008-05-0612-155/+188
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50722 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable dead loop elimination.Owen Anderson2008-05-051-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50682 91177308-0d34-0410-b5e6-96231b3b80d8
* Drop llvmc also, it will be replaced by shiny new llvmc2Anton Korobeynikov2008-05-0415-5956/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50615 91177308-0d34-0410-b5e6-96231b3b80d8
* Drop llvm2cpp, it's now a llc targetAnton Korobeynikov2008-05-044-2123/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50614 91177308-0d34-0410-b5e6-96231b3b80d8
* move libcalls to the same place llvm-gcc has it.Chris Lattner2008-05-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50593 91177308-0d34-0410-b5e6-96231b3b80d8
* Add possibility of using arbitrary to to execute stuff from bugpoint.Anton Korobeynikov2008-04-283-2/+122
| | | | | | | Patch by Pekka Jääskeläinen! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50373 91177308-0d34-0410-b5e6-96231b3b80d8
* several multiple-retval fixes for bugpoint.Chris Lattner2008-04-282-11/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50331 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove 'unwinds to' support from mainline. This patch undoes r47802 r47989Nick Lewycky2008-04-251-1/+0
| | | | | | | r48047 r48084 r48085 r48086 r48088 r48096 r48099 r48109 and r48123. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50265 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable building of llvm2cpp. The directory will be removed before 2.3 release.Anton Korobeynikov2008-04-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50193 91177308-0d34-0410-b5e6-96231b3b80d8
* First step of implementing PR1538: move llvm2cpp logic to new 'target'Anton Korobeynikov2008-04-231-3/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50189 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the Create static method for some of these objects. They no longerBill Wendling2008-04-231-13/+13
| | | | | | | have public constructors. This should fix PR2246. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50145 91177308-0d34-0410-b5e6-96231b3b80d8
* Move MemCpyOpt after GVN.Owen Anderson2008-04-223-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50097 91177308-0d34-0410-b5e6-96231b3b80d8
* Added command line option -no-lazy to disable JIT lazy compilation.Evan Cheng2008-04-221-8/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50095 91177308-0d34-0410-b5e6-96231b3b80d8
* Add MemCpyOpt to LTO.Owen Anderson2008-04-222-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50081 91177308-0d34-0410-b5e6-96231b3b80d8
* fix some residual old API that fell thru the cracks of the conversion ↵Gabor Greif2008-04-211-1/+1
| | | | | | script, closes http://llvm.org/bugs/show_bug.cgi?id=2246 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50062 91177308-0d34-0410-b5e6-96231b3b80d8
* Use GVN in LTO instead of GCSE+LoadVN.Owen Anderson2008-04-212-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50036 91177308-0d34-0410-b5e6-96231b3b80d8
* Add jump threading to liblto.Chris Lattner2008-04-211-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50028 91177308-0d34-0410-b5e6-96231b3b80d8
* run the jump threading pass in llvm-ld alsoChris Lattner2008-04-211-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50027 91177308-0d34-0410-b5e6-96231b3b80d8
* enable jump threading pass by default. This causes no miscompilations Chris Lattner2008-04-211-0/+1
| | | | | | | and can significantly shrinkify some code, particularly from C++ land. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50025 91177308-0d34-0410-b5e6-96231b3b80d8
* Run SimplifyLibCalls near the beginning, not atDuncan Sands2008-04-171-1/+2
| | | | | | | | | | | | the end. It is now run at the same moment as in llvm-gcc. Also, run StripDeadPrototypes at the end, just before running DeadTypeElimination. This may be useful when doing LTO. Note that llvm-gcc runs StripDeadPrototypes but not DeadTypeElimination. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49848 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a memory leak in llc.Dan Gohman2008-04-161-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49793 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r49614. As Dan pointed out, some of these aren't correct.Owen Anderson2008-04-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49657 91177308-0d34-0410-b5e6-96231b3b80d8
* Replace calls of the form V1->setName(V2->getName()) with V1->takeName(V2), Owen Anderson2008-04-131-1/+1
| | | | | | | which is significantly more efficient. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49614 91177308-0d34-0410-b5e6-96231b3b80d8
* Move memcpy / memset optimization pass after GVN.Evan Cheng2008-04-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49457 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor a bunch of functionality related to memcpy and memset transforms out of Owen Anderson2008-04-092-0/+2
| | | | | | | GVN and into its own pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49419 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove llvm-upgrade.Tanya Lattner2008-04-0710-19786/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49347 91177308-0d34-0410-b5e6-96231b3b80d8
* Use Intrinsic::getDeclaration in more places.Duncan Sands2008-04-071-10/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49338 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove tabs. Patch by Mike Stump!Bill Wendling2008-04-071-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49317 91177308-0d34-0410-b5e6-96231b3b80d8
* API changes for class Use size reduction, wave 1.Gabor Greif2008-04-062-30/+30
| | | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49277 91177308-0d34-0410-b5e6-96231b3b80d8
* -fPIC is required on x86-64 when building shared objects.Torok Edwin2008-04-062-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49274 91177308-0d34-0410-b5e6-96231b3b80d8