Skip to content

Commit

Permalink
first pass of nomenclature changes in .html files
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37956 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ggreif committed Jul 6, 2007
1 parent 05c1dc6 commit 04367bf
Show file tree
Hide file tree
Showing 16 changed files with 141 additions and 141 deletions.
4 changes: 2 additions & 2 deletions docs/Bugpoint.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
flow graph, to reduce the size of the function as much as possible. Finally,
<tt>bugpoint</tt> deletes any individual LLVM instructions whose absence does
not eliminate the failure. At the end, <tt>bugpoint</tt> should tell you what
passes crash, give you a bytecode file, and give you instructions on how to
passes crash, give you a bitcode file, and give you instructions on how to
reproduce the failure with <tt>opt</tt> or <tt>llc</tt>.</p>

</div>
Expand All @@ -141,7 +141,7 @@
with the C backend (into a shared object), and one piece which it runs with
either the JIT or the static LLC compiler. It uses several techniques to
reduce the amount of code pushed through the LLVM code generator, to reduce the
potential scope of the problem. After it is finished, it emits two bytecode
potential scope of the problem. After it is finished, it emits two bitcode
files (called "test" [to be compiled with the code generator] and "safe" [to be
compiled with the C backend], respectively), and instructions for reproducing
the problem. The code generator debugger assumes that the C backend produces
Expand Down
2 changes: 1 addition & 1 deletion docs/CodeGenerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@
<tt>MachineOperand::isDef()</tt> informs if that registers is being
defined.</p>

<p>We will call physical registers present in the LLVM bytecode before
<p>We will call physical registers present in the LLVM bitcode before
register allocation <i>pre-colored registers</i>. Pre-colored
registers are used in many different situations, for instance, to pass
parameters of functions calls, and to store results of particular
Expand Down
42 changes: 21 additions & 21 deletions docs/CompilerDriver.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
</ul></td>
<td class="td_left"><ul>
<li>LLVM Assembly</li>
<li>LLVM Bytecode</li>
<li>LLVM Bitcode</li>
<li>LLVM C++ IR</li>
</ul></td>
<td class="td_left"><dl>
Expand All @@ -215,10 +215,10 @@
<td><b>Optimization</b></td>
<td class="td_left"><ul>
<li>LLVM Assembly</li>
<li>LLVM Bytecode</li>
<li>LLVM Bitcode</li>
</ul></td>
<td class="td_left"><ul>
<li>LLVM Bytecode</li>
<li>LLVM Bitcode</li>
</ul></td>
<td class="td_left"><dl>
<dt><tt>-Ox</tt>
Expand All @@ -229,13 +229,13 @@
<tr>
<td><b>Linking</b></td>
<td class="td_left"><ul>
<li>LLVM Bytecode</li>
<li>LLVM Bitcode</li>
<li>Native Object Code</li>
<li>LLVM Library</li>
<li>Native Library</li>
</ul></td>
<td class="td_left"><ul>
<li>LLVM Bytecode Executable</li>
<li>LLVM Bitcode Executable</li>
<li>Native Executable</li>
</ul></td>
<td class="td_left"><dl>
Expand Down Expand Up @@ -291,25 +291,25 @@
available command line options for those programs regardless of whether they
were written for LLVM or not. Furthermore, not all compiler tools will
have the same capabilities. Some compiler tools will simply generate LLVM assembly
code, others will be able to generate fully optimized byte code. In general,
code, others will be able to generate fully optimized bitcode. In general,
<tt>llvmc</tt> doesn't make any assumptions about the capabilities or command
line options of a sub-tool. It simply uses the details found in the
configuration files and leaves it to the compiler writer to specify the
configuration correctly.</p>

<p>This approach means that new compiler tools can be up and working very
quickly. As a first cut, a tool can simply compile its source to raw
(unoptimized) bytecode or LLVM assembly and <tt>llvmc</tt> can be configured
to pick up the slack (translate LLVM assembly to bytecode, optimize the
bytecode, generate native assembly, link, etc.). In fact, the compiler tools
(unoptimized) bitcode or LLVM assembly and <tt>llvmc</tt> can be configured
to pick up the slack (translate LLVM assembly to bitcode, optimize the
bitcode, generate native assembly, link, etc.). In fact, the compiler tools
need not use any LLVM libraries, and it could be written in any language
(instead of C++). The configuration data will allow the full range of
optimization, assembly, and linking capabilities that LLVM provides to be added
to these kinds of tools. Enabling the rapid development of front-ends is one
of the primary goals of <tt>llvmc</tt>.</p>

<p>As a compiler tool matures, it may utilize the LLVM libraries and tools
to more efficiently produce optimized bytecode directly in a single compilation
to more efficiently produce optimized bitcode directly in a single compilation
and optimization program. In these cases, multiple tools would not be needed
and the configuration data for the compiler would change.</p>

Expand Down Expand Up @@ -532,10 +532,10 @@
</tr>
<tr>
<td><b>translator.output</b></td>
<td><tt>bytecode</tt> or <tt>assembly</tt></td>
<td><tt>bitcode</tt> or <tt>assembly</tt></td>
<td class="td_left">This item specifies the kind of output the language's
translator generates.</td>
<td><tt>bytecode</tt></td>
<td><tt>bitcode</tt></td>
</tr>
<tr>
<td><b>translator.preprocesses</b></td>
Expand All @@ -556,10 +556,10 @@
</tr>
<tr>
<td><b>optimizer.output</b></td>
<td><tt>bytecode</tt> or <tt>assembly</tt></td>
<td><tt>bitcode</tt> or <tt>assembly</tt></td>
<td class="td_left">This item specifies the kind of output the language's
optimizer generates. Valid values are "assembly" and "bytecode"</td>
<td><tt>bytecode</tt></td>
optimizer generates. Valid values are "assembly" and "bitcode"</td>
<td><tt>bitcode</tt></td>
</tr>
<tr>
<td><b>optimizer.preprocesses</b></td>
Expand Down Expand Up @@ -724,7 +724,7 @@
translator.required=true

# stkrc doesn't handle the -On options
translator.output=bytecode
translator.output=bitcode

##########################################################
# Optimizer definitions
Expand All @@ -742,7 +742,7 @@
# opt doesn't preprocess
optimizer.preprocesses=no

# opt produces bytecode
# opt produces bitcode
optimizer.output = bc

##########################################################
Expand All @@ -761,7 +761,7 @@
defined below.</p>
<dl>
<dt><a name="def_assembly"><b>assembly</b></a></dt>
<dd>A compilation <a href="#def_phase">phase</a> in which LLVM bytecode or
<dd>A compilation <a href="#def_phase">phase</a> in which LLVM bitcode or
LLVM assembly code is assembled to a native code format (either target
specific aseembly language or the platform's native object file format).
</dd>
Expand All @@ -774,12 +774,12 @@
<dd>Refers to <tt>llvmc</tt> itself.</dd>

<dt><a name="def_linking"><b>linking</b></a></dt>
<dd>A compilation <a href="#def_phase">phase</a> in which LLVM bytecode files
<dd>A compilation <a href="#def_phase">phase</a> in which LLVM bitcode files
and (optionally) native system libraries are combined to form a complete
executable program.</dd>

<dt><a name="def_optimization"><b>optimization</b></a></dt>
<dd>A compilation <a href="#def_phase">phase</a> in which LLVM bytecode is
<dd>A compilation <a href="#def_phase">phase</a> in which LLVM bitcode is
optimized.</dd>

<dt><a name="def_phase"><b>phase</b></a></dt>
Expand All @@ -804,7 +804,7 @@
<dt><a name="def_translation"><b>translation</b></a></dt>
<dd>A compilation <a href="#def_phase">phase</a> in which
<a href="#def_sourcelanguage">source language</a> code is translated into
either LLVM assembly language or LLVM bytecode.</dd>
either LLVM assembly language or LLVM bitcode.</dd>
</dl>
</div>
<!-- *********************************************************************** -->
Expand Down
16 changes: 8 additions & 8 deletions docs/ExtendingLLVM.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@

<div class="doc_text">

<p><span class="doc_warning">WARNING: adding instructions changes the bytecode
<p><span class="doc_warning">WARNING: adding instructions changes the bitcode
format, and it will take some effort to maintain compatibility with
the previous version.</span> Only add an instruction if it is absolutely
necessary.</p>
Expand All @@ -251,8 +251,8 @@
add the grammar on how your instruction can be read and what it will
construct as a result</li>

<li><tt>llvm/lib/Bytecode/Reader/Reader.cpp</tt>:
add a case for your instruction and how it will be parsed from bytecode</li>
<li><tt>llvm/lib/Bitcode/Reader/Reader.cpp</tt>:
add a case for your instruction and how it will be parsed from bitcode</li>

<li><tt>llvm/lib/VMCore/Instruction.cpp</tt>:
add a case for how your instruction will be printed out to assembly</li>
Expand Down Expand Up @@ -285,7 +285,7 @@

<div class="doc_text">

<p><span class="doc_warning">WARNING: adding new types changes the bytecode
<p><span class="doc_warning">WARNING: adding new types changes the bitcode
format, and will break compatibility with currently-existing LLVM
installations.</span> Only add new types if it is absolutely necessary.</p>

Expand Down Expand Up @@ -348,12 +348,12 @@
<li><tt>llvm/lib/AsmReader/Lexer.l</tt>:
add ability to parse in the type from text assembly</li>

<li><tt>llvm/lib/ByteCode/Writer/Writer.cpp</tt>:
modify <tt>void BytecodeWriter::outputType(const Type *T)</tt> to serialize
<li><tt>llvm/lib/BitCode/Writer/Writer.cpp</tt>:
modify <tt>void BitcodeWriter::outputType(const Type *T)</tt> to serialize
your type</li>

<li><tt>llvm/lib/ByteCode/Reader/Reader.cpp</tt>:
modify <tt>const Type *BytecodeReader::ParseType()</tt> to read your data
<li><tt>llvm/lib/BitCode/Reader/Reader.cpp</tt>:
modify <tt>const Type *BitcodeReader::ParseType()</tt> to read your data
type</li>

<li><tt>llvm/lib/VMCore/AsmWriter.cpp</tt>:
Expand Down
2 changes: 1 addition & 1 deletion docs/FAQ.html
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@
<p>Also note: this specific sequence of commands won't work if you use a
function defined in the C++ runtime library (or any other C++ library). To
access an external C++ library, you must manually
compile libstdc++ to LLVM bytecode, statically link it into your program, then
compile libstdc++ to LLVM bitcode, statically link it into your program, then
use the commands above to convert the whole result into C code. Alternatively,
you can compile the libraries and your application into two different chunks
of C code and link them.</p>
Expand Down
Loading

0 comments on commit 04367bf

Please sign in to comment.