Changeset c309af1 for src/ResolvExpr/CommonType.cpp
- Timestamp:
- Jan 11, 2025, 9:36:19 AM (4 months ago)
- Branches:
- master
- Children:
- 32a119e9
- Parents:
- c44f1f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/ResolvExpr/CommonType.cpp ¶
rc44f1f9 rc309af1 42 42 #define BT ast::BasicKind:: 43 43 static const ast::BasicKind commonTypes[BT NUMBER_OF_BASIC_TYPES][BT NUMBER_OF_BASIC_TYPES] = { // nearest common ancestor 44 /* B C SC UC SI SUI45 I UI LI LUI LLI LLUI46 IB UIB _FH _FH_F _FC47 F FC _FX _FXC 48 D DC F80X _FDXC F80 _FB49 _FLDC FB LD LDC _FBX _FLDXC44 /* B C SC UC SI USI 45 I UI LI ULI LLI ULLI 46 __ID __UID _FH _FHC _F _FC 47 F FC _FX _FXC _FD _FDC 48 D DC _FDX _FDXC _F80 _FLD 49 _FLDC __FLD LD LDC _FLDX _FLDXC 50 50 */ 51 51 { … … 90 90 }, 91 91 { 92 /* SUI */ BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt,92 /* USI */ BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, 93 93 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 94 94 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, … … 122 122 }, 123 123 { 124 /* LUI */ BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt,124 /* ULI */ BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, 125 125 BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 126 126 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, … … 138 138 }, 139 139 { 140 /* LLUI */ BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt,140 /* ULLI */ BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, 141 141 BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, 142 142 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, … … 146 146 }, 147 147 { 148 /* IB*/ BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128,148 /* __ID */ BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, 149 149 BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, 150 150 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, … … 154 154 }, 155 155 { 156 /* UIB*/ BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128,156 /* __UID */ BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, 157 157 BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, 158 158 BT UnsignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, … … 170 170 }, 171 171 { 172 /* _FH*/ BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex,172 /* _FHC */ BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex, 173 173 BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex, 174 174 BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float32Complex, BT Float32Complex, … … 226 226 }, 227 227 { 228 /* 228 /* _FD */ BT Float64, BT Float64, BT Float64, BT Float64, BT Float64, BT Float64, 229 229 BT Float64, BT Float64, BT Float64, BT Float64, BT Float64, BT Float64, 230 230 BT Float64, BT Float64, BT Float64, BT Float64Complex, BT Float64, BT Float64Complex, … … 258 258 }, 259 259 { 260 /* F80X */ BT Float64x, BT Float64x, BT Float64x, BT Float64x, BT Float64x, BT Float64x,260 /* _FDX */ BT Float64x, BT Float64x, BT Float64x, BT Float64x, BT Float64x, BT Float64x, 261 261 BT Float64x, BT Float64x, BT Float64x, BT Float64x, BT Float64x, BT Float64x, 262 262 BT Float64x, BT Float64x, BT Float64x, BT Float64xComplex, BT Float64x, BT Float64xComplex, … … 274 274 }, 275 275 { 276 /* 276 /* _F80 */ BT Float80, BT Float80, BT Float80, BT Float80, BT Float80, BT Float80, 277 277 BT Float80, BT Float80, BT Float80, BT Float80, BT Float80, BT Float80, 278 278 BT Float80, BT Float80, BT Float80, BT Float64xComplex, BT Float80, BT Float64xComplex, … … 282 282 }, 283 283 { 284 /* _FB*/ BT Float128, BT Float128, BT Float128, BT Float128, BT Float128, BT Float128,284 /* _FLD */ BT Float128, BT Float128, BT Float128, BT Float128, BT Float128, BT Float128, 285 285 BT Float128, BT Float128, BT Float128, BT Float128, BT Float128, BT Float128, 286 286 BT Float128, BT Float128, BT Float128, BT Float128Complex, BT Float128, BT Float128Complex, … … 298 298 }, 299 299 { 300 /* FB*/ BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128,300 /* __FLD */ BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, 301 301 BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, 302 302 BT uuFloat128, BT uuFloat128, BT uuFloat128, BT Float128Complex, BT uuFloat128, BT Float128Complex, … … 322 322 }, 323 323 { 324 /* _FBX */ BT Float128x, BT Float128x, BT Float128x, BT Float128x, BT Float128x, BT Float128x,324 /* _FLDX */ BT Float128x, BT Float128x, BT Float128x, BT Float128x, BT Float128x, BT Float128x, 325 325 BT Float128x, BT Float128x, BT Float128x, BT Float128x, BT Float128x, BT Float128x, 326 326 BT Float128x, BT Float128x, BT Float128x, BT Float128xComplex, BT Float128x, BT Float128xComplex,
Note: See TracChangeset
for help on using the changeset viewer.