[llvm-commits] CVS: llvm/docs/CodeGenerator.html

Reid Spencer reid at x10sys.com
Mon Jul 18 18:36:47 PDT 2005



Changes in directory llvm/docs:

CodeGenerator.html updated: 1.15 -> 1.16
---
Log message:

Provide descriptions for the TargetInstrInfo and TargetFrameInfo classes.


---
Diffs of the changes:  (+21 -1)

 CodeGenerator.html |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletion(-)


Index: llvm/docs/CodeGenerator.html
diff -u llvm/docs/CodeGenerator.html:1.15 llvm/docs/CodeGenerator.html:1.16
--- llvm/docs/CodeGenerator.html:1.15	Mon Jul 11 19:20:49 2005
+++ llvm/docs/CodeGenerator.html	Mon Jul 18 20:36:35 2005
@@ -383,11 +383,31 @@
   <a name="targetinstrinfo">The <tt>TargetInstrInfo</tt> class</a>
 </div>
 
+<div class="doc_text">
+  <p>The <tt>TargetInstrInfo</tt> class is used to describe the machine 
+  instructions supported by the target. It is essentially an array of 
+  <tt>TargetInstrDescriptor</tt> objects, each of which describes one
+  instruction the target supports. Descriptors define things like the mnemonic
+  for the opcode, the number of operands, the size of the largets immediate
+  field the instruction can contain, the latency of the instruction in machine
+  cycles, etc.</p>
+</div>
+
 <!-- ======================================================================= -->
 <div class="doc_subsection">
   <a name="targetframeinfo">The <tt>TargetFrameInfo</tt> class</a>
 </div>
 
+<div class="doc_text">
+  <p>The <tt>TargetFrameInfo</tt> class is used to provide information about the
+  stack frame layout of the target. It holds the direction of stack growth, 
+  the known stack alignment on entry to each function, and the offset to the 
+  locals area.  The offset to the local area is the offset from the stack 
+  pointer on function entry to the first location where function data (local 
+  variables, spill locations) can be stored.</p>
+  <p>The class also provides several functions for computing alignment and
+  offsets for various situations.</p>
+</div>
 <!-- ======================================================================= -->
 <div class="doc_subsection">
   <a name="targetjitinfo">The <tt>TargetJITInfo</tt> class</a>
@@ -1014,7 +1034,7 @@
 
   <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2005/07/12 00:20:49 $
+  Last modified: $Date: 2005/07/19 01:36:35 $
 </address>
 
 </body>






More information about the llvm-commits mailing list