From: Reid Spencer Date: Tue, 19 Jul 2005 01:36:35 +0000 (+0000) Subject: Provide descriptions for the TargetInstrInfo and TargetFrameInfo classes. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=627cd0005c1ff00bb88eb89051c233cf1de67cea;p=oota-llvm.git Provide descriptions for the TargetInstrInfo and TargetFrameInfo classes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22466 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html index 700a4fcf224..c7ffbc6f965 100644 --- a/docs/CodeGenerator.html +++ b/docs/CodeGenerator.html @@ -383,11 +383,31 @@ href="TableGenFundamentals.html">TableGen description of the register file. The TargetInstrInfo class +
+

The TargetInstrInfo class is used to describe the machine + instructions supported by the target. It is essentially an array of + TargetInstrDescriptor 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.

+
+
The TargetFrameInfo class
+
+

The TargetFrameInfo 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.

+

The class also provides several functions for computing alignment and + offsets for various situations.

+
The TargetJITInfo class