summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-04-21 01:52:00 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-04-21 01:52:00 +0000
commit074eeaae30f12dc2077641e1d12ae2011f0e4f42 (patch)
treee1cdb7890a24fb0b8ffeb7d8f06da0efcfab7cd3 /docs
parentb5f74914cd336bef0ae05a90495141ba539c5ae7 (diff)
downloadllvm-074eeaae30f12dc2077641e1d12ae2011f0e4f42.tar.gz
llvm-074eeaae30f12dc2077641e1d12ae2011f0e4f42.tar.bz2
llvm-074eeaae30f12dc2077641e1d12ae2011f0e4f42.tar.xz
docs/llvm.css: Introduce cascading style <div> and <p> continued on <h[2-5]>. For now, it is applied in AliasAnalysis.html and ReleaseNotes.html.
<h2>Section Example</h2> <div> <!-- h2+div is applied --> <p>Section preamble.</p> <h3>Subsection Example</h3> <p> <!-- h3+p is applied --> Subsection body </p> <!-- End of section body --> </div> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/AliasAnalysis.html129
-rw-r--r--docs/ReleaseNotes.html100
-rw-r--r--docs/llvm.css4
3 files changed, 119 insertions, 114 deletions
diff --git a/docs/AliasAnalysis.html b/docs/AliasAnalysis.html
index bed3aceeb5..306a3f4393 100644
--- a/docs/AliasAnalysis.html
+++ b/docs/AliasAnalysis.html
@@ -64,7 +64,7 @@
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>Alias Analysis (aka Pointer Analysis) is a class of techniques which attempt
to determine whether or not two pointers ever can point to the same object in
@@ -101,7 +101,7 @@ know</a>.</p>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>The <a
href="http://llvm.org/doxygen/classllvm_1_1AliasAnalysis.html"><tt>AliasAnalysis</tt></a>
@@ -122,14 +122,12 @@ multiple values, values which are not
<a href="LangRef.html#constants">constants</a> are all defined within the
same function.</p>
-</div>
-
<!-- ======================================================================= -->
<h3>
<a name="pointers">Representation of Pointers</a>
</h3>
-<div class="doc_text">
+<div>
<p>Most importantly, the <tt>AliasAnalysis</tt> class provides several methods
which are used to query whether or not two memory objects alias, whether
@@ -185,7 +183,7 @@ that the accesses alias.</p>
<a name="alias">The <tt>alias</tt> method</a>
</h3>
-<div class="doc_text">
+<div>
<p>The <tt>alias</tt> method is the primary interface used to determine whether
or not two memory objects alias each other. It takes two memory objects as
input and returns MustAlias, PartialAlias, MayAlias, or NoAlias as
@@ -194,14 +192,13 @@ appropriate.</p>
<p>Like all <tt>AliasAnalysis</tt> interfaces, the <tt>alias</tt> method requires
that either the two pointer values be defined within the same function, or at
least one of the values is a <a href="LangRef.html#constants">constant</a>.</p>
-</div>
<!-- _______________________________________________________________________ -->
<h4>
<a name="MustMayNo">Must, May, and No Alias Responses</a>
</h4>
-<div class="doc_text">
+<div>
<p>The NoAlias response may be used when there is never an immediate dependence
between any memory reference <i>based</i> on one pointer and any memory
reference <i>based</i> the other. The most obvious example is when the two
@@ -227,12 +224,14 @@ implies that the pointers compare equal.</p>
</div>
+</div>
+
<!-- ======================================================================= -->
<h3>
<a name="ModRefInfo">The <tt>getModRefInfo</tt> methods</a>
</h3>
-<div class="doc_text">
+<div>
<p>The <tt>getModRefInfo</tt> methods return information about whether the
execution of an instruction can read or modify a memory location. Mod/Ref
@@ -254,21 +253,19 @@ memory written to by CS2. Note that this relation is not commutative.</p>
<a name="OtherItfs">Other useful <tt>AliasAnalysis</tt> methods</a>
</h3>
-<div class="doc_text">
+<div>
<p>
Several other tidbits of information are often collected by various alias
analysis implementations and can be put to good use by various clients.
</p>
-</div>
-
<!-- _______________________________________________________________________ -->
<h4>
The <tt>pointsToConstantMemory</tt> method
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>pointsToConstantMemory</tt> method returns true if and only if the
analysis can prove that the pointer only points to unchanging memory locations
@@ -284,7 +281,7 @@ memory location to be modified.</p>
<tt>onlyReadsMemory</tt> methods</a>
</h4>
-<div class="doc_text">
+<div>
<p>These methods are used to provide very simple mod/ref information for
function calls. The <tt>doesNotAccessMemory</tt> method returns true for a
@@ -307,13 +304,17 @@ functions that satisfy the <tt>doesNotAccessMemory</tt> method also satisfies
</div>
+</div>
+
+</div>
+
<!-- *********************************************************************** -->
<h2>
<a name="writingnew">Writing a new <tt>AliasAnalysis</tt> Implementation</a>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>Writing a new alias analysis implementation for LLVM is quite
straight-forward. There are already several implementations that you can use
@@ -321,14 +322,12 @@ for examples, and the following information should help fill in any details.
For a examples, take a look at the <a href="#impls">various alias analysis
implementations</a> included with LLVM.</p>
-</div>
-
<!-- ======================================================================= -->
<h3>
<a name="passsubclasses">Different Pass styles</a>
</h3>
-<div class="doc_text">
+<div>
<p>The first step to determining what type of <a
href="WritingAnLLVMPass.html">LLVM pass</a> you need to use for your Alias
@@ -356,7 +355,7 @@ solve:</p>
<a name="requiredcalls">Required initialization calls</a>
</h3>
-<div class="doc_text">
+<div>
<p>Your subclass of <tt>AliasAnalysis</tt> is required to invoke two methods on
the <tt>AliasAnalysis</tt> base class: <tt>getAnalysisUsage</tt> and
@@ -397,7 +396,7 @@ bool run(Module &amp;M) {
<a name="interfaces">Interfaces which may be specified</a>
</h3>
-<div class="doc_text">
+<div>
<p>All of the <a
href="/doxygen/classllvm_1_1AliasAnalysis.html"><tt>AliasAnalysis</tt></a>
@@ -416,7 +415,7 @@ implementing, you just override the interfaces you can improve.</p>
<a name="chaining"><tt>AliasAnalysis</tt> chaining behavior</a>
</h3>
-<div class="doc_text">
+<div>
<p>With only two special exceptions (the <tt><a
href="#basic-aa">basicaa</a></tt> and <a href="#no-aa"><tt>no-aa</tt></a>
@@ -455,7 +454,7 @@ updated.</p>
<a name="updating">Updating analysis results for transformations</a>
</h3>
-<div class="doc_text">
+<div>
<p>
Alias analysis information is initially computed for a static snapshot of the
program, but clients will use this information to make transformations to the
@@ -471,12 +470,11 @@ their internal data structures are kept up-to-date as the program changes (for
example, when an instruction is deleted), and clients of alias analysis must be
sure to call these interfaces appropriately.
</p>
-</div>
<!-- _______________________________________________________________________ -->
<h4>The <tt>deleteValue</tt> method</h4>
-<div class="doc_text">
+<div>
The <tt>deleteValue</tt> method is called by transformations when they remove an
instruction or any other value from the program (including values that do not
use pointers). Typically alias analyses keep data structures that have entries
@@ -487,7 +485,7 @@ any entries for the specified value, if they exist.
<!-- _______________________________________________________________________ -->
<h4>The <tt>copyValue</tt> method</h4>
-<div class="doc_text">
+<div>
The <tt>copyValue</tt> method is used when a new value is introduced into the
program. There is no way to introduce a value into the program that did not
exist before (this doesn't make sense for a safe compiler transformation), so
@@ -498,7 +496,7 @@ new value has exactly the same properties as the value being copied.
<!-- _______________________________________________________________________ -->
<h4>The <tt>replaceWithNewValue</tt> method</h4>
-<div class="doc_text">
+<div>
This method is a simple helper method that is provided to make clients easier to
use. It is implemented by copying the old analysis information to the new
value, then deleting the old value. This method cannot be overridden by alias
@@ -508,7 +506,7 @@ analysis implementations.
<!-- _______________________________________________________________________ -->
<h4>The <tt>addEscapingUse</tt> method</h4>
-<div class="doc_text">
+<div>
<p>The <tt>addEscapingUse</tt> method is used when the uses of a pointer
value have changed in ways that may invalidate precomputed analysis information.
Implementations may either use this callback to provide conservative responses
@@ -527,12 +525,14 @@ uses below:</p>
</ul>
</div>
+</div>
+
<!-- ======================================================================= -->
<h3>
<a name="implefficiency">Efficiency Issues</a>
</h3>
-<div class="doc_text">
+<div>
<p>From the LLVM perspective, the only thing you need to do to provide an
efficient alias analysis is to make sure that alias analysis <b>queries</b> are
@@ -548,7 +548,7 @@ method as possible (within reason).</p>
<a name="limitations">Limitations</a>
</h3>
-<div class="doc_text">
+<div>
<p>The AliasAnalysis infrastructure has several limitations which make
writing a new <tt>AliasAnalysis</tt> implementation difficult.</p>
@@ -616,25 +616,25 @@ from itself.</p>
</div>
+</div>
+
<!-- *********************************************************************** -->
<h2>
<a name="using">Using alias analysis results</a>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>There are several different ways to use alias analysis results. In order of
preference, these are...</p>
-</div>
-
<!-- ======================================================================= -->
<h3>
<a name="memdep">Using the <tt>MemoryDependenceAnalysis</tt> Pass</a>
</h3>
-<div class="doc_text">
+<div>
<p>The <tt>memdep</tt> pass uses alias analysis to provide high-level dependence
information about memory-using instructions. This will tell you which store
@@ -649,7 +649,7 @@ efficient, and is used by Dead Store Elimination, GVN, and memcpy optimizations.
<a name="ast">Using the <tt>AliasSetTracker</tt> class</a>
</h3>
-<div class="doc_text">
+<div>
<p>Many transformations need information about alias <b>sets</b> that are active
in some scope, rather than information about pairwise aliasing. The <tt><a
@@ -678,14 +678,12 @@ sunk to outside of the loop, promoting the memory location to a register for the
duration of the loop nest. Both of these transformations only apply if the
pointer argument is loop-invariant.</p>
-</div>
-
<!-- _______________________________________________________________________ -->
<h4>
The AliasSetTracker implementation
</h4>
-<div class="doc_text">
+<div>
<p>The AliasSetTracker class is implemented to be as efficient as possible. It
uses the union-find algorithm to efficiently merge AliasSets when a pointer is
@@ -706,12 +704,14 @@ are.</p>
</div>
+</div>
+
<!-- ======================================================================= -->
<h3>
<a name="direct">Using the <tt>AliasAnalysis</tt> interface directly</a>
</h3>
-<div class="doc_text">
+<div>
<p>If neither of these utility class are what your pass needs, you should use
the interfaces exposed by the <tt>AliasAnalysis</tt> class directly. Try to use
@@ -721,13 +721,15 @@ best precision and efficiency.</p>
</div>
+</div>
+
<!-- *********************************************************************** -->
<h2>
<a name="exist">Existing alias analysis implementations and clients</a>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>If you're going to be working with the LLVM alias analysis infrastructure,
you should know what clients and implementations of alias analysis are
@@ -735,28 +737,24 @@ available. In particular, if you are implementing an alias analysis, you should
be aware of the <a href="#aliasanalysis-debug">the clients</a> that are useful
for monitoring and evaluating different implementations.</p>
-</div>
-
<!-- ======================================================================= -->
<h3>
<a name="impls">Available <tt>AliasAnalysis</tt> implementations</a>
</h3>
-<div class="doc_text">
+<div>
<p>This section lists the various implementations of the <tt>AliasAnalysis</tt>
interface. With the exception of the <a href="#no-aa"><tt>-no-aa</tt></a> and
<a href="#basic-aa"><tt>-basicaa</tt></a> implementations, all of these <a
href="#chaining">chain</a> to other alias analysis implementations.</p>
-</div>
-
<!-- _______________________________________________________________________ -->
<h4>
<a name="no-aa">The <tt>-no-aa</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>-no-aa</tt> pass is just like what it sounds: an alias analysis that
never returns any useful information. This pass can be useful if you think that
@@ -770,7 +768,7 @@ problem.</p>
<a name="basic-aa">The <tt>-basicaa</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>-basicaa</tt> pass is an aggressive local analysis that "knows"
many important facts:</p>
@@ -798,7 +796,7 @@ many important facts:</p>
<a name="globalsmodref">The <tt>-globalsmodref-aa</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>This pass implements a simple context-sensitive mod/ref and alias analysis
for internal global variables that don't "have their address taken". If a
@@ -822,7 +820,7 @@ non-address taken globals), but is very quick analysis.</p>
<a name="steens-aa">The <tt>-steens-aa</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>-steens-aa</tt> pass implements a variation on the well-known
"Steensgaard's algorithm" for interprocedural alias analysis. Steensgaard's
@@ -845,7 +843,7 @@ module, it is not part of the LLVM core.</p>
<a name="ds-aa">The <tt>-ds-aa</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>-ds-aa</tt> pass implements the full Data Structure Analysis
algorithm. Data Structure Analysis is a modular unification-based,
@@ -868,7 +866,7 @@ module, it is not part of the LLVM core.</p>
<a name="scev-aa">The <tt>-scev-aa</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>-scev-aa</tt> pass implements AliasAnalysis queries by
translating them into ScalarEvolution queries. This gives it a
@@ -877,22 +875,23 @@ and loop induction variables than other alias analyses have.</p>
</div>
+</div>
+
<!-- ======================================================================= -->
<h3>
<a name="aliasanalysis-xforms">Alias analysis driven transformations</a>
</h3>
-<div class="doc_text">
+<div>
LLVM includes several alias-analysis driven transformations which can be used
with any of the implementations above.
-</div>
<!-- _______________________________________________________________________ -->
<h4>
<a name="adce">The <tt>-adce</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>-adce</tt> pass, which implements Aggressive Dead Code Elimination
uses the <tt>AliasAnalysis</tt> interface to delete calls to functions that do
@@ -906,7 +905,7 @@ not have side-effects and are not used.</p>
<a name="licm">The <tt>-licm</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>-licm</tt> pass implements various Loop Invariant Code Motion related
transformations. It uses the <tt>AliasAnalysis</tt> interface for several
@@ -931,7 +930,7 @@ no may aliases to the loaded/stored memory location.</li>
<a name="argpromotion">The <tt>-argpromotion</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>
The <tt>-argpromotion</tt> pass promotes by-reference arguments to be passed in
by-value instead. In particular, if pointer arguments are only loaded from it
@@ -947,33 +946,33 @@ pointer.</p>
passes</a>
</h4>
-<div class="doc_text">
+<div>
<p>These passes use AliasAnalysis information to reason about loads and stores.
</p>
</div>
+</div>
+
<!-- ======================================================================= -->
<h3>
<a name="aliasanalysis-debug">Clients for debugging and evaluation of
implementations</a>
</h3>
-<div class="doc_text">
+<div>
<p>These passes are useful for evaluating the various alias analysis
implementations. You can use them with commands like '<tt>opt -ds-aa
-aa-eval foo.bc -disable-output -stats</tt>'.</p>
-</div>
-
<!-- _______________________________________________________________________ -->
<h4>
<a name="print-alias-sets">The <tt>-print-alias-sets</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>-print-alias-sets</tt> pass is exposed as part of the
<tt>opt</tt> tool to print out the Alias Sets formed by the <a
@@ -994,7 +993,7 @@ the <tt>AliasSetTracker</tt> class. To use it, use something like:</p>
<a name="count-aa">The <tt>-count-aa</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>-count-aa</tt> pass is useful to see how many queries a particular
pass is making and what responses are returned by the alias analysis. As an
@@ -1018,7 +1017,7 @@ when debugging a transformation or an alias analysis implementation.</p>
<a name="aa-eval">The <tt>-aa-eval</tt> pass</a>
</h4>
-<div class="doc_text">
+<div>
<p>The <tt>-aa-eval</tt> pass simply iterates through all pairs of pointers in a
function and asks an alias analysis whether or not the pointers alias. This
@@ -1028,13 +1027,17 @@ algorithm will have a lower number of may aliases).</p>
</div>
+</div>
+
+</div>
+
<!-- *********************************************************************** -->
<h2>
<a name="memdep">Memory Dependence Analysis</a>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>If you're just looking to be a client of alias analysis information, consider
using the Memory Dependence Analysis interface instead. MemDep is a lazy,
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index cef80a48bc..afee19b07e 100644
--- a/docs/ReleaseNotes.html
+++ b/docs/ReleaseNotes.html
@@ -41,7 +41,7 @@ Release Notes</a>.</h1>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>This document contains the release notes for the LLVM Compiler
Infrastructure, release 2.9. Here we describe the status of LLVM, including
@@ -77,7 +77,7 @@ current one. To see the release notes for a specific release, please see the
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>
The LLVM 2.9 distribution currently consists of code from the core LLVM
repository (which roughly includes the LLVM optimizers, code generators
@@ -86,15 +86,12 @@ addition to this code, the LLVM Project includes other sub-projects that are in
development. Here we include updates on these subprojects.
</p>
-</div>
-
-
<!--=========================================================================-->
<h3>
<a name="clang">Clang: C/C++/Objective-C Frontend Toolkit</a>
</h3>
-<div class="doc_text">
+<div>
<p><a href="http://clang.llvm.org/">Clang</a> is an LLVM front end for the C,
C++, and Objective-C languages. Clang aims to provide a better user experience
@@ -125,7 +122,7 @@ compatibility</a> guide to make sure this is not intentional or a known issue.
<a name="dragonegg">DragonEgg: GCC front-ends, LLVM back-end</a>
</h3>
-<div class="doc_text">
+<div>
<p>
<a href="http://dragonegg.llvm.org/">DragonEgg</a> is a
<a href="http://gcc.gnu.org/wiki/plugins">gcc plugin</a> that replaces GCC's
@@ -157,7 +154,7 @@ work yet.</li>
<a name="compiler-rt">compiler-rt: Compiler Runtime Library</a>
</h3>
-<div class="doc_text">
+<div>
<p>
The new LLVM <a href="http://compiler-rt.llvm.org/">compiler-rt project</a>
is a simple library that provides an implementation of the low-level
@@ -183,7 +180,7 @@ libgcc routines).</p>
<a name="lldb">LLDB: Low Level Debugger</a>
</h3>
-<div class="doc_text">
+<div>
<p>
<a href="http://lldb.llvm.org/">LLDB</a> is a brand new member of the LLVM
umbrella of projects. LLDB is a next generation, high-performance debugger. It
@@ -205,7 +202,7 @@ GDB</a>.</p>
<a name="libc++">libc++: C++ Standard Library</a>
</h3>
-<div class="doc_text">
+<div>
<p>
<a href="http://libcxx.llvm.org/">libc++</a> is another new member of the LLVM
family. It is an implementation of the C++ standard library, written from the
@@ -230,7 +227,7 @@ Like compiler_rt, libc++ is now <a href="DeveloperPolicy.html#license">dual
<a name="LLBrowse">LLBrowse: IR Browser</a>
</h3>
-<div class="doc_text">
+<div>
<p>
<a href="http://llvm.org/svn/llvm-project/llbrowse/trunk/doc/LLBrowse.html">
LLBrowse</a> is an interactive viewer for LLVM modules. It can load any LLVM
@@ -245,7 +242,7 @@ Like compiler_rt, libc++ is now <a href="DeveloperPolicy.html#license">dual
<a name="vmkit">VMKit</a>
</h3>
-<div class="doc_text">
+<div>
<p>The <a href="http://vmkit.llvm.org/">VMKit project</a> is an implementation
of a Java Virtual Machine (Java VM or JVM) that uses LLVM for static and
just-in-time compilation. As of LLVM 2.9, VMKit now supports generational
@@ -262,7 +259,7 @@ Like compiler_rt, libc++ is now <a href="DeveloperPolicy.html#license">dual
<a name="klee">KLEE: A Symbolic Execution Virtual Machine</a>
</h3>
-<div class="doc_text">
+<div>
<p>
<a href="http://klee.llvm.org/">KLEE</a> is a symbolic execution framework for
programs in LLVM bitcode form. KLEE tries to symbolically evaluate "all" paths
@@ -274,6 +271,7 @@ be used to verify some algorithms.
<p>UPDATE!</p>
</div>-->
+</div>
<!-- *********************************************************************** -->
<h2>
@@ -281,18 +279,16 @@ be used to verify some algorithms.
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>An exciting aspect of LLVM is that it is used as an enabling technology for
a lot of other language and tools projects. This section lists some of the
projects that have already been updated to work with LLVM 2.9.</p>
-</div>
-
<!--=========================================================================-->
<h3>Crack Programming Language</h3>
-<div class="doc_text">
+<div>
<p>
<a href="http://code.google.com/p/crack-language/">Crack</a> aims to provide the
ease of development of a scripting language with the performance of a compiled
@@ -304,7 +300,7 @@ object-oriented programming, operator overloading and strong typing.</p>
<!--=========================================================================-->
<h3>TTA-based Codesign Environment (TCE)</h3>
-<div class="doc_text">
+<div>
<p>TCE is a toolset for designing application-specific processors (ASP) based on
the Transport triggered architecture (TTA). The toolset provides a complete
co-design flow from C/C++ programs down to synthesizable VHDL and parallel
@@ -323,7 +319,7 @@ of larger parts of the compiler chain.</p>
<!--=========================================================================-->
<h3>PinaVM</h3>
-<div class="doc_text">
+<div>
<p><a href="http://gitorious.org/pinavm/pages/Home">PinaVM</a> is an open
source, <a href="http://www.systemc.org/">SystemC</a> front-end. Unlike many
other front-ends, PinaVM actually executes the elaboration of the
@@ -334,7 +330,7 @@ bitcode with SystemC-specific information.</p>
<!--=========================================================================-->
<h3>Pure</h3>
-<div class="doc_text">
+<div>
<p><a href="http://pure-lang.googlecode.com/">Pure</a> is an
algebraic/functional
programming language based on term rewriting. Programs are collections
@@ -355,7 +351,7 @@ bitcode with SystemC-specific information.</p>
<!--=========================================================================-->
<h3 id="icedtea">IcedTea Java Virtual Machine Implementation</h3>
-<div class="doc_text">
+<div>
<p>
<a href="http://icedtea.classpath.org/wiki/Main_Page">IcedTea</a> provides a
harness to build OpenJDK using only free software build tools and to provide
@@ -374,7 +370,7 @@ releases &gt;= 2.6 as well).</p>
<!--=========================================================================-->
<h3>Glasgow Haskell Compiler (GHC)</h3>
-<div class="doc_text">
+<div>
<p>GHC is an open source, state-of-the-art programming suite for Haskell,
a standard lazy functional programming language. It includes an
optimizing static compiler generating good code for a variety of
@@ -388,7 +384,7 @@ supports an LLVM code generator. GHC supports LLVM 2.7 and later.</p>
<!--=========================================================================-->
<h3>Polly - Polyhedral optimizations for LLVM</h3>
-<div class="doc_text">
+<div>
<p>Polly is a project that aims to provide advanced memory access optimizations
to better take advantage of SIMD units, cache hierarchies, multiple cores or
even vector accelerators for LLVM. Built around an abstract mathematical
@@ -403,7 +399,7 @@ and parallelism.</p>
<!--=========================================================================-->
<h3>Rubinius</h3>
-<div class="doc_text">
+<div>
<p><a href="http://github.com/evanphx/rubinius">Rubinius</a> is an environment
for running Ruby code which strives to write as much of the implementation in
Ruby as possible. Combined with a bytecode interpreting VM, it uses LLVM to
@@ -418,7 +414,7 @@ and parallelism.</p>
<a name="FAUST">FAUST Real-Time Audio Signal Processing Language</a>
</h3>
-<div class="doc_text">
+<div>
<p>
<a href="http://faust.grame.fr">FAUST</a> is a compiled language for real-time
audio signal processing. The name FAUST stands for Functional AUdio STream. Its
@@ -428,27 +424,27 @@ Faust compiler can now generate LLVM bitcode, and works with LLVM 2.7-2.9.</p>
</div>
+</div>
+
<!-- *********************************************************************** -->
<h2>
<a name="whatsnew">What's New in LLVM 2.9?</a>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>This release includes a huge number of bug fixes, performance tweaks and
minor improvements. Some of the major improvements and new features are listed
in this section.
</p>
-</div>
-
<!--=========================================================================-->
<h3>
<a name="majorfeatures">Major New Features</a>
</h3>
-<div class="doc_text">
+<div>
<p>LLVM 2.9 includes several major new capabilities:</p>
@@ -478,7 +474,7 @@ in this section.
<a name="coreimprovements">LLVM IR and Core Improvements</a>
</h3>
-<div class="doc_text">
+<div>
<p>LLVM IR has several new features for better support of new targets and that
expose new optimization opportunities:</p>
@@ -505,7 +501,7 @@ expose new optimization opportunities:</p>
<a name="optimizer">Optimizer Improvements</a>
</h3>
-<div class="doc_text">
+<div>
<p>In addition to a large array of minor performance tweaks and bug fixes, this
release includes a few major enhancements and additions to the optimizers:</p>
@@ -573,7 +569,7 @@ release includes a few major enhancements and additions to the optimizers:</p>
<a name="mc">MC Level Improvements</a>
</h3>
-<div class="doc_text">
+<div>
<p>
The LLVM Machine Code (aka MC) subsystem was created to solve a number
of problems in the realm of assembly, disassembly, object file format handling,
@@ -627,7 +623,7 @@ LLVM MC Project Blog Post</a>.
<a name="codegen">Target Independent Code Generator Improvements</a>
</h3>
-<div class="doc_text">
+<div>
<p>We have put a significant amount of work into the code generator
infrastructure, which allows us to implement more aggressive algorithms and make
@@ -670,7 +666,7 @@ it run faster:</p>
<a name="x86">X86-32 and X86-64 Target Improvements</a>
</h3>
-<div class="doc_text">
+<div>
<p>New features and major changes in the X86 target include:
</p>
@@ -709,7 +705,7 @@ it run faster:</p>
<a name="ARM">ARM Target Improvements</a>
</h3>
-<div class="doc_text">
+<div>
<p>New features of the ARM target include:
</p>
@@ -733,7 +729,7 @@ it run faster:</p>
<a name="OtherTS">Other Target Specific Improvements</a>
</h3>
-<div class="doc_text">
+<div>
<ul>
<li>MicroBlaze: major updates for aggressive delay slot filler, MC-based
assembly printing, assembly instruction parsing, ELF .o file emission, and MC
@@ -758,7 +754,7 @@ It also now supports lowering block addresses.</li>
<a name="changes">Major Changes and Removed Features</a>
</h3>
-<div class="doc_text">
+<div>
<p>If you're already an LLVM user or developer with out-of-tree changes based
on LLVM 2.8, this section lists some "gotchas" that you may run into upgrading
@@ -794,7 +790,7 @@ from the previous release.</p>
<a name="api_changes">Internal API Changes</a>
</h3>
-<div class="doc_text">
+<div>
<p>In addition, many APIs have changed in this release. Some of the major
LLVM API changes are:</p>
@@ -815,27 +811,27 @@ from the previous release.</p>
</ul>
</div>
+</div>
+
<!-- *********************************************************************** -->
<h2>
<a name="knownproblems">Known Problems</a>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>This section contains significant known problems with the LLVM system,
listed by component. If you run into a problem, please check the <a
href="http://llvm.org/bugs/">LLVM bug database</a> and submit a bug if
there isn't already one.</p>
-</div>
-
<!-- ======================================================================= -->
<h3>
<a name="experimental">Experimental features included with this release</a>
</h3>
-<div class="doc_text">
+<div>
<p>The following components of this LLVM release are either untested, known to
be broken or unreliable, or are in early development. These components should
@@ -859,7 +855,7 @@ href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">LLVMdev list</a>.</p>
<a name="x86-be">Known problems with the X86 back-end</a>
</h3>
-<div class="doc_text">
+<div>
<ul>
<li>The X86 backend does not yet support
@@ -892,7 +888,7 @@ href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">LLVMdev list</a>.</p>
<a name="ppc-be">Known problems with the PowerPC back-end</a>
</h3>
-<div class="doc_text">
+<div>
<ul>
<li>The Linux PPC32/ABI support needs testing for the interpreter and static
@@ -906,7 +902,7 @@ compilation, and lacks support for debug information.</li>
<a name="arm-be">Known problems with the ARM back-end</a>
</h3>
-<div class="doc_text">
+<div>
<ul>
<li>Thumb mode works only on ARMv6 or higher processors. On sub-ARMv6
@@ -923,7 +919,7 @@ results (<a href="http://llvm.org/PR1388">PR1388</a>).</li>
<a name="sparc-be">Known problems with the SPARC back-end</a>
</h3>
-<div class="doc_text">
+<div>
<ul>
<li>The SPARC backend only supports the 32-bit SPARC ABI (-m32); it does not
@@ -937,7 +933,7 @@ results (<a href="http://llvm.org/PR1388">PR1388</a>).</li>
<a name="mips-be">Known problems with the MIPS back-end</a>
</h3>
-<div class="doc_text">
+<div>
<ul>
<li>64-bit MIPS targets are not supported yet.</li>
@@ -950,7 +946,7 @@ results (<a href="http://llvm.org/PR1388">PR1388</a>).</li>
<a name="alpha-be">Known problems with the Alpha back-end</a>
</h3>
-<div class="doc_text">
+<div>
<ul>
@@ -965,7 +961,7 @@ appropriate nops inserted to ensure restartability.</li>
<a name="c-be">Known problems with the C back-end</a>
</h3>
-<div class="doc_text">
+<div>
<p>The C backend has numerous problems and is not being actively maintained.
Depending on it for anything serious is not advised.</p>
@@ -988,7 +984,7 @@ Depending on it for anything serious is not advised.</p>
<a name="llvm-gcc">Known problems with the llvm-gcc front-end</a>
</h3>
-<div class="doc_text">
+<div>
<p><b>LLVM 2.9 will be the last release of llvm-gcc.</b></p>
@@ -1011,13 +1007,15 @@ actively maintained. If you are interested in Ada, we recommend that you
consider using <a href="#dragonegg">dragonegg</a> instead.</p>
</div>
+</div>
+
<!-- *********************************************************************** -->
<h2>
<a name="additionalinfo">Additional Information</a>
</h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>A wide variety of additional information is available on the <a
href="http://llvm.org/">LLVM web page</a>, in particular in the <a
diff --git a/docs/llvm.css b/docs/llvm.css
index 846de2e0aa..1222cf12bc 100644
--- a/docs/llvm.css
+++ b/docs/llvm.css
@@ -70,6 +70,10 @@ h4, .doc_subsubsection { margin: 2.0em 0.5em 0.5em 0.5em;
display: table;
}
+h2+div, h2+p {text-align: left; padding-left: 20pt; padding-right: 10pt;}
+h3+div, h3+p {text-align: left; padding-left: 20pt; padding-right: 10pt;}
+h4+div, h4+p {text-align: left; padding-left: 20pt; padding-right: 10pt;}
+
/* It is preferrable to use <pre class="doc_code"> everywhere instead of the
* <div class="doc_code"><pre>...</ptr></div> construct.
*