diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2005-07-19 01:36:35 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2005-07-19 01:36:35 +0000 |
| commit | e5dc84b73c765c65a3eba3be9467578a88d3477a (patch) | |
| tree | 30305975084f9bfb9be2d7095c47d5e8e50c38c8 /llvm/docs/CodeGenerator.html | |
| parent | 247aef884c78dc5b92a4aa73d2629fc12ba009ae (diff) | |
| download | bcm5719-llvm-e5dc84b73c765c65a3eba3be9467578a88d3477a.tar.gz bcm5719-llvm-e5dc84b73c765c65a3eba3be9467578a88d3477a.zip | |
Provide descriptions for the TargetInstrInfo and TargetFrameInfo classes.
llvm-svn: 22466
Diffstat (limited to 'llvm/docs/CodeGenerator.html')
| -rw-r--r-- | llvm/docs/CodeGenerator.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/llvm/docs/CodeGenerator.html b/llvm/docs/CodeGenerator.html index 700a4fcf224..c7ffbc6f965 100644 --- a/llvm/docs/CodeGenerator.html +++ b/llvm/docs/CodeGenerator.html @@ -383,11 +383,31 @@ href="TableGenFundamentals.html">TableGen</a> description of the register file. <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> |

