| 1 | nameExpr is ?=? | 
|---|
| 2 | decl is ?=?: automatically generated inline function | 
|---|
| 3 | with parameters | 
|---|
| 4 | _dst: pointer to instance of struct __anonymous0 | 
|---|
| 5 | _src: instance of struct __anonymous0 | 
|---|
| 6 | returning | 
|---|
| 7 | instance of struct __anonymous0 | 
|---|
| 8 | with body | 
|---|
| 9 | CompoundStmt | 
|---|
| 10 | Expression Statement: | 
|---|
| 11 | Applying untyped: | 
|---|
| 12 | Name: ?=? | 
|---|
| 13 | ...to: | 
|---|
| 14 | Address of: | 
|---|
| 15 | Member Expression, with field: | 
|---|
| 16 | b: signed int | 
|---|
| 17 | from aggregate: | 
|---|
| 18 | Applying untyped: | 
|---|
| 19 | Name: *? | 
|---|
| 20 | ...to: | 
|---|
| 21 | Variable Expression: _dst: pointer to instance of struct __anonymous0 | 
|---|
| 22 | Member Expression, with field: | 
|---|
| 23 | b: signed int | 
|---|
| 24 | from aggregate: | 
|---|
| 25 | Variable Expression: _src: instance of struct __anonymous0 | 
|---|
| 26 |  | 
|---|
| 27 | Return Statement, returning: Variable Expression: _src: instance of struct __anonymous0 | 
|---|
| 28 |  | 
|---|
| 29 |  | 
|---|
| 30 |  | 
|---|
| 31 | newExpr is Variable Expression: ?=?: inline function | 
|---|
| 32 | with parameters | 
|---|
| 33 | _dst: pointer to instance of struct __anonymous0 | 
|---|
| 34 | _src: instance of struct __anonymous0 | 
|---|
| 35 | returning | 
|---|
| 36 | instance of struct __anonymous0 | 
|---|
| 37 |  | 
|---|
| 38 |  | 
|---|
| 39 | decl is ?=?: function | 
|---|
| 40 | with parameters | 
|---|
| 41 | pointer to signed int | 
|---|
| 42 | signed int | 
|---|
| 43 | returning | 
|---|
| 44 | signed int | 
|---|
| 45 |  | 
|---|
| 46 | newExpr is Variable Expression: ?=?: function | 
|---|
| 47 | with parameters | 
|---|
| 48 | pointer to signed int | 
|---|
| 49 | signed int | 
|---|
| 50 | returning | 
|---|
| 51 | signed int | 
|---|
| 52 |  | 
|---|
| 53 |  | 
|---|
| 54 | alternatives before prune: | 
|---|
| 55 | Cost ( 0, 0, 0 ): Variable Expression: ?=?: inline function | 
|---|
| 56 | with parameters | 
|---|
| 57 | _dst: pointer to instance of struct __anonymous0 | 
|---|
| 58 | _src: instance of struct __anonymous0 | 
|---|
| 59 | returning | 
|---|
| 60 | instance of struct __anonymous0 | 
|---|
| 61 |  | 
|---|
| 62 | (types: | 
|---|
| 63 | pointer to function | 
|---|
| 64 | with parameters | 
|---|
| 65 | _dst: pointer to instance of struct __anonymous0 | 
|---|
| 66 | _src: instance of struct __anonymous0 | 
|---|
| 67 | returning | 
|---|
| 68 | instance of struct __anonymous0 | 
|---|
| 69 |  | 
|---|
| 70 | ) | 
|---|
| 71 | Environment: | 
|---|
| 72 |  | 
|---|
| 73 | Cost ( 0, 0, 0 ): Variable Expression: ?=?: function | 
|---|
| 74 | with parameters | 
|---|
| 75 | pointer to signed int | 
|---|
| 76 | signed int | 
|---|
| 77 | returning | 
|---|
| 78 | signed int | 
|---|
| 79 |  | 
|---|
| 80 | (types: | 
|---|
| 81 | pointer to function | 
|---|
| 82 | with parameters | 
|---|
| 83 | pointer to signed int | 
|---|
| 84 | signed int | 
|---|
| 85 | returning | 
|---|
| 86 | signed int | 
|---|
| 87 |  | 
|---|
| 88 | ) | 
|---|
| 89 | Environment: | 
|---|
| 90 |  | 
|---|
| 91 | there are 2 alternatives before elimination | 
|---|
| 92 | there are 2 alternatives after elimination | 
|---|
| 93 | alternatives before prune: | 
|---|
| 94 | Cost ( 0, 0, 0 ): Member Expression, with field: | 
|---|
| 95 | b: signed int | 
|---|
| 96 | from aggregate: | 
|---|
| 97 | Applying untyped: | 
|---|
| 98 | Name: *? | 
|---|
| 99 | ...to: | 
|---|
| 100 | Variable Expression: _dst: pointer to instance of struct __anonymous0 | 
|---|
| 101 | (types: | 
|---|
| 102 | lvalue signed int | 
|---|
| 103 | ) | 
|---|
| 104 | Environment: | 
|---|
| 105 |  | 
|---|
| 106 | there are 1 alternatives before elimination | 
|---|
| 107 | there are 1 alternatives after elimination | 
|---|
| 108 | alternatives before prune: | 
|---|
| 109 | Cost ( 0, 0, 0 ): Address of: | 
|---|
| 110 | Member Expression, with field: | 
|---|
| 111 | b: signed int | 
|---|
| 112 | from aggregate: | 
|---|
| 113 | Applying untyped: | 
|---|
| 114 | Name: *? | 
|---|
| 115 | ...to: | 
|---|
| 116 | Variable Expression: _dst: pointer to instance of struct __anonymous0 | 
|---|
| 117 | (types: | 
|---|
| 118 | pointer to signed int | 
|---|
| 119 | ) | 
|---|
| 120 | Environment: | 
|---|
| 121 |  | 
|---|
| 122 | there are 1 alternatives before elimination | 
|---|
| 123 | there are 1 alternatives after elimination | 
|---|
| 124 | findSubExprs | 
|---|
| 125 | Cost ( 0, 0, 0 ): Address of: | 
|---|
| 126 | Member Expression, with field: | 
|---|
| 127 | b: signed int | 
|---|
| 128 | from aggregate: | 
|---|
| 129 | Applying untyped: | 
|---|
| 130 | Name: *? | 
|---|
| 131 | ...to: | 
|---|
| 132 | Variable Expression: _dst: pointer to instance of struct __anonymous0 | 
|---|
| 133 | (types: | 
|---|
| 134 | pointer to signed int | 
|---|
| 135 | ) | 
|---|
| 136 | Environment: | 
|---|
| 137 |  | 
|---|
| 138 | alternatives before prune: | 
|---|
| 139 | Cost ( 0, 0, 0 ): Member Expression, with field: | 
|---|
| 140 | b: signed int | 
|---|
| 141 | from aggregate: | 
|---|
| 142 | Variable Expression: _src: instance of struct __anonymous0 | 
|---|
| 143 | (types: | 
|---|
| 144 | lvalue signed int | 
|---|
| 145 | ) | 
|---|
| 146 | Environment: | 
|---|
| 147 |  | 
|---|
| 148 | there are 1 alternatives before elimination | 
|---|
| 149 | there are 1 alternatives after elimination | 
|---|
| 150 | findSubExprs | 
|---|
| 151 | Cost ( 0, 0, 0 ): Member Expression, with field: | 
|---|
| 152 | b: signed int | 
|---|
| 153 | from aggregate: | 
|---|
| 154 | Variable Expression: _src: instance of struct __anonymous0 | 
|---|
| 155 | (types: | 
|---|
| 156 | lvalue signed int | 
|---|
| 157 | ) | 
|---|
| 158 | Environment: | 
|---|
| 159 |  | 
|---|
| 160 | working on alternative: | 
|---|
| 161 | Cost ( 0, 0, 0 ):         Variable Expression: ?=?: function | 
|---|
| 162 | with parameters | 
|---|
| 163 | pointer to signed int | 
|---|
| 164 | signed int | 
|---|
| 165 | returning | 
|---|
| 166 | signed int | 
|---|
| 167 |  | 
|---|
| 168 | (types: | 
|---|
| 169 | pointer to function | 
|---|
| 170 | with parameters | 
|---|
| 171 | pointer to signed int | 
|---|
| 172 | signed int | 
|---|
| 173 | returning | 
|---|
| 174 | signed int | 
|---|
| 175 |  | 
|---|
| 176 | ) | 
|---|
| 177 | Environment: | 
|---|
| 178 | formal type is pointer to signed int | 
|---|
| 179 | actual type is pointer to signed int | 
|---|
| 180 | formal type is signed int | 
|---|
| 181 | actual type is lvalue signed int | 
|---|
| 182 | need assertions: | 
|---|
| 183 | ============= original indexer | 
|---|
| 184 | ===idTable=== | 
|---|
| 185 | ===typeTable=== | 
|---|
| 186 | ===structTable=== | 
|---|
| 187 | ===enumTable=== | 
|---|
| 188 | ===unionTable=== | 
|---|
| 189 | ===contextTable=== | 
|---|
| 190 | ============= new indexer | 
|---|
| 191 | ===idTable=== | 
|---|
| 192 | ===typeTable=== | 
|---|
| 193 | ===structTable=== | 
|---|
| 194 | ===enumTable=== | 
|---|
| 195 | ===unionTable=== | 
|---|
| 196 | ===contextTable=== | 
|---|
| 197 | working on alternative: | 
|---|
| 198 | Cost ( 0, 0, 0 ):         Variable Expression: ?=?: inline function | 
|---|
| 199 | with parameters | 
|---|
| 200 | _dst: pointer to instance of struct __anonymous0 | 
|---|
| 201 | _src: instance of struct __anonymous0 | 
|---|
| 202 | returning | 
|---|
| 203 | instance of struct __anonymous0 | 
|---|
| 204 |  | 
|---|
| 205 | (types: | 
|---|
| 206 | pointer to function | 
|---|
| 207 | with parameters | 
|---|
| 208 | _dst: pointer to instance of struct __anonymous0 | 
|---|
| 209 | _src: instance of struct __anonymous0 | 
|---|
| 210 | returning | 
|---|
| 211 | instance of struct __anonymous0 | 
|---|
| 212 |  | 
|---|
| 213 | ) | 
|---|
| 214 | Environment: | 
|---|
| 215 | formal type is pointer to instance of struct __anonymous0 | 
|---|
| 216 | actual type is pointer to signed int | 
|---|
| 217 | actual expression: | 
|---|
| 218 | Address of: | 
|---|
| 219 | Member Expression, with field: | 
|---|
| 220 | b: signed int | 
|---|
| 221 | from aggregate: | 
|---|
| 222 | Applying untyped: | 
|---|
| 223 | Name: *? | 
|---|
| 224 | ...to: | 
|---|
| 225 | Variable Expression: _dst: pointer to instance of struct __anonymous0 | 
|---|
| 226 | --- results are | 
|---|
| 227 | pointer to signed int | 
|---|
| 228 |  | 
|---|
| 229 | converting pointer to signed int | 
|---|
| 230 | to pointer to signed int | 
|---|
| 231 | cost is( 0, 0, 0 ) | 
|---|
| 232 | actual expression: | 
|---|
| 233 | Member Expression, with field: | 
|---|
| 234 | b: signed int | 
|---|
| 235 | from aggregate: | 
|---|
| 236 | Variable Expression: _src: instance of struct __anonymous0 | 
|---|
| 237 | --- results are | 
|---|
| 238 | lvalue signed int | 
|---|
| 239 |  | 
|---|
| 240 | converting lvalue signed int | 
|---|
| 241 | to signed int | 
|---|
| 242 | cost is( 0, 0, 0 ) | 
|---|
| 243 | Case +++++++++++++ | 
|---|
| 244 | formals are: | 
|---|
| 245 | pointer to signed int | 
|---|
| 246 | signed int | 
|---|
| 247 | actuals are: | 
|---|
| 248 | Address of: | 
|---|
| 249 | Member Expression, with field: | 
|---|
| 250 | b: signed int | 
|---|
| 251 | from aggregate: | 
|---|
| 252 | Applying untyped: | 
|---|
| 253 | Name: *? | 
|---|
| 254 | ...to: | 
|---|
| 255 | Variable Expression: _dst: pointer to instance of struct __anonymous0 | 
|---|
| 256 |  | 
|---|
| 257 | Member Expression, with field: | 
|---|
| 258 | b: signed int | 
|---|
| 259 | from aggregate: | 
|---|
| 260 | Variable Expression: _src: instance of struct __anonymous0 | 
|---|
| 261 |  | 
|---|
| 262 | bindings are: | 
|---|
| 263 | cost of conversion is:( 0, 0, 0 ) | 
|---|
| 264 | alternatives before prune: | 
|---|
| 265 | Cost ( 0, 0, 0 ): Application of | 
|---|
| 266 | Variable Expression: ?=?: function | 
|---|
| 267 | with parameters | 
|---|
| 268 | pointer to signed int | 
|---|
| 269 | signed int | 
|---|
| 270 | returning | 
|---|
| 271 | signed int | 
|---|
| 272 |  | 
|---|
| 273 | to arguments | 
|---|
| 274 | Address of: | 
|---|
| 275 | Member Expression, with field: | 
|---|
| 276 | b: signed int | 
|---|
| 277 | from aggregate: | 
|---|
| 278 | Applying untyped: | 
|---|
| 279 | Name: *? | 
|---|
| 280 | ...to: | 
|---|
| 281 | Variable Expression: _dst: pointer to instance of struct __anonymous0 | 
|---|
| 282 |  | 
|---|
| 283 | Member Expression, with field: | 
|---|
| 284 | b: signed int | 
|---|
| 285 | from aggregate: | 
|---|
| 286 | Variable Expression: _src: instance of struct __anonymous0 | 
|---|
| 287 |  | 
|---|
| 288 | (types: | 
|---|
| 289 | signed int | 
|---|
| 290 | ) | 
|---|
| 291 | Environment: | 
|---|
| 292 |  | 
|---|
| 293 | there are 1 alternatives before elimination | 
|---|
| 294 | there are 1 alternatives after elimination | 
|---|
| 295 | alternatives before prune: | 
|---|
| 296 | Cost ( 0, 0, 1 ): Cast of: | 
|---|
| 297 | Application of | 
|---|
| 298 | Variable Expression: ?=?: function | 
|---|
| 299 | with parameters | 
|---|
| 300 | pointer to signed int | 
|---|
| 301 | signed int | 
|---|
| 302 | returning | 
|---|
| 303 | signed int | 
|---|
| 304 |  | 
|---|
| 305 | to arguments | 
|---|
| 306 | Address of: | 
|---|
| 307 | Member Expression, with field: | 
|---|
| 308 | b: signed int | 
|---|
| 309 | from aggregate: | 
|---|
| 310 | Applying untyped: | 
|---|
| 311 | Name: *? | 
|---|
| 312 | ...to: | 
|---|
| 313 | Variable Expression: _dst: pointer to instance of struct __anonymous0 | 
|---|
| 314 |  | 
|---|
| 315 | Member Expression, with field: | 
|---|
| 316 | b: signed int | 
|---|
| 317 | from aggregate: | 
|---|
| 318 | Variable Expression: _src: instance of struct __anonymous0 | 
|---|
| 319 |  | 
|---|
| 320 |  | 
|---|
| 321 | to: | 
|---|
| 322 | nothing | 
|---|
| 323 | (types: | 
|---|
| 324 | ) | 
|---|
| 325 | Environment: | 
|---|
| 326 |  | 
|---|
| 327 | there are 1 alternatives before elimination | 
|---|
| 328 | there are 1 alternatives after elimination | 
|---|
| 329 | alternatives before prune: | 
|---|
| 330 | Cost ( 0, 0, 0 ): Variable Expression: _src: instance of struct __anonymous0 | 
|---|
| 331 | (types: | 
|---|
| 332 | lvalue instance of struct __anonymous0 | 
|---|
| 333 | ) | 
|---|
| 334 | Environment: | 
|---|
| 335 |  | 
|---|
| 336 | there are 1 alternatives before elimination | 
|---|
| 337 | there are 1 alternatives after elimination | 
|---|
| 338 | alternatives before prune: | 
|---|
| 339 | Cost ( 0, 0, 0 ): Cast of: | 
|---|
| 340 | Variable Expression: _src: instance of struct __anonymous0 | 
|---|
| 341 |  | 
|---|
| 342 | to: | 
|---|
| 343 | instance of struct __anonymous0 | 
|---|
| 344 | (types: | 
|---|
| 345 | instance of struct __anonymous0 | 
|---|
| 346 | ) | 
|---|
| 347 | Environment: | 
|---|
| 348 |  | 
|---|
| 349 | there are 1 alternatives before elimination | 
|---|
| 350 | there are 1 alternatives after elimination | 
|---|
| 351 | nameExpr is ?!=? | 
|---|
| 352 | decl is ?!=?: function | 
|---|
| 353 | with parameters | 
|---|
| 354 | signed int | 
|---|
| 355 | signed int | 
|---|
| 356 | returning | 
|---|
| 357 | signed int | 
|---|
| 358 |  | 
|---|
| 359 | newExpr is Variable Expression: ?!=?: function | 
|---|
| 360 | with parameters | 
|---|
| 361 | signed int | 
|---|
| 362 | signed int | 
|---|
| 363 | returning | 
|---|
| 364 | signed int | 
|---|
| 365 |  | 
|---|
| 366 |  | 
|---|
| 367 | alternatives before prune: | 
|---|
| 368 | Cost ( 0, 0, 0 ): Variable Expression: ?!=?: function | 
|---|
| 369 | with parameters | 
|---|
| 370 | signed int | 
|---|
| 371 | signed int | 
|---|
| 372 | returning | 
|---|
| 373 | signed int | 
|---|
| 374 |  | 
|---|
| 375 | (types: | 
|---|
| 376 | pointer to function | 
|---|
| 377 | with parameters | 
|---|
| 378 | signed int | 
|---|
| 379 | signed int | 
|---|
| 380 | returning | 
|---|
| 381 | signed int | 
|---|
| 382 |  | 
|---|
| 383 | ) | 
|---|
| 384 | Environment: | 
|---|
| 385 |  | 
|---|
| 386 | there are 1 alternatives before elimination | 
|---|
| 387 | there are 1 alternatives after elimination | 
|---|
| 388 | nameExpr is a | 
|---|
| 389 | decl is a: instance of struct __anonymous0 | 
|---|
| 390 | newExpr is Variable Expression: a: instance of struct __anonymous0 | 
|---|
| 391 |  | 
|---|
| 392 | decl is a: signed int | 
|---|
| 393 | newExpr is Variable Expression: a: signed int | 
|---|
| 394 |  | 
|---|
| 395 | alternatives before prune: | 
|---|
| 396 | Cost ( 0, 0, 0 ): Variable Expression: a: instance of struct __anonymous0 | 
|---|
| 397 | (types: | 
|---|
| 398 | lvalue instance of struct __anonymous0 | 
|---|
| 399 | ) | 
|---|
| 400 | Environment: | 
|---|
| 401 |  | 
|---|
| 402 | Cost ( 0, 0, 0 ): Variable Expression: a: signed int | 
|---|
| 403 | (types: | 
|---|
| 404 | lvalue signed int | 
|---|
| 405 | ) | 
|---|
| 406 | Environment: | 
|---|
| 407 |  | 
|---|
| 408 | there are 2 alternatives before elimination | 
|---|
| 409 | there are 2 alternatives after elimination | 
|---|
| 410 | findSubExprs | 
|---|
| 411 | Cost ( 0, 0, 0 ): Variable Expression: a: signed int | 
|---|
| 412 | (types: | 
|---|
| 413 | lvalue signed int | 
|---|
| 414 | ) | 
|---|
| 415 | Environment: | 
|---|
| 416 |  | 
|---|
| 417 | Cost ( 0, 0, 0 ): Variable Expression: a: instance of struct __anonymous0 | 
|---|
| 418 | (types: | 
|---|
| 419 | lvalue instance of struct __anonymous0 | 
|---|
| 420 | ) | 
|---|
| 421 | Environment: | 
|---|
| 422 |  | 
|---|
| 423 | nameExpr is 0 | 
|---|
| 424 | decl is 0: signed int | 
|---|
| 425 | newExpr is Variable Expression: 0: signed int | 
|---|
| 426 |  | 
|---|
| 427 | alternatives before prune: | 
|---|
| 428 | Cost ( 0, 0, 0 ): Variable Expression: 0: signed int | 
|---|
| 429 | (types: | 
|---|
| 430 | lvalue signed int | 
|---|
| 431 | ) | 
|---|
| 432 | Environment: | 
|---|
| 433 |  | 
|---|
| 434 | there are 1 alternatives before elimination | 
|---|
| 435 | there are 1 alternatives after elimination | 
|---|
| 436 | findSubExprs | 
|---|
| 437 | Cost ( 0, 0, 0 ): Variable Expression: 0: signed int | 
|---|
| 438 | (types: | 
|---|
| 439 | lvalue signed int | 
|---|
| 440 | ) | 
|---|
| 441 | Environment: | 
|---|
| 442 |  | 
|---|
| 443 | working on alternative: | 
|---|
| 444 | Cost ( 0, 0, 0 ):         Variable Expression: ?!=?: function | 
|---|
| 445 | with parameters | 
|---|
| 446 | signed int | 
|---|
| 447 | signed int | 
|---|
| 448 | returning | 
|---|
| 449 | signed int | 
|---|
| 450 |  | 
|---|
| 451 | (types: | 
|---|
| 452 | pointer to function | 
|---|
| 453 | with parameters | 
|---|
| 454 | signed int | 
|---|
| 455 | signed int | 
|---|
| 456 | returning | 
|---|
| 457 | signed int | 
|---|
| 458 |  | 
|---|
| 459 | ) | 
|---|
| 460 | Environment: | 
|---|
| 461 | formal type is signed int | 
|---|
| 462 | actual type is lvalue signed int | 
|---|
| 463 | formal type is signed int | 
|---|
| 464 | actual type is lvalue signed int | 
|---|
| 465 | need assertions: | 
|---|
| 466 | ============= original indexer | 
|---|
| 467 | ===idTable=== | 
|---|
| 468 | ===typeTable=== | 
|---|
| 469 | ===structTable=== | 
|---|
| 470 | __anonymous0 | 
|---|
| 471 | ===enumTable=== | 
|---|
| 472 | ===unionTable=== | 
|---|
| 473 | ===contextTable=== | 
|---|
| 474 | ============= new indexer | 
|---|
| 475 | ===idTable=== | 
|---|
| 476 | ===typeTable=== | 
|---|
| 477 | ===structTable=== | 
|---|
| 478 | __anonymous0 | 
|---|
| 479 | ===enumTable=== | 
|---|
| 480 | ===unionTable=== | 
|---|
| 481 | ===contextTable=== | 
|---|
| 482 | formal type is signed int | 
|---|
| 483 | actual type is lvalue instance of struct __anonymous0 | 
|---|
| 484 | actual expression: | 
|---|
| 485 | Variable Expression: a: signed int | 
|---|
| 486 | --- results are | 
|---|
| 487 | lvalue signed int | 
|---|
| 488 |  | 
|---|
| 489 | converting lvalue signed int | 
|---|
| 490 | to signed int | 
|---|
| 491 | cost is( 0, 0, 0 ) | 
|---|
| 492 | actual expression: | 
|---|
| 493 | Variable Expression: 0: signed int | 
|---|
| 494 | --- results are | 
|---|
| 495 | lvalue signed int | 
|---|
| 496 |  | 
|---|
| 497 | converting lvalue signed int | 
|---|
| 498 | to signed int | 
|---|
| 499 | cost is( 0, 0, 0 ) | 
|---|
| 500 | Case +++++++++++++ | 
|---|
| 501 | formals are: | 
|---|
| 502 | signed int | 
|---|
| 503 | signed int | 
|---|
| 504 | actuals are: | 
|---|
| 505 | Variable Expression: a: signed int | 
|---|
| 506 |  | 
|---|
| 507 | Variable Expression: 0: signed int | 
|---|
| 508 |  | 
|---|
| 509 | bindings are: | 
|---|
| 510 | cost of conversion is:( 0, 0, 0 ) | 
|---|
| 511 | alternatives before prune: | 
|---|
| 512 | Cost ( 0, 0, 0 ): Application of | 
|---|
| 513 | Variable Expression: ?!=?: function | 
|---|
| 514 | with parameters | 
|---|
| 515 | signed int | 
|---|
| 516 | signed int | 
|---|
| 517 | returning | 
|---|
| 518 | signed int | 
|---|
| 519 |  | 
|---|
| 520 | to arguments | 
|---|
| 521 | Variable Expression: a: signed int | 
|---|
| 522 |  | 
|---|
| 523 | Variable Expression: 0: signed int | 
|---|
| 524 |  | 
|---|
| 525 | (types: | 
|---|
| 526 | signed int | 
|---|
| 527 | ) | 
|---|
| 528 | Environment: | 
|---|
| 529 |  | 
|---|
| 530 | there are 1 alternatives before elimination | 
|---|
| 531 | there are 1 alternatives after elimination | 
|---|
| 532 | alternatives before prune: | 
|---|
| 533 | Cost ( 0, 0, 0 ): Cast of: | 
|---|
| 534 | Application of | 
|---|
| 535 | Variable Expression: ?!=?: function | 
|---|
| 536 | with parameters | 
|---|
| 537 | signed int | 
|---|
| 538 | signed int | 
|---|
| 539 | returning | 
|---|
| 540 | signed int | 
|---|
| 541 |  | 
|---|
| 542 | to arguments | 
|---|
| 543 | Variable Expression: a: signed int | 
|---|
| 544 |  | 
|---|
| 545 | Variable Expression: 0: signed int | 
|---|
| 546 |  | 
|---|
| 547 |  | 
|---|
| 548 | to: | 
|---|
| 549 | signed int | 
|---|
| 550 | (types: | 
|---|
| 551 | signed int | 
|---|
| 552 | ) | 
|---|
| 553 | Environment: | 
|---|
| 554 |  | 
|---|
| 555 | there are 1 alternatives before elimination | 
|---|
| 556 | there are 1 alternatives after elimination | 
|---|
| 557 | nameExpr is ?!=? | 
|---|
| 558 | decl is ?!=?: function | 
|---|
| 559 | with parameters | 
|---|
| 560 | signed int | 
|---|
| 561 | signed int | 
|---|
| 562 | returning | 
|---|
| 563 | signed int | 
|---|
| 564 |  | 
|---|
| 565 | newExpr is Variable Expression: ?!=?: function | 
|---|
| 566 | with parameters | 
|---|
| 567 | signed int | 
|---|
| 568 | signed int | 
|---|
| 569 | returning | 
|---|
| 570 | signed int | 
|---|
| 571 |  | 
|---|
| 572 |  | 
|---|
| 573 | alternatives before prune: | 
|---|
| 574 | Cost ( 0, 0, 0 ): Variable Expression: ?!=?: function | 
|---|
| 575 | with parameters | 
|---|
| 576 | signed int | 
|---|
| 577 | signed int | 
|---|
| 578 | returning | 
|---|
| 579 | signed int | 
|---|
| 580 |  | 
|---|
| 581 | (types: | 
|---|
| 582 | pointer to function | 
|---|
| 583 | with parameters | 
|---|
| 584 | signed int | 
|---|
| 585 | signed int | 
|---|
| 586 | returning | 
|---|
| 587 | signed int | 
|---|
| 588 |  | 
|---|
| 589 | ) | 
|---|
| 590 | Environment: | 
|---|
| 591 |  | 
|---|
| 592 | there are 1 alternatives before elimination | 
|---|
| 593 | there are 1 alternatives after elimination | 
|---|
| 594 | nameExpr is a | 
|---|
| 595 | decl is a: instance of struct __anonymous0 | 
|---|
| 596 | newExpr is Variable Expression: a: instance of struct __anonymous0 | 
|---|
| 597 |  | 
|---|
| 598 | decl is a: signed int | 
|---|
| 599 | newExpr is Variable Expression: a: signed int | 
|---|
| 600 |  | 
|---|
| 601 | alternatives before prune: | 
|---|
| 602 | Cost ( 0, 0, 0 ): Variable Expression: a: instance of struct __anonymous0 | 
|---|
| 603 | (types: | 
|---|
| 604 | lvalue instance of struct __anonymous0 | 
|---|
| 605 | ) | 
|---|
| 606 | Environment: | 
|---|
| 607 |  | 
|---|
| 608 | Cost ( 0, 0, 0 ): Variable Expression: a: signed int | 
|---|
| 609 | (types: | 
|---|
| 610 | lvalue signed int | 
|---|
| 611 | ) | 
|---|
| 612 | Environment: | 
|---|
| 613 |  | 
|---|
| 614 | there are 2 alternatives before elimination | 
|---|
| 615 | there are 2 alternatives after elimination | 
|---|
| 616 | findSubExprs | 
|---|
| 617 | Cost ( 0, 0, 0 ): Variable Expression: a: signed int | 
|---|
| 618 | (types: | 
|---|
| 619 | lvalue signed int | 
|---|
| 620 | ) | 
|---|
| 621 | Environment: | 
|---|
| 622 |  | 
|---|
| 623 | Cost ( 0, 0, 0 ): Variable Expression: a: instance of struct __anonymous0 | 
|---|
| 624 | (types: | 
|---|
| 625 | lvalue instance of struct __anonymous0 | 
|---|
| 626 | ) | 
|---|
| 627 | Environment: | 
|---|
| 628 |  | 
|---|
| 629 | nameExpr is 0 | 
|---|
| 630 | decl is 0: signed int | 
|---|
| 631 | newExpr is Variable Expression: 0: signed int | 
|---|
| 632 |  | 
|---|
| 633 | alternatives before prune: | 
|---|
| 634 | Cost ( 0, 0, 0 ): Variable Expression: 0: signed int | 
|---|
| 635 | (types: | 
|---|
| 636 | lvalue signed int | 
|---|
| 637 | ) | 
|---|
| 638 | Environment: | 
|---|
| 639 |  | 
|---|
| 640 | there are 1 alternatives before elimination | 
|---|
| 641 | there are 1 alternatives after elimination | 
|---|
| 642 | findSubExprs | 
|---|
| 643 | Cost ( 0, 0, 0 ): Variable Expression: 0: signed int | 
|---|
| 644 | (types: | 
|---|
| 645 | lvalue signed int | 
|---|
| 646 | ) | 
|---|
| 647 | Environment: | 
|---|
| 648 |  | 
|---|
| 649 | working on alternative: | 
|---|
| 650 | Cost ( 0, 0, 0 ):         Variable Expression: ?!=?: function | 
|---|
| 651 | with parameters | 
|---|
| 652 | signed int | 
|---|
| 653 | signed int | 
|---|
| 654 | returning | 
|---|
| 655 | signed int | 
|---|
| 656 |  | 
|---|
| 657 | (types: | 
|---|
| 658 | pointer to function | 
|---|
| 659 | with parameters | 
|---|
| 660 | signed int | 
|---|
| 661 | signed int | 
|---|
| 662 | returning | 
|---|
| 663 | signed int | 
|---|
| 664 |  | 
|---|
| 665 | ) | 
|---|
| 666 | Environment: | 
|---|
| 667 | formal type is signed int | 
|---|
| 668 | actual type is lvalue signed int | 
|---|
| 669 | formal type is signed int | 
|---|
| 670 | actual type is lvalue signed int | 
|---|
| 671 | need assertions: | 
|---|
| 672 | ============= original indexer | 
|---|
| 673 | ===idTable=== | 
|---|
| 674 | ===typeTable=== | 
|---|
| 675 | ===structTable=== | 
|---|
| 676 | ===enumTable=== | 
|---|
| 677 | ===unionTable=== | 
|---|
| 678 | ===contextTable=== | 
|---|
| 679 | ============= new indexer | 
|---|
| 680 | ===idTable=== | 
|---|
| 681 | ===typeTable=== | 
|---|
| 682 | ===structTable=== | 
|---|
| 683 | ===enumTable=== | 
|---|
| 684 | ===unionTable=== | 
|---|
| 685 | ===contextTable=== | 
|---|
| 686 | formal type is signed int | 
|---|
| 687 | actual type is lvalue instance of struct __anonymous0 | 
|---|
| 688 | actual expression: | 
|---|
| 689 | Variable Expression: a: signed int | 
|---|
| 690 | --- results are | 
|---|
| 691 | lvalue signed int | 
|---|
| 692 |  | 
|---|
| 693 | converting lvalue signed int | 
|---|
| 694 | to signed int | 
|---|
| 695 | cost is( 0, 0, 0 ) | 
|---|
| 696 | actual expression: | 
|---|
| 697 | Variable Expression: 0: signed int | 
|---|
| 698 | --- results are | 
|---|
| 699 | lvalue signed int | 
|---|
| 700 |  | 
|---|
| 701 | converting lvalue signed int | 
|---|
| 702 | to signed int | 
|---|
| 703 | cost is( 0, 0, 0 ) | 
|---|
| 704 | Case +++++++++++++ | 
|---|
| 705 | formals are: | 
|---|
| 706 | signed int | 
|---|
| 707 | signed int | 
|---|
| 708 | actuals are: | 
|---|
| 709 | Variable Expression: a: signed int | 
|---|
| 710 |  | 
|---|
| 711 | Variable Expression: 0: signed int | 
|---|
| 712 |  | 
|---|
| 713 | bindings are: | 
|---|
| 714 | cost of conversion is:( 0, 0, 0 ) | 
|---|
| 715 | alternatives before prune: | 
|---|
| 716 | Cost ( 0, 0, 0 ): Application of | 
|---|
| 717 | Variable Expression: ?!=?: function | 
|---|
| 718 | with parameters | 
|---|
| 719 | signed int | 
|---|
| 720 | signed int | 
|---|
| 721 | returning | 
|---|
| 722 | signed int | 
|---|
| 723 |  | 
|---|
| 724 | to arguments | 
|---|
| 725 | Variable Expression: a: signed int | 
|---|
| 726 |  | 
|---|
| 727 | Variable Expression: 0: signed int | 
|---|
| 728 |  | 
|---|
| 729 | (types: | 
|---|
| 730 | signed int | 
|---|
| 731 | ) | 
|---|
| 732 | Environment: | 
|---|
| 733 |  | 
|---|
| 734 | there are 1 alternatives before elimination | 
|---|
| 735 | there are 1 alternatives after elimination | 
|---|
| 736 | alternatives before prune: | 
|---|
| 737 | Cost ( 0, 0, 0 ): Cast of: | 
|---|
| 738 | Application of | 
|---|
| 739 | Variable Expression: ?!=?: function | 
|---|
| 740 | with parameters | 
|---|
| 741 | signed int | 
|---|
| 742 | signed int | 
|---|
| 743 | returning | 
|---|
| 744 | signed int | 
|---|
| 745 |  | 
|---|
| 746 | to arguments | 
|---|
| 747 | Variable Expression: a: signed int | 
|---|
| 748 |  | 
|---|
| 749 | Variable Expression: 0: signed int | 
|---|
| 750 |  | 
|---|
| 751 |  | 
|---|
| 752 | to: | 
|---|
| 753 | signed int | 
|---|
| 754 | (types: | 
|---|
| 755 | signed int | 
|---|
| 756 | ) | 
|---|
| 757 | Environment: | 
|---|
| 758 |  | 
|---|
| 759 | there are 1 alternatives before elimination | 
|---|
| 760 | there are 1 alternatives after elimination | 
|---|
| 761 | nameExpr is b | 
|---|
| 762 | decl is b: pointer to signed int | 
|---|
| 763 | newExpr is Variable Expression: b: pointer to signed int | 
|---|
| 764 |  | 
|---|
| 765 | alternatives before prune: | 
|---|
| 766 | Cost ( 0, 0, 0 ): Variable Expression: b: pointer to signed int | 
|---|
| 767 | (types: | 
|---|
| 768 | lvalue pointer to signed int | 
|---|
| 769 | ) | 
|---|
| 770 | Environment: | 
|---|
| 771 |  | 
|---|
| 772 | there are 1 alternatives before elimination | 
|---|
| 773 | there are 1 alternatives after elimination | 
|---|
| 774 | alternatives before prune: | 
|---|
| 775 | Cost ( 0, 0, 1 ): Cast of: | 
|---|
| 776 | Variable Expression: b: pointer to signed int | 
|---|
| 777 |  | 
|---|
| 778 | to: | 
|---|
| 779 | nothing | 
|---|
| 780 | (types: | 
|---|
| 781 | ) | 
|---|
| 782 | Environment: | 
|---|
| 783 |  | 
|---|
| 784 | there are 1 alternatives before elimination | 
|---|
| 785 | there are 1 alternatives after elimination | 
|---|
| 786 | nameExpr is ?!=? | 
|---|
| 787 | decl is ?!=?: function | 
|---|
| 788 | with parameters | 
|---|
| 789 | signed int | 
|---|
| 790 | signed int | 
|---|
| 791 | returning | 
|---|
| 792 | signed int | 
|---|
| 793 |  | 
|---|
| 794 | newExpr is Variable Expression: ?!=?: function | 
|---|
| 795 | with parameters | 
|---|
| 796 | signed int | 
|---|
| 797 | signed int | 
|---|
| 798 | returning | 
|---|
| 799 | signed int | 
|---|
| 800 |  | 
|---|
| 801 |  | 
|---|
| 802 | alternatives before prune: | 
|---|
| 803 | Cost ( 0, 0, 0 ): Variable Expression: ?!=?: function | 
|---|
| 804 | with parameters | 
|---|
| 805 | signed int | 
|---|
| 806 | signed int | 
|---|
| 807 | returning | 
|---|
| 808 | signed int | 
|---|
| 809 |  | 
|---|
| 810 | (types: | 
|---|
| 811 | pointer to function | 
|---|
| 812 | with parameters | 
|---|
| 813 | signed int | 
|---|
| 814 | signed int | 
|---|
| 815 | returning | 
|---|
| 816 | signed int | 
|---|
| 817 |  | 
|---|
| 818 | ) | 
|---|
| 819 | Environment: | 
|---|
| 820 |  | 
|---|
| 821 | there are 1 alternatives before elimination | 
|---|
| 822 | there are 1 alternatives after elimination | 
|---|
| 823 | nameExpr is a | 
|---|
| 824 | decl is a: instance of struct __anonymous0 | 
|---|
| 825 | newExpr is Variable Expression: a: instance of struct __anonymous0 | 
|---|
| 826 |  | 
|---|
| 827 | decl is a: signed int | 
|---|
| 828 | newExpr is Variable Expression: a: signed int | 
|---|
| 829 |  | 
|---|
| 830 | alternatives before prune: | 
|---|
| 831 | Cost ( 0, 0, 0 ): Variable Expression: a: instance of struct __anonymous0 | 
|---|
| 832 | (types: | 
|---|
| 833 | lvalue instance of struct __anonymous0 | 
|---|
| 834 | ) | 
|---|
| 835 | Environment: | 
|---|
| 836 |  | 
|---|
| 837 | Cost ( 0, 0, 0 ): Variable Expression: a: signed int | 
|---|
| 838 | (types: | 
|---|
| 839 | lvalue signed int | 
|---|
| 840 | ) | 
|---|
| 841 | Environment: | 
|---|
| 842 |  | 
|---|
| 843 | there are 2 alternatives before elimination | 
|---|
| 844 | there are 2 alternatives after elimination | 
|---|
| 845 | findSubExprs | 
|---|
| 846 | Cost ( 0, 0, 0 ): Variable Expression: a: signed int | 
|---|
| 847 | (types: | 
|---|
| 848 | lvalue signed int | 
|---|
| 849 | ) | 
|---|
| 850 | Environment: | 
|---|
| 851 |  | 
|---|
| 852 | Cost ( 0, 0, 0 ): Variable Expression: a: instance of struct __anonymous0 | 
|---|
| 853 | (types: | 
|---|
| 854 | lvalue instance of struct __anonymous0 | 
|---|
| 855 | ) | 
|---|
| 856 | Environment: | 
|---|
| 857 |  | 
|---|
| 858 | nameExpr is 0 | 
|---|
| 859 | decl is 0: signed int | 
|---|
| 860 | newExpr is Variable Expression: 0: signed int | 
|---|
| 861 |  | 
|---|
| 862 | alternatives before prune: | 
|---|
| 863 | Cost ( 0, 0, 0 ): Variable Expression: 0: signed int | 
|---|
| 864 | (types: | 
|---|
| 865 | lvalue signed int | 
|---|
| 866 | ) | 
|---|
| 867 | Environment: | 
|---|
| 868 |  | 
|---|
| 869 | there are 1 alternatives before elimination | 
|---|
| 870 | there are 1 alternatives after elimination | 
|---|
| 871 | findSubExprs | 
|---|
| 872 | Cost ( 0, 0, 0 ): Variable Expression: 0: signed int | 
|---|
| 873 | (types: | 
|---|
| 874 | lvalue signed int | 
|---|
| 875 | ) | 
|---|
| 876 | Environment: | 
|---|
| 877 |  | 
|---|
| 878 | working on alternative: | 
|---|
| 879 | Cost ( 0, 0, 0 ):         Variable Expression: ?!=?: function | 
|---|
| 880 | with parameters | 
|---|
| 881 | signed int | 
|---|
| 882 | signed int | 
|---|
| 883 | returning | 
|---|
| 884 | signed int | 
|---|
| 885 |  | 
|---|
| 886 | (types: | 
|---|
| 887 | pointer to function | 
|---|
| 888 | with parameters | 
|---|
| 889 | signed int | 
|---|
| 890 | signed int | 
|---|
| 891 | returning | 
|---|
| 892 | signed int | 
|---|
| 893 |  | 
|---|
| 894 | ) | 
|---|
| 895 | Environment: | 
|---|
| 896 | formal type is signed int | 
|---|
| 897 | actual type is lvalue signed int | 
|---|
| 898 | formal type is signed int | 
|---|
| 899 | actual type is lvalue signed int | 
|---|
| 900 | need assertions: | 
|---|
| 901 | ============= original indexer | 
|---|
| 902 | ===idTable=== | 
|---|
| 903 | ===typeTable=== | 
|---|
| 904 | ===structTable=== | 
|---|
| 905 | ===enumTable=== | 
|---|
| 906 | ===unionTable=== | 
|---|
| 907 | ===contextTable=== | 
|---|
| 908 | ============= new indexer | 
|---|
| 909 | ===idTable=== | 
|---|
| 910 | ===typeTable=== | 
|---|
| 911 | ===structTable=== | 
|---|
| 912 | ===enumTable=== | 
|---|
| 913 | ===unionTable=== | 
|---|
| 914 | ===contextTable=== | 
|---|
| 915 | formal type is signed int | 
|---|
| 916 | actual type is lvalue instance of struct __anonymous0 | 
|---|
| 917 | actual expression: | 
|---|
| 918 | Variable Expression: a: signed int | 
|---|
| 919 | --- results are | 
|---|
| 920 | lvalue signed int | 
|---|
| 921 |  | 
|---|
| 922 | converting lvalue signed int | 
|---|
| 923 | to signed int | 
|---|
| 924 | cost is( 0, 0, 0 ) | 
|---|
| 925 | actual expression: | 
|---|
| 926 | Variable Expression: 0: signed int | 
|---|
| 927 | --- results are | 
|---|
| 928 | lvalue signed int | 
|---|
| 929 |  | 
|---|
| 930 | converting lvalue signed int | 
|---|
| 931 | to signed int | 
|---|
| 932 | cost is( 0, 0, 0 ) | 
|---|
| 933 | Case +++++++++++++ | 
|---|
| 934 | formals are: | 
|---|
| 935 | signed int | 
|---|
| 936 | signed int | 
|---|
| 937 | actuals are: | 
|---|
| 938 | Variable Expression: a: signed int | 
|---|
| 939 |  | 
|---|
| 940 | Variable Expression: 0: signed int | 
|---|
| 941 |  | 
|---|
| 942 | bindings are: | 
|---|
| 943 | cost of conversion is:( 0, 0, 0 ) | 
|---|
| 944 | alternatives before prune: | 
|---|
| 945 | Cost ( 0, 0, 0 ): Application of | 
|---|
| 946 | Variable Expression: ?!=?: function | 
|---|
| 947 | with parameters | 
|---|
| 948 | signed int | 
|---|
| 949 | signed int | 
|---|
| 950 | returning | 
|---|
| 951 | signed int | 
|---|
| 952 |  | 
|---|
| 953 | to arguments | 
|---|
| 954 | Variable Expression: a: signed int | 
|---|
| 955 |  | 
|---|
| 956 | Variable Expression: 0: signed int | 
|---|
| 957 |  | 
|---|
| 958 | (types: | 
|---|
| 959 | signed int | 
|---|
| 960 | ) | 
|---|
| 961 | Environment: | 
|---|
| 962 |  | 
|---|
| 963 | there are 1 alternatives before elimination | 
|---|
| 964 | there are 1 alternatives after elimination | 
|---|
| 965 | alternatives before prune: | 
|---|
| 966 | Cost ( 0, 0, 0 ): Cast of: | 
|---|
| 967 | Application of | 
|---|
| 968 | Variable Expression: ?!=?: function | 
|---|
| 969 | with parameters | 
|---|
| 970 | signed int | 
|---|
| 971 | signed int | 
|---|
| 972 | returning | 
|---|
| 973 | signed int | 
|---|
| 974 |  | 
|---|
| 975 | to arguments | 
|---|
| 976 | Variable Expression: a: signed int | 
|---|
| 977 |  | 
|---|
| 978 | Variable Expression: 0: signed int | 
|---|
| 979 |  | 
|---|
| 980 |  | 
|---|
| 981 | to: | 
|---|
| 982 | signed int | 
|---|
| 983 | (types: | 
|---|
| 984 | signed int | 
|---|
| 985 | ) | 
|---|
| 986 | Environment: | 
|---|
| 987 |  | 
|---|
| 988 | there are 1 alternatives before elimination | 
|---|
| 989 | there are 1 alternatives after elimination | 
|---|
| 990 | nameExpr is b | 
|---|
| 991 | decl is b: pointer to signed int | 
|---|
| 992 | newExpr is Variable Expression: b: pointer to signed int | 
|---|
| 993 |  | 
|---|
| 994 | alternatives before prune: | 
|---|
| 995 | Cost ( 0, 0, 0 ): Variable Expression: b: pointer to signed int | 
|---|
| 996 | (types: | 
|---|
| 997 | lvalue pointer to signed int | 
|---|
| 998 | ) | 
|---|
| 999 | Environment: | 
|---|
| 1000 |  | 
|---|
| 1001 | there are 1 alternatives before elimination | 
|---|
| 1002 | there are 1 alternatives after elimination | 
|---|
| 1003 | alternatives before prune: | 
|---|
| 1004 | Cost ( 0, 0, 1 ): Cast of: | 
|---|
| 1005 | Variable Expression: b: pointer to signed int | 
|---|
| 1006 |  | 
|---|
| 1007 | to: | 
|---|
| 1008 | nothing | 
|---|
| 1009 | (types: | 
|---|
| 1010 | ) | 
|---|
| 1011 | Environment: | 
|---|
| 1012 |  | 
|---|
| 1013 | there are 1 alternatives before elimination | 
|---|
| 1014 | there are 1 alternatives after elimination | 
|---|
| 1015 | int ___operator_assign__Fi_Pii_(int *, int ); | 
|---|
| 1016 | int ___operator_notequal__Fi_ii_(int , int ); | 
|---|
| 1017 | int ___constant_zero__i; | 
|---|
| 1018 | void __f__F__(){ | 
|---|
| 1019 | int __a__i; | 
|---|
| 1020 | struct __anonymous0 | 
|---|
| 1021 | { | 
|---|
| 1022 | int __b__i; | 
|---|
| 1023 | }; | 
|---|
| 1024 | inline struct __anonymous0 ___operator_assign__F13s__anonymous0_P13s__anonymous013s__anonymous0_(struct __anonymous0 *___dst__P13s__anonymous0, struct __anonymous0 ___src__13s__anonymous0){ | 
|---|
| 1025 | ___operator_assign__Fi_Pii_((&(*___dst__P13s__anonymous0).__b__i), ___src__13s__anonymous0.__b__i); | 
|---|
| 1026 | return ___src__13s__anonymous0; | 
|---|
| 1027 | } | 
|---|
| 1028 | struct __anonymous0 __a__13s__anonymous0; | 
|---|
| 1029 | if (((int )___operator_notequal__Fi_ii_(__a__i, ___constant_zero__i))) { | 
|---|
| 1030 | while (((int )___operator_notequal__Fi_ii_(__a__i, ___constant_zero__i))) { | 
|---|
| 1031 | int *__b__Pi; | 
|---|
| 1032 | for (__b__Pi;((int )___operator_notequal__Fi_ii_(__a__i, ___constant_zero__i));__b__Pi) { | 
|---|
| 1033 | } | 
|---|
| 1034 |  | 
|---|
| 1035 | } | 
|---|
| 1036 |  | 
|---|
| 1037 | } | 
|---|
| 1038 |  | 
|---|
| 1039 | } | 
|---|