From e5dc84b73c765c65a3eba3be9467578a88d3477a Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 19 Jul 2005 01:36:35 +0000 Subject: Provide descriptions for the TargetInstrInfo and TargetFrameInfo classes. llvm-svn: 22466 --- llvm/docs/CodeGenerator.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'llvm/docs/CodeGenerator.html') 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 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 -- cgit v1.2.3