| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | 
|  | 2 | "http://www.w3.org/TR/html4/strict.dtd"> | 
|  | 3 | <html> | 
|  | 4 | <head> | 
|  | 5 | <title>Open LLVM Projects</title> | 
|  | 6 | <link rel="stylesheet" href="llvm.css" type="text/css"> | 
|  | 7 | </head> | 
|  | 8 | <body> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 9 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 10 | <div class="doc_title"> | 
|  | 11 | Open LLVM Projects | 
|  | 12 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 13 |  | 
|  | 14 | <ul> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 15 | <li><a href="#what">What is this?</a></li> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 16 | <li><a href="#improving">Improving the current system</a> | 
|  | 17 | <ol> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 18 | <li><a href="#glibc">Port glibc to LLVM</a></li> | 
|  | 19 | <li><a href="#NightlyTest">Improving the Nightly Tester</a></li> | 
|  | 20 | <li><a href="#programs">Compile programs with the LLVM Compiler</a></li> | 
|  | 21 | <li><a href="#llvm_ir">Extend the LLVM intermediate representation</a></li> | 
|  | 22 | <li><a href="#misc_imp">Miscellaneous Improvements</a></li> | 
|  | 23 | </ol></li> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 24 |  | 
|  | 25 | <li><a href="#new">Adding new capabilities to LLVM</a> | 
|  | 26 | <ol> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 27 | <li><a href="#pointeranalysis">Pointer and Alias Analysis</a></li> | 
|  | 28 | <li><a href="#profileguided">Profile Guided Optimization</a></li> | 
|  | 29 | <li><a href="#xforms">New Transformations and Analyses</a></li> | 
|  | 30 | <li><a href="#x86be">X86 Back-end Improvements</a></li> | 
|  | 31 | <li><a href="#misc_new">Miscellaneous Additions</a></li> | 
|  | 32 | </ol></li> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 33 | </ul> | 
|  | 34 |  | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 35 | <!-- *********************************************************************** --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 36 | <div class="doc_section"> | 
|  | 37 | <a name="what">What is this?</a> | 
|  | 38 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 39 | <!-- *********************************************************************** --> | 
|  | 40 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 41 | <div class="doc_text"> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 42 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 43 | <p>This document is meant to be a sort of "big TODO list" for LLVM.  Each | 
|  | 44 | project in this document is something that would be useful for LLVM to have, and | 
|  | 45 | would also be a great way to get familiar with the system.  Some of these | 
|  | 46 | projects are small and self-contained, which may be implemented in a couple of | 
|  | 47 | days, others are larger.  Several of these projects may lead to interesting | 
|  | 48 | research projects in their own right.  In any case, we welcome all | 
|  | 49 | contributions.</p> | 
|  | 50 |  | 
|  | 51 | <p>If you are thinking about tackling one of these projects, please send a mail | 
|  | 52 | to the <a href="http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev">LLVM | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 53 | Developer's</a> mailing list, so that we know the project is being worked on. | 
|  | 54 | Additionally this is a good way to get more information about a specific project | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 55 | or to suggest other projects to add to this page.  Another good place to look | 
|  | 56 | for ideas is the <a href="http://llvm.cs.uiuc.edu/bugs/">LLVM bug | 
|  | 57 | tracker</a>.</p> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 58 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 59 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 60 |  | 
|  | 61 | <!-- *********************************************************************** --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 62 | <div class="doc_section"> | 
|  | 63 | <a name="improving">Improving the current system</a> | 
|  | 64 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 65 | <!-- *********************************************************************** --> | 
|  | 66 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 67 | <div class="doc_text"> | 
|  | 68 |  | 
|  | 69 | <p>Improvements to the current infrastructure are always very welcome and tend | 
|  | 70 | to be fairly straight-forward to implement.  Here are some of the key areas that | 
|  | 71 | can use improvement...</p> | 
|  | 72 |  | 
|  | 73 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 74 |  | 
|  | 75 | <!-- ======================================================================= --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 76 | <div class="doc_subsection"> | 
|  | 77 | <a name="glibc">Port glibc to LLVM</a> | 
|  | 78 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 79 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 80 | <div class="doc_text"> | 
|  | 81 |  | 
|  | 82 | <p>It would be very useful to <a | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 83 | href="http://www.gnu.org/software/libc/porting.html">port</a> <a | 
|  | 84 | href="http://www.gnu.org/software/glibc/">glibc</a> to LLVM.  This would allow a | 
|  | 85 | variety of interprocedural algorithms to be much more effective in the face of | 
|  | 86 | library calls.  The most important pieces to port are things like the string | 
|  | 87 | library and the <tt>stdio</tt> related functions... low-level system calls like | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 88 | '<tt>read</tt>' should stay unimplemented in LLVM.</p> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 89 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 90 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 91 |  | 
|  | 92 | <!-- ======================================================================= --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 93 | <div class="doc_subsection"> | 
|  | 94 | <a name="NightlyTest">Improving the Nightly Tester</a> | 
|  | 95 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 96 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 97 | <div class="doc_text"> | 
|  | 98 |  | 
|  | 99 | <p>The <a href="/testresults/">Nightly Tester</a> is a simple perl script | 
|  | 100 | (located in <tt>utils/NightlyTest.pl</tt>) which runs every night to generate a | 
|  | 101 | daily report.  It could use the following improvements:</p> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 102 |  | 
|  | 103 | <ol> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 104 | <li>Regression tests - We should run the regression tests in addition to the | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 105 | program tests...</li> | 
|  | 106 | </ol> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 107 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 108 | </div> | 
| Chris Lattner | 1b36004 | 2003-02-07 19:25:35 +0000 | [diff] [blame] | 109 |  | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 110 | <!-- ======================================================================= --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 111 | <div class="doc_subsection"> | 
|  | 112 | <a name="programs">Compile programs with the LLVM Compiler</a> | 
|  | 113 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 114 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 115 | <div class="doc_text"> | 
|  | 116 |  | 
|  | 117 | <p>We are always looking for new testcases and benchmarks for use with LLVM.  In | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 118 | particular, it is useful to try compiling your favorite C source code with LLVM. | 
|  | 119 | If it doesn't compile, try to figure out why or report it to the <a | 
|  | 120 | href="http://mail.cs.uiuc.edu/pipermail/llvmbugs/">llvm-bugs</a> list.  If you | 
|  | 121 | get the program to compile, it would be extremely useful to convert the build | 
|  | 122 | system to be compatible with the LLVM Programs testsuite so that we can check it | 
| Chris Lattner | 1b36004 | 2003-02-07 19:25:35 +0000 | [diff] [blame] | 123 | into CVS and the automated tester can use it to track progress of the | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 124 | compiler.</p> | 
| Chris Lattner | 1b36004 | 2003-02-07 19:25:35 +0000 | [diff] [blame] | 125 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 126 | <p>When testing a code, try running it with a variety of optimizations, and with | 
|  | 127 | all the back-ends: CBE, llc, and lli.</p> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 128 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 129 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 130 |  | 
|  | 131 | <!-- ======================================================================= --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 132 | <div class="doc_subsection"> | 
|  | 133 | <a name="llvm_ir">Extend the LLVM intermediate representation</a> | 
|  | 134 | </div> | 
|  | 135 |  | 
|  | 136 | <div class="doc_text"> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 137 |  | 
|  | 138 | <ol> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 139 |  | 
|  | 140 | <li>Add a new conditional move instruction: <tt>X = select bool Cond, Y, | 
|  | 141 | Z</tt></li> | 
|  | 142 |  | 
|  | 143 | <li>Add support for platform-independent prefetch support.  The GCC <a | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 144 | href="http://gcc.gnu.org/projects/prefetch.html">prefetch project</a> page | 
|  | 145 | has a good survey of the prefetching capabilities of a variety of modern | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 146 | processors.</li> | 
|  | 147 |  | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 148 | </ol> | 
|  | 149 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 150 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 151 |  | 
|  | 152 | <!-- ======================================================================= --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 153 | <div class="doc_subsection"> | 
|  | 154 | <a name="misc_imp">Miscellaneous Improvements</a> | 
|  | 155 | </div> | 
|  | 156 |  | 
|  | 157 | <div class="doc_text"> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 158 |  | 
|  | 159 | <ol> | 
| Chris Lattner | 8bde96f | 2003-05-06 20:47:11 +0000 | [diff] [blame] | 160 | <li>Someone needs to look into getting the <tt>ranlib</tt> tool to index LLVM | 
|  | 161 | bytecode files, so that linking in .a files is not hideously slow.  They | 
|  | 162 | would also then have to implement the reader for this index in | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 163 | <tt>gccld</tt>.</li> | 
| Chris Lattner | 8bde96f | 2003-05-06 20:47:11 +0000 | [diff] [blame] | 164 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 165 | <li>Rework the PassManager to be more flexible</li> | 
|  | 166 |  | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 167 | <li>Some transformations and analyses only work on reducible flow graphs.  It | 
|  | 168 | would be nice to have a transformation which could be "required" by these passes | 
|  | 169 | which makes irreducible graphs reducible.  This can easily be accomplished | 
|  | 170 | through code duplication.  See <a | 
|  | 171 | href="http://citeseer.nj.nec.com/janssen97making.html">Making Graphs Reducible | 
|  | 172 | with Controlled Node Splitting</a> and perhaps <a | 
|  | 173 | href="http://doi.acm.org/10.1145/262004.262005">Nesting of Reducible and | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 174 | Irreducible Loops</a>.</li> | 
|  | 175 |  | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 176 | </ol> | 
|  | 177 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 178 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 179 |  | 
|  | 180 | <!-- *********************************************************************** --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 181 | <div class="doc_section"> | 
|  | 182 | <a name="new">Adding new capabilities to LLVM</a> | 
|  | 183 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 184 | <!-- *********************************************************************** --> | 
|  | 185 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 186 | <div class="doc_text"> | 
|  | 187 |  | 
|  | 188 | <p>Sometimes creating new things is more fun that improving existing things. | 
|  | 189 | These projects tend to be more involved and perhaps require more work, but can | 
|  | 190 | also be very rewarding.</p> | 
|  | 191 |  | 
|  | 192 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 193 |  | 
|  | 194 | <!-- ======================================================================= --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 195 | <div class="doc_subsection"> | 
|  | 196 | <a name="pointeranalysis">Pointer and Alias Analysis</a> | 
|  | 197 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 198 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 199 | <div class="doc_text"> | 
|  | 200 |  | 
|  | 201 | <p>We have a <a href="AliasAnalysis.html">strong base for development</a> of | 
|  | 202 | both pointer analysis based optimizations as well as pointer analyses | 
|  | 203 | themselves.  It seems natural to want to take advantage of this...</p> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 204 |  | 
|  | 205 | <ol> | 
|  | 206 | <li>Implement a flow-sensitive context-sensitive alias analysis algorithm<br> | 
|  | 207 | - Pick one of the somewhat efficient algorithms, but strive for maximum | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 208 | precision</li> | 
|  | 209 |  | 
| Chris Lattner | f56703b | 2003-06-25 14:31:06 +0000 | [diff] [blame] | 210 | <li>Implement a flow-sensitive context-insensitive alias analysis algorithm<br> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 211 | - Just an efficient local algorithm perhaps?</li> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 212 |  | 
|  | 213 | <li>Implement an interface to update analyses in response to common code motion | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 214 | transformations</li> | 
|  | 215 |  | 
|  | 216 | <li>Implement alias-analysis-based optimizations: | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 217 | <ul> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 218 | <li>Dead store elimination</li> | 
|  | 219 | <li>...</li> | 
|  | 220 | </ul></li> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 221 | </ol> | 
|  | 222 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 223 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 224 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 225 | <!-- ======================================================================= --> | 
|  | 226 | <div class="doc_subsection"> | 
|  | 227 | <a name="profileguided">Profile Guided Optimization</a> | 
|  | 228 | </div> | 
|  | 229 |  | 
|  | 230 | <div class="doc_text"> | 
|  | 231 |  | 
| Chris Lattner | a5422e4 | 2004-03-08 22:29:35 +0000 | [diff] [blame] | 232 | <p>We now have a unified infrastructure for writing profile-guided | 
|  | 233 | transformations, which will work either at offline-compile-time or in the JIT, | 
|  | 234 | but we don't have many transformations.  We would welcome new profile-guided | 
|  | 235 | transformations as well as improvements to the current profiling system. | 
|  | 236 | </p> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 237 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 238 | <p>Ideas for profile guided transformations:</p> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 239 |  | 
|  | 240 | <ol> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 241 | <li>Superblock formation (with many optimizations)</li> | 
|  | 242 | <li>Loop unrolling/peeling</li> | 
|  | 243 | <li>Profile directed inlining</li> | 
|  | 244 | <li>Code layout</li> | 
|  | 245 | <li>...</li> | 
|  | 246 | </ol> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 247 |  | 
| Chris Lattner | a5422e4 | 2004-03-08 22:29:35 +0000 | [diff] [blame] | 248 | <p>Improvements to the existing support:</p> | 
|  | 249 |  | 
|  | 250 | <ol> | 
|  | 251 | <li>The current block and edge profiling code that gets inserted is very simple | 
|  | 252 | and inefficient.  Through the use of control-dependence information, many fewer | 
|  | 253 | counters could be inserted into the code.  Also, if the execution count of a | 
|  | 254 | loop is known to be a compile-time or runtime constant, all of the counters in | 
|  | 255 | the loop could be avoided.</li> | 
|  | 256 |  | 
|  | 257 | <li>You could implement one of the "static profiling" algorithms which analyze a | 
|  | 258 | piece of code an make educated guesses about the relative execution frequencies | 
|  | 259 | of various parts of the code.</li> | 
|  | 260 |  | 
|  | 261 | <li>You could add path profiling support, or adapt the existing LLVM path | 
|  | 262 | profiling code to work with the generic profiling interfaces.</li> | 
|  | 263 | </ol> | 
|  | 264 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 265 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 266 |  | 
|  | 267 | <!-- ======================================================================= --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 268 | <div class="doc_subsection"> | 
|  | 269 | <a name="xforms">New Transformations and Analyses</a> | 
|  | 270 | </div> | 
|  | 271 |  | 
|  | 272 | <div class="doc_text"> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 273 |  | 
|  | 274 | <ol> | 
|  | 275 | <li>Implement a Dependence Analysis Infrastructure<br> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 276 | - Design some way to represent and query dep analysis</li> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 277 | <li>Implement a strength reduction pass</li> | 
|  | 278 | <li>Value range propagation pass</li> | 
|  | 279 | <li>Implement an unswitching pass</li> | 
|  | 280 | <li>Write a loop unroller, with a simple heuristic for when to unroll</li> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 281 | </ol> | 
|  | 282 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 283 | </div> | 
|  | 284 |  | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 285 | <!-- ======================================================================= --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 286 | <div class="doc_section"> | 
|  | 287 | <a name="x86be">X86 Back-end Improvements</a> | 
|  | 288 | </div> | 
|  | 289 |  | 
|  | 290 | <div class="doc_text"> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 291 |  | 
|  | 292 | <ol> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 293 | <li>Implement a global register allocator</li> | 
|  | 294 | <li>Implement a better instruction selector</li> | 
| Chris Lattner | 99df25f | 2003-04-28 03:42:31 +0000 | [diff] [blame] | 295 | <li>Implement support for the "switch" instruction without requiring the | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 296 | lower-switches pass.</li> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 297 | </ol> | 
|  | 298 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 299 | </div> | 
|  | 300 |  | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 301 | <!-- ======================================================================= --> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 302 | <div class="doc_subsection"> | 
|  | 303 | <a name="misc_new">Miscellaneous Additions</a> | 
|  | 304 | </div> | 
|  | 305 |  | 
|  | 306 | <div class="doc_text"> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 307 |  | 
|  | 308 | <ol> | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 309 | <li>Write a new frontend for some language (Java? OCaml? Forth?)</li> | 
|  | 310 | <li>Write a new backend for a target (IA64? MIPS? MMIX?)</li> | 
| Brian Gaeke | a2245a3 | 2004-03-10 19:15:50 +0000 | [diff] [blame^] | 311 | <li>Random test vector generator: Use a C grammar to generate random C code; | 
|  | 312 | run it through llvm-gcc, then run a random set of passes on it using opt. | 
|  | 313 | Try to crash opt. When opt crashes, use bugpoint to reduce the test case and | 
|  | 314 | mail the result to yourself.  Repeat ad infinitum.</li> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 315 | </ol> | 
|  | 316 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 317 | </div> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 318 |  | 
|  | 319 | <!-- *********************************************************************** --> | 
| Chris Lattner | b713109 | 2003-02-06 19:39:21 +0000 | [diff] [blame] | 320 |  | 
| Misha Brukman | 076438b | 2003-11-14 17:34:38 +0000 | [diff] [blame] | 321 | <hr> | 
|  | 322 | <div class="doc_footer"> | 
|  | 323 | <address><a href="mailto:sabre@nondot.org">Chris Lattner</a></address> | 
|  | 324 | <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a> | 
|  | 325 | <br> | 
|  | 326 | Last modified: $Date$ | 
|  | 327 | </div> | 
|  | 328 |  | 
|  | 329 | </body> | 
|  | 330 | </html> |