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 "../6l/6.out.h" | 10 #include "../6l/6.out.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 void proglist(void); | 64 void proglist(void); |
65 void gen(Node*); | 65 void gen(Node*); |
66 Node* lookdot(Node*, Node*, int); | 66 Node* lookdot(Node*, Node*, int); |
67 void cgen_as(Node*, Node*); | 67 void cgen_as(Node*, Node*); |
68 void cgen_callmeth(Node*, int); | 68 void cgen_callmeth(Node*, int); |
69 void cgen_callinter(Node*, Node*, int); | 69 void cgen_callinter(Node*, Node*, int); |
70 void cgen_proc(Node*, int); | 70 void cgen_proc(Node*, int); |
71 void cgen_callret(Node*, Node*); | 71 void cgen_callret(Node*, Node*); |
72 void cgen_div(int, Node*, Node*, Node*); | 72 void cgen_div(int, Node*, Node*, Node*); |
73 void cgen_bmul(int, Node*, Node*, Node*); | 73 void cgen_bmul(int, Node*, Node*, Node*); |
| 74 void cgen_hmul(Node*, Node*, Node*); |
74 void cgen_shift(int, int, Node*, Node*, Node*); | 75 void cgen_shift(int, int, Node*, Node*, Node*); |
75 void cgen_dcl(Node*); | 76 void cgen_dcl(Node*); |
76 int needconvert(Type*, Type*); | 77 int needconvert(Type*, Type*); |
77 void genconv(Type*, Type*); | 78 void genconv(Type*, Type*); |
78 void allocparams(void); | 79 void allocparams(void); |
79 void checklabels(); | 80 void checklabels(); |
80 void ginscall(Node*, int); | 81 void ginscall(Node*, int); |
81 int gen_as_init(Node*); | 82 int gen_as_init(Node*); |
82 void clearslim(Node*); | 83 void clearslim(Node*); |
83 | 84 |
84 /* | 85 /* |
85 * cgen.c | 86 * cgen.c |
86 */ | 87 */ |
87 void agen(Node*, Node*); | 88 void agen(Node*, Node*); |
88 void agenr(Node*, Node*, Node*); | 89 void agenr(Node*, Node*, Node*); |
| 90 void cgenr(Node*, Node*, Node*); |
89 void igen(Node*, Node*, Node*); | 91 void igen(Node*, Node*, Node*); |
90 vlong fieldoffset(Type*, Node*); | 92 vlong fieldoffset(Type*, Node*); |
91 void sgen(Node*, Node*, int64); | 93 void sgen(Node*, Node*, int64); |
92 void gmove(Node*, Node*); | 94 void gmove(Node*, Node*); |
93 Prog* gins(int, Node*, Node*); | 95 Prog* gins(int, Node*, Node*); |
94 int samaddr(Node*, Node*); | 96 int samaddr(Node*, Node*); |
95 void naddr(Node*, Addr*, int); | 97 void naddr(Node*, Addr*, int); |
96 void cgen_aret(Node*, Node*); | 98 void cgen_aret(Node*, Node*); |
97 void restx(Node*, Node*); | 99 void restx(Node*, Node*); |
98 void savex(int, Node*, Node*, Node*, Type*); | 100 void savex(int, Node*, Node*, Node*, Type*); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 int Dconv(Fmt*); | 151 int Dconv(Fmt*); |
150 int Pconv(Fmt*); | 152 int Pconv(Fmt*); |
151 int Rconv(Fmt*); | 153 int Rconv(Fmt*); |
152 int Yconv(Fmt*); | 154 int Yconv(Fmt*); |
153 void listinit(void); | 155 void listinit(void); |
154 | 156 |
155 void zaddr(Biobuf*, Addr*, int, int); | 157 void zaddr(Biobuf*, Addr*, int, int); |
156 | 158 |
157 #pragma varargck type "D" Addr* | 159 #pragma varargck type "D" Addr* |
158 #pragma varargck type "lD" Addr* | 160 #pragma varargck type "lD" Addr* |
LEFT | RIGHT |