forked from OSchip/llvm-project
docs: Fix some in-package URLs.
(eg. trim http://llvm.org/docs/foo -> foo) llvm-svn: 129182
This commit is contained in:
parent
ca46f5a3b5
commit
b10df26061
|
|
@ -33,7 +33,7 @@ project.</p>
|
||||||
<p>The LLVM gold plugin implements the
|
<p>The LLVM gold plugin implements the
|
||||||
<a href="http://gcc.gnu.org/wiki/whopr/driver">gold plugin interface</a>
|
<a href="http://gcc.gnu.org/wiki/whopr/driver">gold plugin interface</a>
|
||||||
on top of
|
on top of
|
||||||
<a href="http://llvm.org/docs/LinkTimeOptimization.html#lto">libLTO</a>.
|
<a href="LinkTimeOptimization.html#lto">libLTO</a>.
|
||||||
The same plugin can also be used by other tools such as <tt>ar</tt> and
|
The same plugin can also be used by other tools such as <tt>ar</tt> and
|
||||||
<tt>nm</tt>.
|
<tt>nm</tt>.
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -145,7 +145,7 @@ $ llvm-gcc -use-gold-plugin a.a b.o -o main # <-- link with LLVMgold plugin
|
||||||
</pre>
|
</pre>
|
||||||
<p>Gold informs the plugin that foo3 is never referenced outside the IR,
|
<p>Gold informs the plugin that foo3 is never referenced outside the IR,
|
||||||
leading LLVM to delete that function. However, unlike in the
|
leading LLVM to delete that function. However, unlike in the
|
||||||
<a href="http://llvm.org/docs/LinkTimeOptimization.html#example1">libLTO
|
<a href="LinkTimeOptimization.html#example1">libLTO
|
||||||
example</a> gold does not currently eliminate foo4.</p>
|
example</a> gold does not currently eliminate foo4.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -117,10 +117,10 @@ These essential documents must be read before reading this document:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><i><a href="http://www.llvm.org/docs/LangRef.html">LLVM Language Reference
|
<li><i><a href="LangRef.html">LLVM Language Reference
|
||||||
Manual</a></i> — a reference manual for the LLVM assembly language.</li>
|
Manual</a></i> — a reference manual for the LLVM assembly language.</li>
|
||||||
|
|
||||||
<li><i><a href="http://www.llvm.org/docs/CodeGenerator.html">The LLVM
|
<li><i><a href="CodeGenerator.html">The LLVM
|
||||||
Target-Independent Code Generator</a></i> — a guide to the components
|
Target-Independent Code Generator</a></i> — a guide to the components
|
||||||
(classes and code generation algorithms) for translating the LLVM internal
|
(classes and code generation algorithms) for translating the LLVM internal
|
||||||
representation into machine code for a specified target. Pay particular
|
representation into machine code for a specified target. Pay particular
|
||||||
|
|
@ -129,14 +129,14 @@ These essential documents must be read before reading this document:
|
||||||
Allocation, Prolog/Epilog Code Insertion, Late Machine Code Optimizations,
|
Allocation, Prolog/Epilog Code Insertion, Late Machine Code Optimizations,
|
||||||
and Code Emission.</li>
|
and Code Emission.</li>
|
||||||
|
|
||||||
<li><i><a href="http://www.llvm.org/docs/TableGenFundamentals.html">TableGen
|
<li><i><a href="TableGenFundamentals.html">TableGen
|
||||||
Fundamentals</a></i> —a document that describes the TableGen
|
Fundamentals</a></i> —a document that describes the TableGen
|
||||||
(<tt>tblgen</tt>) application that manages domain-specific information to
|
(<tt>tblgen</tt>) application that manages domain-specific information to
|
||||||
support LLVM code generation. TableGen processes input from a target
|
support LLVM code generation. TableGen processes input from a target
|
||||||
description file (<tt>.td</tt> suffix) and generates C++ code that can be
|
description file (<tt>.td</tt> suffix) and generates C++ code that can be
|
||||||
used for code generation.</li>
|
used for code generation.</li>
|
||||||
|
|
||||||
<li><i><a href="http://www.llvm.org/docs/WritingAnLLVMPass.html">Writing an LLVM
|
<li><i><a href="WritingAnLLVMPass.html">Writing an LLVM
|
||||||
Pass</a></i> — The assembly printer is a <tt>FunctionPass</tt>, as are
|
Pass</a></i> — The assembly printer is a <tt>FunctionPass</tt>, as are
|
||||||
several SelectionDAG processing steps.</li>
|
several SelectionDAG processing steps.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
@ -230,7 +230,7 @@ that the class will need and which components will need to be subclassed.
|
||||||
To actually create your compiler backend, you need to create and modify a few
|
To actually create your compiler backend, you need to create and modify a few
|
||||||
files. The absolute minimum is discussed here. But to actually use the LLVM
|
files. The absolute minimum is discussed here. But to actually use the LLVM
|
||||||
target-independent code generator, you must perform the steps described in
|
target-independent code generator, you must perform the steps described in
|
||||||
the <a href="http://www.llvm.org/docs/CodeGenerator.html">LLVM
|
the <a href="CodeGenerator.html">LLVM
|
||||||
Target-Independent Code Generator</a> document.
|
Target-Independent Code Generator</a> document.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
@ -896,7 +896,7 @@ namespace SP { // Register class instances
|
||||||
<!-- ======================================================================= -->
|
<!-- ======================================================================= -->
|
||||||
<div class="doc_subsection">
|
<div class="doc_subsection">
|
||||||
<a name="implementRegister">Implement a subclass of</a>
|
<a name="implementRegister">Implement a subclass of</a>
|
||||||
<a href="http://www.llvm.org/docs/CodeGenerator.html#targetregisterinfo">TargetRegisterInfo</a>
|
<a href="CodeGenerator.html#targetregisterinfo">TargetRegisterInfo</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="doc_text">
|
<div class="doc_text">
|
||||||
|
|
@ -1103,7 +1103,7 @@ The fifth parameter is a string that is used by the assembly printer and can be
|
||||||
left as an empty string until the assembly printer interface is implemented. The
|
left as an empty string until the assembly printer interface is implemented. The
|
||||||
sixth and final parameter is the pattern used to match the instruction during
|
sixth and final parameter is the pattern used to match the instruction during
|
||||||
the SelectionDAG Select Phase described in
|
the SelectionDAG Select Phase described in
|
||||||
(<a href="http://www.llvm.org/docs/CodeGenerator.html">The LLVM
|
(<a href="CodeGenerator.html">The LLVM
|
||||||
Target-Independent Code Generator</a>). This parameter is detailed in the next
|
Target-Independent Code Generator</a>). This parameter is detailed in the next
|
||||||
section, <a href="#InstructionSelector">Instruction Selector</a>.
|
section, <a href="#InstructionSelector">Instruction Selector</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -1285,7 +1285,7 @@ the <tt>rd</tt>, <tt>rs1</tt>, and <tt>rs2</tt> fields respectively.
|
||||||
<!-- ======================================================================= -->
|
<!-- ======================================================================= -->
|
||||||
<div class="doc_subsection">
|
<div class="doc_subsection">
|
||||||
<a name="implementInstr">Implement a subclass of </a>
|
<a name="implementInstr">Implement a subclass of </a>
|
||||||
<a href="http://www.llvm.org/docs/CodeGenerator.html#targetinstrinfo">TargetInstrInfo</a>
|
<a href="CodeGenerator.html#targetinstrinfo">TargetInstrInfo</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="doc_text">
|
<div class="doc_text">
|
||||||
|
|
@ -1533,7 +1533,7 @@ selection pass into the queue of passes to run.
|
||||||
The LLVM static compiler (<tt>llc</tt>) is an excellent tool for visualizing the
|
The LLVM static compiler (<tt>llc</tt>) is an excellent tool for visualizing the
|
||||||
contents of DAGs. To display the <tt>SelectionDAG</tt> before or after specific
|
contents of DAGs. To display the <tt>SelectionDAG</tt> before or after specific
|
||||||
processing phases, use the command line options for <tt>llc</tt>, described
|
processing phases, use the command line options for <tt>llc</tt>, described
|
||||||
at <a href="http://llvm.org/docs/CodeGenerator.html#selectiondag_process">
|
at <a href="CodeGenerator.html#selectiondag_process">
|
||||||
SelectionDAG Instruction Selection Process</a>.
|
SelectionDAG Instruction Selection Process</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ LLVM for a custom language, and the facilities LLVM offers in tutorial form.</li
|
||||||
<li><a href="DeveloperPolicy.html">Developer Policy</a> - The LLVM project's
|
<li><a href="DeveloperPolicy.html">Developer Policy</a> - The LLVM project's
|
||||||
policy towards developers and their contributions.</li>
|
policy towards developers and their contributions.</li>
|
||||||
|
|
||||||
<li><a href="/docs/CommandGuide/index.html">LLVM Command Guide</a> - A reference
|
<li><a href="CommandGuide/index.html">LLVM Command Guide</a> - A reference
|
||||||
manual for the LLVM command line utilities ("man" pages for LLVM tools).<br>
|
manual for the LLVM command line utilities ("man" pages for LLVM tools).<br>
|
||||||
Current tools:
|
Current tools:
|
||||||
<a href="/cmds/llvm-ar.html">llvm-ar</a>,
|
<a href="/cmds/llvm-ar.html">llvm-ar</a>,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue