mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
* Add a link to the pattern-matching codegen docs
* Tersify wording git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22099 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -110,13 +110,15 @@ step can be almost automated.</li>
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>You also need to write an instruction selector for your platform. The
|
<p>You also need to write an instruction selector for your platform. The
|
||||||
recommended method is the pattern-matching instruction selector. You can see
|
recommended method is the <a
|
||||||
examples in other targets: <tt>lib/Target/*/*ISelPattern.cpp</tt>. The former
|
href="CodeGenerator.html#instselect">pattern-matching instruction selector</a>,
|
||||||
method for writing instruction selectors (<b>not</b> recommended) is
|
examples of which you can see in other targets:
|
||||||
encapsulated in <tt>lib/Target/*/*ISelSimple.cpp</tt>, which are
|
<tt>lib/Target/*/*ISelPattern.cpp</tt>. The former method for writing
|
||||||
<tt>InstVisitor</tt>-based translators, generating code for an LLVM instruction
|
instruction selectors (<b>not</b> recommended for new targets) is evident in
|
||||||
at a time. Creating an instruction selector is perhaps the most time-consuming
|
<tt>lib/Target/*/*ISelSimple.cpp</tt>, which are <tt>InstVisitor</tt>-based
|
||||||
part of creating a back-end.</p>
|
translators, generating code for an LLVM instruction at a time. Creating an
|
||||||
|
instruction selector is perhaps the most time-consuming part of creating a
|
||||||
|
back-end.</p>
|
||||||
|
|
||||||
<p>To create a JIT for your platform:</p>
|
<p>To create a JIT for your platform:</p>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user