summaryrefslogtreecommitdiff
path: root/docs/WritingAnLLVMBackend.rst
diff options
context:
space:
mode:
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
----------------------------