3 <!-- This HTML file has been created by texi2html 1.54
4 from suif1.texi on 28 April 1999 -->
6 <TITLE>The SUIF Version
1 Library - Annotations
</TITLE>
7 <link href=
"suif1_70.html" rel=Next
>
8 <link href=
"suif1_68.html" rel=Previous
>
9 <link href=
"suif1_toc.html" rel=ToC
>
13 <p>Go to the
<A HREF=
"suif1_1.html">first
</A>,
<A HREF=
"suif1_68.html">previous
</A>,
<A HREF=
"suif1_70.html">next
</A>,
<A HREF=
"suif1_113.html">last
</A> section,
<A HREF=
"suif1_toc.html">table of contents
</A>.
17 <H1><A NAME=
"SEC69" HREF=
"suif1_toc.html#TOC69">Annotations
</A></H1>
24 Because it is a research compiler, SUIF is designed to be both flexible
25 and extensible.
<STRONG>Annotations
</STRONG>, which may contain arbitrary data
26 structures, are the primary means of providing this extensibility.
27 Objects that are derived from the
<CODE>suif_object
</CODE> class have lists of
28 annotations associated with them. This includes most of the major SUIF
29 objects such as instructions, tree nodes, symbols, types, symbol tables,
30 and file set entries. New annotations can be declared by any program
31 and used to record whatever information is needed within that program.
32 They can also be written to the SUIF output files so that other programs
33 can use them. The
<STRONG>annotation manager
</STRONG> records the annotation names
34 and the format of the data associated with each kind of annotation.
39 <LI><A HREF=
"suif1_70.html#SEC70">Annotation Overview
</A>: Brief description of annotations.
40 <LI><A HREF=
"suif1_71.html#SEC71">Flat Annotes
</A>: Lists of
<CODE>immed
</CODE> values.
41 <LI><A HREF=
"suif1_72.html#SEC72">Structured Annotes
</A>: User-defined data structures in annotations.
42 <LI><A HREF=
"suif1_73.html#SEC73">Unregistered Annotes
</A>: Annotations not registered with the manager.
43 <LI><A HREF=
"suif1_74.html#SEC74">Predefined Annotes
</A>: Annotations defined in the SUIF library.
44 <LI><A HREF=
"suif1_79.html#SEC79">Annotation Manager
</A>: Keeping track of the registered annotations.
45 <LI><A HREF=
"suif1_83.html#SEC83">SUIF Objects
</A>: Base class for objects with annotations.
46 <LI><A HREF=
"suif1_84.html#SEC84">Annote Lists
</A>: Handling lists of annotations.
50 <p>Go to the
<A HREF=
"suif1_1.html">first
</A>,
<A HREF=
"suif1_68.html">previous
</A>,
<A HREF=
"suif1_70.html">next
</A>,
<A HREF=
"suif1_113.html">last
</A> section,
<A HREF=
"suif1_toc.html">table of contents
</A>.