summaryrefslogtreecommitdiff
path: root/docs/WritingAnLLVMBackend.rst
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2013-07-31 19:31:20 +0000
committerVincent Lejeune <vljn@ovi.com>2013-07-31 19:31:20 +0000
commit2ca1e4a39c7e0d7a00e66ff5437c6d7ace2404a0 (patch)
tree3377ca57cf2bdc80a5130a457724dabc9701ac83 /docs/WritingAnLLVMBackend.rst
parentacf73503851815f8251b78e3b2e7cf91ef738c50 (diff)
downloadllvm-2ca1e4a39c7e0d7a00e66ff5437c6d7ace2404a0.tar.gz
llvm-2ca1e4a39c7e0d7a00e66ff5437c6d7ace2404a0.tar.bz2
llvm-2ca1e4a39c7e0d7a00e66ff5437c6d7ace2404a0.tar.xz
TableGen: Enumerate Schedule Model too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/WritingAnLLVMBackend.rst')
-rw-r--r--docs/WritingAnLLVMBackend.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/WritingAnLLVMBackend.rst b/docs/WritingAnLLVMBackend.rst
index 73381b5451..85d0de11e8 100644
--- a/docs/WritingAnLLVMBackend.rst
+++ b/docs/WritingAnLLVMBackend.rst
@@ -952,6 +952,11 @@ XXXInstrInfo.h:
int16_t getNamedOperandIdx(uint16_t Opcode, uint16_t NamedIndex);
} // End namespace XXX
+Instruction itineraries can be queried using MCDesc::getSchedClass(). The
+value can be named by an enum generated by TableGen in XXXGenInstrInfo.inc.
+The name of the schedule classes are the same as provided in XXXSchedule.td plus
+a default NoIntinerary class.
+
Instruction Relation Mapping
----------------------------