Commit a09571e
authored
[flang] represent ABSTRACT in fir.type_info (llvm#170109)
This patch keeps information about ABSTRACT derived types and DEFERRED
type bound procedures inside fir.type_info dispatch tables.
This is part of the effort to delay generation of runtime type info
global by keeping the type information in a more condense fashion inside
fir.type_info (which is also easier to use for any potential
optimizations).1 parent 9605666 commit a09571e
File tree
5 files changed
+72
-11
lines changed- flang
- include/flang/Optimizer/Dialect
- lib
- Lower
- Optimizer/Dialect
- test
- Fir
- Lower
5 files changed
+72
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3107 | 3107 | | |
3108 | 3108 | | |
3109 | 3109 | | |
3110 | | - | |
3111 | | - | |
3112 | | - | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
3113 | 3116 | | |
3114 | 3117 | | |
3115 | 3118 | | |
| |||
3118 | 3121 | | |
3119 | 3122 | | |
3120 | 3123 | | |
3121 | | - | |
| 3124 | + | |
| 3125 | + | |
3122 | 3126 | | |
3123 | 3127 | | |
3124 | 3128 | | |
| |||
3129 | 3133 | | |
3130 | 3134 | | |
3131 | 3135 | | |
| 3136 | + | |
3132 | 3137 | | |
3133 | 3138 | | |
3134 | 3139 | | |
| |||
3147 | 3152 | | |
3148 | 3153 | | |
3149 | 3154 | | |
3150 | | - | |
3151 | | - | |
| 3155 | + | |
| 3156 | + | |
| 3157 | + | |
3152 | 3158 | | |
3153 | 3159 | | |
3154 | 3160 | | |
| |||
3174 | 3180 | | |
3175 | 3181 | | |
3176 | 3182 | | |
3177 | | - | |
3178 | | - | |
| 3183 | + | |
| 3184 | + | |
3179 | 3185 | | |
3180 | 3186 | | |
3181 | 3187 | | |
3182 | 3188 | | |
| 3189 | + | |
| 3190 | + | |
| 3191 | + | |
| 3192 | + | |
3183 | 3193 | | |
| 3194 | + | |
3184 | 3195 | | |
| 3196 | + | |
| 3197 | + | |
| 3198 | + | |
3185 | 3199 | | |
3186 | 3200 | | |
3187 | 3201 | | |
3188 | | - | |
| 3202 | + | |
3189 | 3203 | | |
3190 | 3204 | | |
3191 | 3205 | | |
3192 | 3206 | | |
3193 | 3207 | | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
3194 | 3211 | | |
3195 | 3212 | | |
3196 | 3213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
311 | 315 | | |
312 | 316 | | |
313 | 317 | | |
| |||
331 | 335 | | |
332 | 336 | | |
333 | 337 | | |
334 | | - | |
| 338 | + | |
335 | 339 | | |
336 | 340 | | |
337 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
338 | 346 | | |
339 | 347 | | |
340 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3230 | 3230 | | |
3231 | 3231 | | |
3232 | 3232 | | |
| 3233 | + | |
| 3234 | + | |
| 3235 | + | |
| 3236 | + | |
| 3237 | + | |
| 3238 | + | |
3233 | 3239 | | |
3234 | 3240 | | |
3235 | 3241 | | |
3236 | 3242 | | |
3237 | 3243 | | |
| 3244 | + | |
| 3245 | + | |
3238 | 3246 | | |
3239 | 3247 | | |
3240 | 3248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
470 | 477 | | |
471 | 478 | | |
472 | 479 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments