LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef EXTERN | 5 #ifndef EXTERN |
6 #define EXTERN extern | 6 #define EXTERN extern |
7 #endif | 7 #endif |
8 | 8 |
9 #include "../gc/go.h" | 9 #include "../gc/go.h" |
10 #include "../8l/8.out.h" | 10 #include "../8l/8.out.h" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 void checklabels(); | 91 void checklabels(); |
92 void ginscall(Node*, int); | 92 void ginscall(Node*, int); |
93 | 93 |
94 /* | 94 /* |
95 * cgen.c | 95 * cgen.c |
96 */ | 96 */ |
97 void agen(Node*, Node*); | 97 void agen(Node*, Node*); |
98 void agenr(Node *n, Node *a, Node *res); | 98 void agenr(Node *n, Node *a, Node *res); |
99 void igen(Node*, Node*, Node*); | 99 void igen(Node*, Node*, Node*); |
100 vlong fieldoffset(Type*, Node*); | 100 vlong fieldoffset(Type*, Node*); |
101 void bgen(Node*, int, Prog*); | |
102 void sgen(Node*, Node*, int64); | 101 void sgen(Node*, Node*, int64); |
103 void gmove(Node*, Node*); | 102 void gmove(Node*, Node*); |
104 Prog* gins(int, Node*, Node*); | 103 Prog* gins(int, Node*, Node*); |
105 int samaddr(Node*, Node*); | 104 int samaddr(Node*, Node*); |
106 void naddr(Node*, Addr*, int); | 105 void naddr(Node*, Addr*, int); |
107 void cgen_aret(Node*, Node*); | 106 void cgen_aret(Node*, Node*); |
108 int cgen_inline(Node*, Node*); | 107 int cgen_inline(Node*, Node*); |
109 Node* ncon(uint32); | 108 Node* ncon(uint32); |
110 void mgen(Node*, Node*, Node*); | 109 void mgen(Node*, Node*, Node*); |
111 void mfree(Node*); | 110 void mfree(Node*); |
112 | 111 |
113 /* | 112 /* |
114 * cgen64.c | 113 * cgen64.c |
115 */ | 114 */ |
116 void» cmp64(Node*, Node*, int, Prog*); | 115 void» cmp64(Node*, Node*, int, int, Prog*); |
117 void cgen64(Node*, Node*); | 116 void cgen64(Node*, Node*); |
118 | 117 |
119 /* | 118 /* |
120 * gsubr.c | 119 * gsubr.c |
121 */ | 120 */ |
122 void clearp(Prog*); | 121 void clearp(Prog*); |
123 void proglist(void); | 122 void proglist(void); |
124 Prog*» gbranch(int, Type*); | 123 Prog*» gbranch(int, Type*, int); |
125 void» expecttaken(Prog*, int); | |
126 Prog* prog(int); | 124 Prog* prog(int); |
127 void gaddoffset(Node*); | 125 void gaddoffset(Node*); |
128 void gconv(int, int); | 126 void gconv(int, int); |
129 int conv2pt(Type*); | 127 int conv2pt(Type*); |
130 vlong convvtox(vlong, int); | 128 vlong convvtox(vlong, int); |
131 void fnparam(Type*, int, int); | 129 void fnparam(Type*, int, int); |
132 Prog* gop(int, Node*, Node*, Node*); | 130 Prog* gop(int, Node*, Node*, Node*); |
133 void setconst(Addr*, vlong); | 131 void setconst(Addr*, vlong); |
134 void setaddr(Addr*, Node*); | 132 void setaddr(Addr*, Node*); |
135 int optoas(int, Type*); | 133 int optoas(int, Type*); |
(...skipping 19 matching lines...) Expand all Loading... |
155 void split64(Node*, Node*, Node*); | 153 void split64(Node*, Node*, Node*); |
156 void splitclean(void); | 154 void splitclean(void); |
157 void nswap(Node*, Node*); | 155 void nswap(Node*, Node*); |
158 | 156 |
159 /* | 157 /* |
160 * cplx.c | 158 * cplx.c |
161 */ | 159 */ |
162 int complexop(Node*, Node*); | 160 int complexop(Node*, Node*); |
163 void complexmove(Node*, Node*); | 161 void complexmove(Node*, Node*); |
164 void complexgen(Node*, Node*); | 162 void complexgen(Node*, Node*); |
165 void complexbool(int, Node*, Node*, int, Prog*); | |
166 | 163 |
167 /* | 164 /* |
168 * list.c | 165 * list.c |
169 */ | 166 */ |
170 int Aconv(Fmt*); | 167 int Aconv(Fmt*); |
171 int Dconv(Fmt*); | 168 int Dconv(Fmt*); |
172 int Pconv(Fmt*); | 169 int Pconv(Fmt*); |
173 int Rconv(Fmt*); | 170 int Rconv(Fmt*); |
174 int Yconv(Fmt*); | 171 int Yconv(Fmt*); |
175 void listinit(void); | 172 void listinit(void); |
176 | 173 |
177 void zaddr(Biobuf*, Addr*, int, int); | 174 void zaddr(Biobuf*, Addr*, int, int); |
178 | 175 |
179 #pragma varargck type "D" Addr* | 176 #pragma varargck type "D" Addr* |
180 #pragma varargck type "lD" Addr* | 177 #pragma varargck type "lD" Addr* |
LEFT | RIGHT |