[llvm-commits] CVS: llvm/docs/WritingAnLLVMPass.html

Chris Lattner lattner at cs.uiuc.edu
Sat Sep 18 09:16:42 PDT 2004



Changes in directory llvm/docs:

WritingAnLLVMPass.html updated: 1.31 -> 1.32
---
Log message:

Misha implemented the ModuleProvider interface back in 9/18/2003.


---
Diffs of the changes:  (+1 -29)

Index: llvm/docs/WritingAnLLVMPass.html
diff -u llvm/docs/WritingAnLLVMPass.html:1.31 llvm/docs/WritingAnLLVMPass.html:1.32
--- llvm/docs/WritingAnLLVMPass.html:1.31	Sat Sep 18 01:39:35 2004
+++ llvm/docs/WritingAnLLVMPass.html	Sat Sep 18 11:16:28 2004
@@ -89,7 +89,6 @@
   <li><a href="#future">Future extensions planned</a>
     <ul>
     <li><a href="#SMP">Multithreaded LLVM</a></li>
-    <li><a href="#ModuleSource">A new <tt>ModuleSource</tt> interface</a></li>
     <li><a href="#PassFunctionPass"><tt>Pass</tt>es requiring 
                                     <tt>FunctionPass</tt>es</a></li>
     </ul></li>
@@ -1539,33 +1538,6 @@
 
 <!-- _______________________________________________________________________ -->
 <div class="doc_subsubsection">
-  <a name="ModuleSource">A new <tt>ModuleSource</tt> interface</a>
-</div>
-
-<div class="doc_text">
-
-<p>Currently, the <tt>PassManager</tt>'s <tt>run</tt> method takes a <tt><a
-href="http://llvm.cs.uiuc.edu/doxygen/classllvm_1_1Module.html">Module</a></tt>
-as input, and runs all of the passes on this module.  The problem with this
-approach is that none of the <tt>PassManager</tt> features can be used for
-timing and debugging the actual <b>loading</b> of the module from disk or
-standard input.</p>
-
-<p>To solve this problem, eventually the <tt>PassManager</tt> class will accept
-a <tt>ModuleSource</tt> object instead of a Module itself.  When complete, this
-will also allow for streaming of functions out of the bytecode representation,
-allowing us to avoid holding the entire program in memory at once if we only are
-dealing with <a href="#FunctionPass">FunctionPass</a>es.</p>
-
-<p>As part of a different issue, eventually the bytecode loader will be extended
-to allow on-demand loading of functions from the bytecode representation, in
-order to better support the runtime reoptimizer.  The bytecode format is already
-capable of this, the loader just needs to be reworked a bit.</p>
-
-</div>
-
-<!-- _______________________________________________________________________ -->
-<div class="doc_subsubsection">
 <a name="PassFunctionPass"><tt>Pass</tt>es requiring <tt>FunctionPass</tt>es</a>
 </div>
 
@@ -1596,7 +1568,7 @@
 
   <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2004/09/18 06:39:35 $
+  Last modified: $Date: 2004/09/18 16:16:28 $
 </address>
 
 </body>






More information about the llvm-commits mailing list