source: tests/.expect/functions.x86.txt @ d3aa64f1

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since d3aa64f1 was 3f06c05, checked in by Andrew Beach <ajbeach@…>, 4 years ago

Fixed InstantiateGeneric? so that it can handle cyclic type references (fixes #198). Does produce some extra code now (see (#199).

  • Property mode set to 100644
File size: 14.2 KB
RevLine 
[ec91336]1void _X1hFv___1(void){
[8eb348a]2}
[3c1fa71]3signed int _X1fFi_Fi__Fi_i_Fi__Fi_i_Fv____1(__attribute__ ((unused)) signed int (*__anonymous_object0)(void), __attribute__ ((unused)) signed int (*__anonymous_object1)(signed int __anonymous_object2), __attribute__ ((unused)) signed int (*__anonymous_object3)(void), __attribute__ ((unused)) signed int (*__anonymous_object4)(signed int __anonymous_object5), void (*_X1gFv___1)(void)){
[ec91336]4    __attribute__ ((unused)) signed int _X9_retval_fi_1;
[7b10ea9]5    {
6        ((void)(*_X1gFv___1)());
7    }
8
9    {
10        ((void)_X1gFv___1());
11    }
12
13    {
14        ((void)(_X1gFv___1=_X1hFv___1));
15    }
16
[8eb348a]17}
[ec91336]18signed int _X2f1Fi___1(){
19    __attribute__ ((unused)) signed int _X10_retval_f1i_1;
[8eb348a]20}
[ec91336]21signed int _X2f2Fi___1(){
22    __attribute__ ((unused)) signed int _X10_retval_f2i_1;
[8eb348a]23}
[ec91336]24signed int (*_X2f3FFi_____1())(){
25    __attribute__ ((unused)) signed int (*_X10_retval_f3Fi___1)();
[8eb348a]26}
[ec91336]27signed int *_X2f4FPi___1(){
28    __attribute__ ((unused)) signed int *_X10_retval_f4Pi_1;
[8eb348a]29}
[ec91336]30signed int (*_X2f5FFi_____1())(){
31    __attribute__ ((unused)) signed int (*_X10_retval_f5Fi___1)();
[8eb348a]32}
[ec91336]33signed int *_X2f6FPi___1(){
34    __attribute__ ((unused)) signed int *_X10_retval_f6Pi_1;
[8eb348a]35}
[ec91336]36signed int *_X2f7FPi___1(){
37    __attribute__ ((unused)) signed int *_X10_retval_f7Pi_1;
[8eb348a]38}
[ec91336]39signed int **_X2f8FPPi___1(){
40    __attribute__ ((unused)) signed int **_X10_retval_f8PPi_1;
[8eb348a]41}
[ec91336]42signed int *const *_X2f9FPKPi___1(){
43    __attribute__ ((unused)) signed int *const *_X10_retval_f9PKPi_1;
[8eb348a]44}
[ec91336]45signed int (*_X3f10FPA0i___1())[]{
46    __attribute__ ((unused)) signed int (*_X11_retval_f10PA0i_1)[];
[8eb348a]47}
[ec91336]48signed int (*_X3f11FPA0A0i___1())[][((unsigned int )3)]{
49    __attribute__ ((unused)) signed int (*_X11_retval_f11PA0A0i_1)[][((unsigned int )3)];
[8eb348a]50}
[ec91336]51signed int (*_X3f12FPA0A0i___1())[][((unsigned int )3)]{
52    __attribute__ ((unused)) signed int (*_X11_retval_f12PA0A0i_1)[][((unsigned int )3)];
[8eb348a]53}
[ec91336]54signed int _X4fII1Fi_i__1(signed int _X1ii_1){
55    __attribute__ ((unused)) signed int _X12_retval_fII1i_1;
[8eb348a]56}
[ec91336]57const signed int _X4fII2Fi_i__1(signed int _X1ii_1){
58    __attribute__ ((unused)) const signed int _X12_retval_fII2Ki_1;
[8eb348a]59}
[ec91336]60extern signed int _X4fII3Fi_i__1(signed int _X1ii_1){
61    __attribute__ ((unused)) signed int _X12_retval_fII3i_1;
[8eb348a]62}
[ec91336]63extern const signed int _X4fII4Fi_i__1(signed int _X1ii_1){
64    __attribute__ ((unused)) const signed int _X12_retval_fII4Ki_1;
[8eb348a]65}
[ec91336]66signed int *_X4fII5FPi___1(){
67    __attribute__ ((unused)) signed int *_X12_retval_fII5Pi_1;
[8eb348a]68}
[ec91336]69signed int *const _X4fII6FPi___1(){
70    __attribute__ ((unused)) signed int *const _X12_retval_fII6KPi_1;
[8eb348a]71}
[ec91336]72const signed long int *_X4fII7FPKl___1(){
73    __attribute__ ((unused)) const signed long int *_X12_retval_fII7PKl_1;
[8eb348a]74}
[ec91336]75static const signed long int *_X4fII8FPKl___1(){
76    __attribute__ ((unused)) const signed long int *_X12_retval_fII8PKl_1;
[8eb348a]77}
[ec91336]78static const signed long int *_X4fII9FPKl___1(){
79    __attribute__ ((unused)) const signed long int *_X12_retval_fII9PKl_1;
[8eb348a]80}
[ec91336]81signed int _X3fO1Fi_i__1(signed int _X1ii_1){
82    __attribute__ ((unused)) signed int _X11_retval_fO1i_1;
[8eb348a]83}
[ec91336]84signed int _X3fO2Fi_i__1(signed int _X1ii_1){
85    __attribute__ ((unused)) signed int _X11_retval_fO2i_1;
[8eb348a]86}
[ec91336]87const signed int _X3fO3Fi_i__1(signed int _X1ii_1){
88    __attribute__ ((unused)) const signed int _X11_retval_fO3Ki_1;
[8eb348a]89}
[ec91336]90extern signed int _X3fO4Fi_i__1(signed int _X1ii_1){
91    __attribute__ ((unused)) signed int _X11_retval_fO4i_1;
[8eb348a]92}
[ec91336]93extern const signed int _X3fO5Fi_i__1(signed int _X1ii_1){
94    __attribute__ ((unused)) const signed int _X11_retval_fO5Ki_1;
[8eb348a]95}
[ec91336]96signed int _X1fFi___1(void);
97signed int _X1fFi_i__1(signed int __anonymous_object6);
98signed int _X1fFi___1(void){
99    __attribute__ ((unused)) signed int _X9_retval_fi_1;
[8eb348a]100}
[3c1fa71]101signed int _X1fFi_i__1(__attribute__ ((unused)) signed int __anonymous_object7){
[ec91336]102    __attribute__ ((unused)) signed int _X9_retval_fi_1;
[8eb348a]103}
[ec91336]104signed int _X1fFi___1(void);
[8eb348a]105struct _tuple2_ {
106};
[ec91336]107static inline void _layoutof__tuple2_(unsigned long int *_sizeof__tuple2_, unsigned long int *_alignof__tuple2_, unsigned long int *_offsetof__tuple2_, unsigned long int _sizeof_Y15tuple_param_2_0, unsigned long int _alignof_Y15tuple_param_2_0, unsigned long int _sizeof_Y15tuple_param_2_1, unsigned long int _alignof_Y15tuple_param_2_1){
[8eb348a]108    ((void)((*_sizeof__tuple2_)=0));
109    ((void)((*_alignof__tuple2_)=1));
110    ((void)(_offsetof__tuple2_[0]=(*_sizeof__tuple2_)));
[ec91336]111    ((void)((*_sizeof__tuple2_)+=_sizeof_Y15tuple_param_2_0));
112    if ( ((*_alignof__tuple2_)<_alignof_Y15tuple_param_2_0) ) ((void)((*_alignof__tuple2_)=_alignof_Y15tuple_param_2_0));
[8eb348a]113
[ec91336]114    if ( ((*_sizeof__tuple2_)&(_alignof_Y15tuple_param_2_1-1)) ) ((void)((*_sizeof__tuple2_)+=(_alignof_Y15tuple_param_2_1-((*_sizeof__tuple2_)&(_alignof_Y15tuple_param_2_1-1)))));
[8eb348a]115
116    ((void)(_offsetof__tuple2_[1]=(*_sizeof__tuple2_)));
[ec91336]117    ((void)((*_sizeof__tuple2_)+=_sizeof_Y15tuple_param_2_1));
118    if ( ((*_alignof__tuple2_)<_alignof_Y15tuple_param_2_1) ) ((void)((*_alignof__tuple2_)=_alignof_Y15tuple_param_2_1));
[8eb348a]119
120    if ( ((*_sizeof__tuple2_)&((*_alignof__tuple2_)-1)) ) ((void)((*_sizeof__tuple2_)+=((*_alignof__tuple2_)-((*_sizeof__tuple2_)&((*_alignof__tuple2_)-1)))));
121
122}
[3f06c05]123struct _conc__tuple2_0;
[8eb348a]124struct _conc__tuple2_0 {
125    signed int field_0;
126    signed int field_1;
127};
[ec91336]128struct _conc__tuple2_0 _X1fFT2ii___1(void);
129struct _conc__tuple2_0 _X1fFT2ii_ii__1(signed int __anonymous_object8, signed int _X1xi_1);
130struct _conc__tuple2_0 _X1fFT2ii___1(void){
131    __attribute__ ((unused)) struct _conc__tuple2_0 _X9_retval_fT2ii_1 = {  };
[8eb348a]132}
[3c1fa71]133struct _conc__tuple2_0 _X1fFT2ii_ii__1(__attribute__ ((unused)) signed int __anonymous_object9, signed int _X1xi_1){
[ec91336]134    __attribute__ ((unused)) struct _conc__tuple2_0 _X9_retval_fT2ii_1 = {  };
[8eb348a]135}
136struct _tuple3_ {
137};
[ec91336]138static inline void _layoutof__tuple3_(unsigned long int *_sizeof__tuple3_, unsigned long int *_alignof__tuple3_, unsigned long int *_offsetof__tuple3_, unsigned long int _sizeof_Y15tuple_param_3_0, unsigned long int _alignof_Y15tuple_param_3_0, unsigned long int _sizeof_Y15tuple_param_3_1, unsigned long int _alignof_Y15tuple_param_3_1, unsigned long int _sizeof_Y15tuple_param_3_2, unsigned long int _alignof_Y15tuple_param_3_2){
[8eb348a]139    ((void)((*_sizeof__tuple3_)=0));
140    ((void)((*_alignof__tuple3_)=1));
141    ((void)(_offsetof__tuple3_[0]=(*_sizeof__tuple3_)));
[ec91336]142    ((void)((*_sizeof__tuple3_)+=_sizeof_Y15tuple_param_3_0));
143    if ( ((*_alignof__tuple3_)<_alignof_Y15tuple_param_3_0) ) ((void)((*_alignof__tuple3_)=_alignof_Y15tuple_param_3_0));
[8eb348a]144
[ec91336]145    if ( ((*_sizeof__tuple3_)&(_alignof_Y15tuple_param_3_1-1)) ) ((void)((*_sizeof__tuple3_)+=(_alignof_Y15tuple_param_3_1-((*_sizeof__tuple3_)&(_alignof_Y15tuple_param_3_1-1)))));
[8eb348a]146
147    ((void)(_offsetof__tuple3_[1]=(*_sizeof__tuple3_)));
[ec91336]148    ((void)((*_sizeof__tuple3_)+=_sizeof_Y15tuple_param_3_1));
149    if ( ((*_alignof__tuple3_)<_alignof_Y15tuple_param_3_1) ) ((void)((*_alignof__tuple3_)=_alignof_Y15tuple_param_3_1));
[8eb348a]150
[ec91336]151    if ( ((*_sizeof__tuple3_)&(_alignof_Y15tuple_param_3_2-1)) ) ((void)((*_sizeof__tuple3_)+=(_alignof_Y15tuple_param_3_2-((*_sizeof__tuple3_)&(_alignof_Y15tuple_param_3_2-1)))));
[8eb348a]152
153    ((void)(_offsetof__tuple3_[2]=(*_sizeof__tuple3_)));
[ec91336]154    ((void)((*_sizeof__tuple3_)+=_sizeof_Y15tuple_param_3_2));
155    if ( ((*_alignof__tuple3_)<_alignof_Y15tuple_param_3_2) ) ((void)((*_alignof__tuple3_)=_alignof_Y15tuple_param_3_2));
[8eb348a]156
157    if ( ((*_sizeof__tuple3_)&((*_alignof__tuple3_)-1)) ) ((void)((*_sizeof__tuple3_)+=((*_alignof__tuple3_)-((*_sizeof__tuple3_)&((*_alignof__tuple3_)-1)))));
158
159}
[3f06c05]160struct _conc__tuple3_1;
[8eb348a]161struct _conc__tuple3_1 {
162    signed int field_0;
163    signed int field_1;
164    signed int field_2;
165};
[ec91336]166struct _conc__tuple3_1 _X1fFT3iii___1(void);
167struct _conc__tuple3_1 _X1fFT3iii_iii__1(signed int __anonymous_object10, signed int _X1xi_1, signed int __anonymous_object11);
168struct _conc__tuple3_1 _X1fFT3iii___1(void){
169    __attribute__ ((unused)) struct _conc__tuple3_1 _X9_retval_fT3iii_1 = {  };
[8eb348a]170}
[3c1fa71]171struct _conc__tuple3_1 _X1fFT3iii_iii__1(__attribute__ ((unused)) signed int __anonymous_object12, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object13){
[ec91336]172    __attribute__ ((unused)) struct _conc__tuple3_1 _X9_retval_fT3iii_1 = {  };
[8eb348a]173}
[3f06c05]174struct _conc__tuple3_2;
[8eb348a]175struct _conc__tuple3_2 {
176    signed int field_0;
177    signed int field_1;
178    signed int *field_2;
179};
[ec91336]180struct _conc__tuple3_2 _X1fFT3iiPi___1(void);
181struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(signed int __anonymous_object14, signed int _X1xi_1, signed int *_X1yPi_1);
182struct _conc__tuple3_2 _X1fFT3iiPi___1(void){
183    __attribute__ ((unused)) struct _conc__tuple3_2 _X9_retval_fT3iiPi_1 = {  };
184}
[3c1fa71]185struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object15, signed int _X1xi_1, signed int *_X1yPi_1){
[ec91336]186    __attribute__ ((unused)) struct _conc__tuple3_2 _X9_retval_fT3iiPi_1 = {  };
187}
188signed int _X3f11Fi_i__1(signed int __anonymous_object16);
189signed int _X3f12Fi___1(void);
190const double _X4bar1Fd___1();
191const double _X4bar2Fd_i__1(signed int __anonymous_object17);
192const double _X4bar3Fd_d__1(double __anonymous_object18);
193const double _X3fooFd___1(void);
194const double _X3fooFd_i__1(signed int __anonymous_object19);
[3c1fa71]195const double _X3fooFd_d__1(__attribute__ ((unused)) double __anonymous_object20){
[ec91336]196    __attribute__ ((unused)) const double _X11_retval_fooKd_1;
[7b10ea9]197    {
198        ((void)((*((double *)(&_X11_retval_fooKd_1)))=3.0) /* ?{} */);
199    }
200
[ec91336]201    return _X11_retval_fooKd_1;
[8eb348a]202}
203struct S {
[ec91336]204    signed int _X1ii_1;
[8eb348a]205};
[ec91336]206static inline void _X12_constructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1);
207static inline void _X12_constructorFv_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1);
208static inline void _X11_destructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1);
209static inline struct S _X16_operator_assignFS1S_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1);
210static inline void _X12_constructorFv_S1Si_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ii_1);
211static inline void _X12_constructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1){
[7b10ea9]212    {
213        ((void)((*_X4_dstS1S_1)._X1ii_1) /* ?{} */);
214    }
215
[8eb348a]216}
[ec91336]217static inline void _X12_constructorFv_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1){
[7b10ea9]218    {
219        ((void)((*_X4_dstS1S_1)._X1ii_1=_X4_srcS1S_1._X1ii_1) /* ?{} */);
220    }
221
[8eb348a]222}
[ec91336]223static inline void _X11_destructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1){
[7b10ea9]224    {
225        ((void)((*_X4_dstS1S_1)._X1ii_1) /* ^?{} */);
226    }
227
[8eb348a]228}
[ec91336]229static inline struct S _X16_operator_assignFS1S_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1){
230    struct S _X4_retS1S_1;
[7b10ea9]231    {
232        ((void)((*_X4_dstS1S_1)._X1ii_1=_X4_srcS1S_1._X1ii_1));
233    }
234
235    {
236        ((void)_X12_constructorFv_S1SS1S_autogen___1((&_X4_retS1S_1), (*_X4_dstS1S_1)));
237    }
238
[ec91336]239    return _X4_retS1S_1;
[8eb348a]240}
[ec91336]241static inline void _X12_constructorFv_S1Si_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ii_1){
[7b10ea9]242    {
243        ((void)((*_X4_dstS1S_1)._X1ii_1=_X1ii_1) /* ?{} */);
244    }
245
[8eb348a]246}
[3c1fa71]247struct S _X3rtnFS1S_i__1(__attribute__ ((unused)) signed int __anonymous_object21){
[ec91336]248    __attribute__ ((unused)) struct S _X11_retval_rtnS1S_1;
[8eb348a]249}
[3c1fa71]250signed int _X1fFi_Fi_ii_Fi_i___1(__attribute__ ((unused)) signed int (*__anonymous_object22)(signed int __anonymous_object23, signed int _X1pi_1), __attribute__ ((unused)) signed int (*__anonymous_object24)(signed int __anonymous_object25)){
[ec91336]251    __attribute__ ((unused)) signed int _X9_retval_fi_1;
252    signed int (*(*_X2pcPA0A0PA0A0i_2)[][((unsigned int )10)])[][((unsigned int )3)];
253    signed int (*(*_X1pPA0A0PA0A0i_2)[][((unsigned int )10)])[][((unsigned int )3)];
254    signed int (*(*_X1pPA0Fi_i__2)[])(signed int __anonymous_object26);
[8eb348a]255}
[ec91336]256static const signed int *_X2f1FPKi___1(){
257    __attribute__ ((unused)) const signed int *_X10_retval_f1PKi_1;
[8eb348a]258}
[ec91336]259static const signed int *_X2f2FPKi___1(void){
260    __attribute__ ((unused)) const signed int *_X10_retval_f2PKi_1;
[8eb348a]261}
[ec91336]262static inline signed int *const _X2f3FPi___1(void){
263    __attribute__ ((unused)) signed int *const _X10_retval_f3KPi_1;
[8eb348a]264}
[3f06c05]265struct _conc__tuple2_3;
[8eb348a]266struct _conc__tuple2_3 {
267    signed int *field_0;
268    signed int field_1;
269};
[ec91336]270static inline const struct _conc__tuple2_3 _X2f4FT2Pii___1(void){
271    __attribute__ ((unused)) const struct _conc__tuple2_3 _X10_retval_f4KT2Pii_1;
[8eb348a]272}
[ec91336]273static const struct _conc__tuple2_3 _X2f5FT2PiKi___1(void){
274    __attribute__ ((unused)) const struct _conc__tuple2_3 _X10_retval_f5KT2PiKi_1;
[8eb348a]275}
[ec91336]276signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(signed int (*__anonymous_object27)(), signed int *(*__anonymous_object28)(), signed int **(*__anonymous_object29)(), signed int *const *(*__anonymous_object30)(), signed int *const *const (*__anonymous_object31)(), signed int *__anonymous_object32, signed int __anonymous_object33[((unsigned int )10)], signed int **__anonymous_object34, signed int *__anonymous_object35[((unsigned int )10)], signed int ***__anonymous_object36, signed int **__anonymous_object37[((unsigned int )10)], signed int *const **__anonymous_object38, signed int *const *__anonymous_object39[((unsigned int )10)], signed int *const *const *__anonymous_object40, signed int *const *const __anonymous_object41[((unsigned int )10)]);
[3c1fa71]277signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(__attribute__ ((unused)) signed int (*__anonymous_object42)(), __attribute__ ((unused)) signed int *(*__anonymous_object43)(), __attribute__ ((unused)) signed int **(*__anonymous_object44)(), __attribute__ ((unused)) signed int *const *(*__anonymous_object45)(), __attribute__ ((unused)) signed int *const *const (*__anonymous_object46)(), __attribute__ ((unused)) signed int *__anonymous_object47, __attribute__ ((unused)) signed int __anonymous_object48[((unsigned int )10)], __attribute__ ((unused)) signed int **__anonymous_object49, __attribute__ ((unused)) signed int *__anonymous_object50[((unsigned int )10)], __attribute__ ((unused)) signed int ***__anonymous_object51, __attribute__ ((unused)) signed int **__anonymous_object52[((unsigned int )10)], __attribute__ ((unused)) signed int *const **__anonymous_object53, __attribute__ ((unused)) signed int *const *__anonymous_object54[((unsigned int )10)], __attribute__ ((unused)) signed int *const *const *__anonymous_object55, __attribute__ ((unused)) signed int *const *const __anonymous_object56[((unsigned int )10)]){
[ec91336]278    __attribute__ ((unused)) signed int _X9_retval_fi_1;
[8eb348a]279}
[ec91336]280signed int _X1fFi_Pii__1(signed int *_X1fPi_1, signed int _X1ti_1){
281    __attribute__ ((unused)) signed int _X9_retval_fi_1;
282    signed int _X1Ti_2;
[8eb348a]283}
Note: See TracBrowser for help on using the repository browser.