Remove a few more warnings.
[suif.git] / html / suif1_61.html
blob7d9ee7d3e2c5dac689f0be12f5f04d2a4d5de154
1 <HTML>
2 <HEAD>
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 - Base Types</TITLE>
7 <link href="suif1_62.html" rel=Next>
8 <link href="suif1_60.html" rel=Previous>
9 <link href="suif1_toc.html" rel=ToC>
11 </HEAD>
12 <BODY>
13 <p>Go to the <A HREF="suif1_1.html">first</A>, <A HREF="suif1_60.html">previous</A>, <A HREF="suif1_62.html">next</A>, <A HREF="suif1_113.html">last</A> section, <A HREF="suif1_toc.html">table of contents</A>.
14 <P><HR><P>
17 <H2><A NAME="SEC61" HREF="suif1_toc.html#TOC61">Base Types</A></H2>
18 <P>
19 <A NAME="IDX427"></A>
20 <A NAME="IDX428"></A>
22 </P>
23 <P>
24 <A NAME="IDX429"></A>
25 The <CODE>TYPE_VOID</CODE>, <CODE>TYPE_INT</CODE>, <CODE>TYPE_FLOAT</CODE>, and
26 <CODE>TYPE_ENUM</CODE> operators define the base types. Whereas other kinds
27 of types are defined in terms of existing types, the base types stand
28 alone. The <CODE>base_type</CODE> class is derived from <CODE>type_node</CODE> to
29 hold the base types. It has only two fields: the size and a flag to
30 indicate whether integer and enumerated types are signed or unsigned.
32 </P>
33 <P>
34 <A NAME="IDX430"></A>
35 <A NAME="IDX431"></A>
36 <A NAME="IDX432"></A>
37 The <CODE>set_size</CODE> method sets the size of a base type in bits. Types
38 with a <CODE>TYPE_VOID</CODE> operator should always have a size of zero.
39 Integer and floating-point types can have any sizes, although normally
40 the sizes are restricted by the target machine parameters (see section <A HREF="suif1_103.html#SEC103">Target Machine Parameters</A>). Other sizes may cause the code generator to fail.
41 For integer and enumerated types, the <CODE>is_signed</CODE> method is used to
42 check the flag that indicates whether they are signed or unsigned. The
43 <CODE>set_signed</CODE> method changes the value of the flag.
45 </P>
46 <P>
47 Besides the features that they share with the other base types,
48 enumerated types have other fields and methods used to record the names
49 and values of their members. See section <A HREF="suif1_66.html#SEC66">Enumerated Types</A>.
51 </P>
53 <P><HR><P>
54 <p>Go to the <A HREF="suif1_1.html">first</A>, <A HREF="suif1_60.html">previous</A>, <A HREF="suif1_62.html">next</A>, <A HREF="suif1_113.html">last</A> section, <A HREF="suif1_toc.html">table of contents</A>.
55 </BODY>
56 </HTML>