annotate mc-codegen.h @ 221:ceae585186d9

*** empty log message ***
author kono
date Mon, 26 Apr 2004 05:35:33 +0900
parents c193120ee2a6
children 1ac647873577
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
144
56211702f298 creg/freg continue
kono
parents: 138
diff changeset
1 /* for mc-codegen.c */
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
2
221
ceae585186d9 *** empty log message ***
kono
parents: 195
diff changeset
3 extern int use; /* generated value will be used in gexpr */
83
f3f75911d62c *** empty log message ***
kono
parents: 81
diff changeset
4
221
ceae585186d9 *** empty log message ***
kono
parents: 195
diff changeset
5 #define USE_CREG (-1)
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
6
104
c21aeb12b78b *** empty log message ***
kono
parents: 102
diff changeset
7 /* function provided by mc-code-*.c */
c21aeb12b78b *** empty log message ***
kono
parents: 102
diff changeset
8
105
7e3d59e56a53 save register ( incomplete )
kono
parents: 104
diff changeset
9 extern int get_register_var(NMTBL *);
138
e6e77af048a1 float/dobule configuration
kono
parents: 137
diff changeset
10 extern int get_dregister_var(NMTBL *,int);
195
c193120ee2a6 *** empty log message ***
kono
parents: 147
diff changeset
11 extern int get_lregister_var(NMTBL *);
137
9fb09db54436 fix powerpc get_fregister_var's regs error.
kono
parents: 133
diff changeset
12
9fb09db54436 fix powerpc get_fregister_var's regs error.
kono
parents: 133
diff changeset
13 extern void arg_register(NMTBL *fnptr);
104
c21aeb12b78b *** empty log message ***
kono
parents: 102
diff changeset
14
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
15 /* function provided by mc-codegen.c */
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
16
102
3cf2f8c120b9 *** empty log message ***
kono
parents: 99
diff changeset
17 extern void codegen_init();
3cf2f8c120b9 *** empty log message ***
kono
parents: 99
diff changeset
18
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
19 extern void def_label(int cslabel, int dlabel);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
20 extern int backdef(void);
137
9fb09db54436 fix powerpc get_fregister_var's regs error.
kono
parents: 133
diff changeset
21 extern int free_register_count(int);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
22 extern int fwdlabel(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
23 extern void b_expr(int e1, char cond, int l1,int err);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
24 extern void bexpr(int e1, char cond, int l1);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
25 extern void emit_init(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
26 extern void fwddef(int l);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
27
98
07c2554e1cfa *** empty log message ***
kono
parents: 95
diff changeset
28 extern int is_code(NMTBL *fnptr);
07c2554e1cfa *** empty log message ***
kono
parents: 95
diff changeset
29 extern int is_function(NMTBL *fnptr);
07c2554e1cfa *** empty log message ***
kono
parents: 95
diff changeset
30
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
31 extern int csvalue();
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
32 extern void cmpdimm(int e, int csreg);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
33 extern void code_enter(char *name) ;
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
34 extern void code_enter1(int args);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
35 extern void code_init(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
36 extern void code_leave(char *name) ;
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
37 extern void emit_data(int e, int t, NMTBL *n);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
38 extern void emit_data_closing(NMTBL *n);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
39 extern void emit_init(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
40 extern void enter(char *name);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
41 extern void enter1();
94
1ad7045741a7 float dbinop fix
kono
parents: 89
diff changeset
42 extern int g_expr(int e1);
99
53899975154c *** empty log message ***
kono
parents: 98
diff changeset
43 extern int g_expr_u(int e1);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
44 extern void gen_comment(char *s);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
45 extern void gen_gdecl(char *n, int gpc);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
46 extern void gen_source(char *s);
94
1ad7045741a7 float dbinop fix
kono
parents: 89
diff changeset
47 extern int gexpr(int e1,int use);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
48 extern void gexpr_init(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
49 extern void jcond(int l, char cond);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
50 extern void jmp(int l);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
51 extern void jmp_eq_label(int l);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
52 extern void jmp_label(int l);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
53 extern void leave(int control, char *name);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
54 extern void opening(char *filename);
66
0b068058dd67 *** empty log message ***
kono
parents: 61
diff changeset
55 extern void closing();
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
56 extern void ret(void);
78
8418d4b7caa7 *** empty log message ***
kono
parents: 77
diff changeset
57 extern void creg_destroy();
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
58
99
53899975154c *** empty log message ***
kono
parents: 98
diff changeset
59 extern int contains(int e,int type);
104
c21aeb12b78b *** empty log message ***
kono
parents: 102
diff changeset
60 extern int contains_in_list(int e,int type);
99
53899975154c *** empty log message ***
kono
parents: 98
diff changeset
61
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
62
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
63 /* end */