[llvm] r194977 - Docs: Clearly separate Operand-related paragraphs.

Ahmed Bougacha ahmed.bougacha at gmail.com
Sun Nov 17 13:24:37 PST 2013


Author: ab
Date: Sun Nov 17 15:24:37 2013
New Revision: 194977

URL: http://llvm.org/viewvc/llvm-project?rev=194977&view=rev
Log:
Docs: Clearly separate Operand-related paragraphs.

Modified:
    llvm/trunk/docs/WritingAnLLVMBackend.rst

Modified: llvm/trunk/docs/WritingAnLLVMBackend.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/WritingAnLLVMBackend.rst?rev=194977&r1=194976&r2=194977&view=diff
==============================================================================
--- llvm/trunk/docs/WritingAnLLVMBackend.rst (original)
+++ llvm/trunk/docs/WritingAnLLVMBackend.rst Sun Nov 17 15:24:37 2013
@@ -911,6 +911,9 @@ format instructions will bind the operan
 fields.  This results in the ``XNORrr`` instruction binding ``$dst``, ``$b``,
 and ``$c`` operands to the ``rd``, ``rs1``, and ``rs2`` fields respectively.
 
+Instruction Operand Name Mapping
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
 TableGen will also generate a function called getNamedOperandIdx() which
 can be used to look up an operand's index in a MachineInstr based on its
 TableGen name.  Setting the UseNamedOperandTable bit in an instruction's
@@ -952,6 +955,9 @@ XXXInstrInfo.h:
     int16_t getNamedOperandIdx(uint16_t Opcode, uint16_t NamedIndex);
   } // End namespace XXX
 
+Instruction Scheduling
+----------------------
+
 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





More information about the llvm-commits mailing list