diff options
Diffstat (limited to 'llvm/docs/WritingAnLLVMBackend.rst')
-rw-r--r-- | llvm/docs/WritingAnLLVMBackend.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/WritingAnLLVMBackend.rst b/llvm/docs/WritingAnLLVMBackend.rst index 73381b54517..a2a0f6cdcaa 100644 --- a/llvm/docs/WritingAnLLVMBackend.rst +++ b/llvm/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 enumemation in llvm::XXX::Sched namespace 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 ---------------------------- |